MetalPhase.h Source File#
MetalPhase.h
Go to the documentation of this file.
Header file for class ThermoPhase, the base class for phases with thermodynamic properties,...
A map of string keys to values whose type can vary at runtime.
Definition AnyMap.h:427
bool hasKey(const string &key) const
Returns true if the map contains an item named key.
Definition AnyMap.cpp:1423
double convert(const string &key, const string &units) const
Convert the item stored by the given key to the units specified in units.
Definition AnyMap.cpp:1535
void setPressure(double pres) override
Set the internally stored pressure (Pa) at constant temperature and composition.
Definition MetalPhase.h:55
void getStandardChemPotentials(double *mu0) const override
Get the array of chemical potentials at unit activity for the species at their standard states at the...
Definition MetalPhase.h:80
double logStandardConc(size_t k=0) const override
Natural logarithm of the standard concentration of the kth species.
Definition MetalPhase.h:105
void getChemPotentials(double *mu) const override
Get the species chemical potentials. Units: J/kmol.
Definition MetalPhase.h:62
bool isCompressible() const override
Return whether phase represents a compressible substance.
Definition MetalPhase.h:32
void getEntropy_R(double *sr) const override
Get the array of nondimensional Entropy functions for the standard state species at the current T and...
Definition MetalPhase.h:74
void getParameters(AnyMap &phaseNode) const override
Store the parameters of a ThermoPhase object such that an identical one could be reconstructed using ...
Definition MetalPhase.h:115
string type() const override
String indicating the thermodynamic model implemented.
Definition MetalPhase.h:28
void initThermo() override
Initialize the ThermoPhase object after all species have been set up.
Definition MetalPhase.h:109
void getActivityConcentrations(double *c) const override
This method returns an array of generalized concentrations.
Definition MetalPhase.h:86
double cv_mole() const override
Molar heat capacity at constant volume. Units: J/kmol/K.
Definition MetalPhase.h:51
void getEnthalpy_RT(double *hrt) const override
Get the nondimensional Enthalpy functions for the species at their standard states at the current T a...
Definition MetalPhase.h:68
double intEnergy_mole() const override
Molar internal energy. Units: J/kmol.
Definition MetalPhase.h:39
double cp_mole() const override
Molar heat capacity at constant pressure. Units: J/kmol/K.
Definition MetalPhase.h:48
Units standardConcentrationUnits() const override
Returns the units of the "standard concentration" for this phase.
Definition MetalPhase.h:97
double standardConcentration(size_t k=0) const override
Return the standard concentration for the kth species.
Definition MetalPhase.h:101
void getPartialMolarEnthalpies(double *h) const override
Returns an array of partial molar enthalpies for the species in the mixture.
Definition MetalPhase.h:91
void assignDensity(const double density_)
Set the internally stored constant density (kg/m^3) of the phase.
Definition Phase.cpp:597
Base class for a phase with thermodynamic properties.
Definition ThermoPhase.h:390
virtual void getParameters(AnyMap &phaseNode) const
Store the parameters of a ThermoPhase object such that an identical one could be reconstructed using ...
Definition ThermoPhase.cpp:1099
A representation of the units associated with a dimensional quantity.
Definition Units.h:35
Generated by 1.9.7