Thermodynamic Phase
ThermodynamicPhase is the per-phase storage of thermodynamic data used by the grand-potential and CALPHAD-style coupling. It holds the element composition, the reference state, and the thermodynamic parameters (e.g. Gibbs-energy coefficients) that the SublatticeModel assembles into the phase's Gibbs free energy. For the overall theoretical framework and the driving-force derivation, see Thermodynamics.
Key Classes and Concepts
ThermodynamicPhase: data container for one thermodynamic phase. Used byGrandPotentialPhaseDensitysubclasses as the source of per-phase Gibbs-energy expressions.
Usage
Input
ThermodynamicPhase itself does not define a standalone @... block in the OpenPhase input. Its state is populated programmatically — from a parsed thermodynamic database, from a parabolic fit (see GrandPotentialPhaseDensity_Parabolic), or from the SublatticeModel when a full CALPHAD-style representation is used.
Output
No dedicated output file. The phase's thermodynamic state is accessed through the Grand Potential solver's diagnostics.
Example
#include "Thermodynamics/ThermodynamicPhase.h"
// Typically constructed and populated by a higher-level loader:
ThermodynamicPhase Phase_Austenite;
// ... load parameters ...Dependencies
- Thermodynamics — theory.
- SublatticeModel — full CALPHAD-style Gibbs energy.
- GrandPotential — primary consumer of the per-phase thermodynamic state.
- Composition — component list.