PhaseIdentification.hpp
auto identifyPhaseUsingIsothermalCompressibility(const ThermoScalar &temperature, const ThermoScalar &pressure, const ChemicalScalar &Z) -> PhaseType
Return a PhaseType that says if the phase is a Liquid or Gas based on Isothermal Compressibility.
Definition: PhaseIdentification.cpp:41
PhaseType
A type to define the possible state of matter of a phase.
Definition: Phase.hpp:34
The namespace containing all components of the Reaktoro library.
Definition: ChemicalScalar.hpp:24
auto identifyPhaseUsingVolume(const ThermoScalar &temperature, const ThermoScalar &pressure, const ChemicalScalar &Z, const ChemicalScalar &b) -> PhaseType
Return a PhaseType that says if the phase is a Liquid or Gas based on Volume Method.
Definition: PhaseIdentification.cpp:31
PhaseIdentificationMethod
Defines the enumeration of available phase identification methods.
Definition: PhaseIdentification.hpp:30
ChemicalScalarBase< double, RowVector > ChemicalScalar
A type that represents a chemical property and its derivatives.
Definition: ChemicalScalar.hpp:35
ThermoScalarBase< double > ThermoScalar
A type that defines a scalar thermo property.
Definition: ScalarTypes.hpp:40
auto identifyPhaseUsingGibbsEnergyAndEos(const ThermoScalar &pressure, const ThermoScalar &temperature, const ChemicalScalar &amix, const ChemicalScalar &bmix, const ChemicalScalar &A, const ChemicalScalar &B, const ChemicalScalar &C, std::vector< ChemicalScalar > Zs, const double epsilon, const double sigma) -> PhaseType
Return a PhaseType that says if the phase is a Liquid or Gas based on gibbs residual energy and equat...
Definition: PhaseIdentification.cpp:148