How to directly obtain site fraction of sublattice #379
-
What I need is site fraction at various temperatures and compositions, I want site fraction to be output. How to do. Please |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
For an equilibrium calculation, Details in the documentation: https://pycalphad.org/docs/latest/examples/UsingCalculationResults.html#equilibrium-results |
Beta Was this translation helpful? Give feedback.
-
There's now also an example notebook in our cookbook that gives an example for extracting site fractions vs. temperature to see an order/disorder transformation: https://github.com/pycalphad/cookbook/blob/master/OrderingSiteFractions/OrderingSiteFractions.ipynb |
Beta Was this translation helpful? Give feedback.
For an equilibrium calculation,
eq = equilibrium(...)
, the objecteq.Y
contains the equilibrium values of the site fractions. The site fractions will be in sublattice order, and then in alphabetical order (by component) within each sublattice.Details in the documentation: https://pycalphad.org/docs/latest/examples/UsingCalculationResults.html#equilibrium-results