Microsegregation

A MATLAB class for modelling micro-segregation using the model reported by Won, Young-Mok et al (doi:10.1007/s11661-001-0152-4).

https://github.com/samjliu/Microsegregation

You are now following this Submission

This class is an implementation of a model reported in Young-Mok Won and Brian G.Thomas, Simple Model of Microsegregation during Solidification of Steels. Metallurgurgical and Materials Transactions A, 2001, 32A, pp 1757-1767. https://doi.org/10.1007/s11661-001-0152-4.

How to use this class:
1) Initialise an instance of an object i.e. ms = Microsegration([input arguments])
2) Check all the required parameters are availalbe including composition, m, n, kdelta, kgamma, Dsdelta_A1, Dsdelta_A2, Dsgamma_A1, Dsgamma_A2
3)Run the calculate method as follows:
[Tint, cl] = ms.calculate(fs,cr). It accepts solid fraction, fs, and cooling rate, cr, as input and output the local solid-liquid interface temperature, Tint, and composition in liquid, cl.
4) To plot the results: run plot method as: ms.plot(fs,cl,elements)

Cite As

Jun Liu (2026). Microsegregation (https://github.com/samjliu/Microsegregation), GitHub. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with R2016b and later releases

Platform Compatibility

  • Windows
  • macOS
  • Linux

Versions that use the GitHub default branch cannot be downloaded

Version Published Release Notes Action
1.0.2

Add an example code and result

1.0.1

Linked to github project

1.0.0

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.