IdealSolutionVolumetricDrivingForce¶
Source: models/kwn/IdealSolutionVolumetricDrivingForce.py
Ideal-solution volumetric Gibbs free energy of precipitation.
Computes the molar Gibbs free energy of precipitation under the ideal-solution approximation,
where the sum runs over the species participating in the precipitate and \(w_k\) are user-supplied stoichiometric weights (default 1, matching the Hu–Cocks “product of all components” convention for compound precipitates).
Inputs¶
temperature—input·Scalar· requiredTemperature
current_concentrations—input·Scalar· requiredCurrent matrix concentrations for each species participating in the precipitate
Outputs¶
driving_force—output·Scalar· requiredMolar Gibbs free energy of precipitation
Parameters¶
gas_constant—parameter·Scalar· requiredUniversal gas constant
equilibrium_concentrations—parameter·Scalar· requiredEquilibrium matrix concentrations for each species. May be supplied as constants or as outputs of upstream models (e.g. temperature-dependent interpolations).
weights—parameter·Scalar· default1Stoichiometric weights for each species. If a single entry is supplied, the same weight is used for every species. Default is unit weights for every species, matching the Hu–Cocks compound-precipitate convention.