Water (H2O) fluid properties as a function of pressure (Pa) and temperature (K) from IAPWS-IF97: Revised Release on the IAPWS Industrial Formulation 1997 for the Thermodynamic Properties of Water and Steam. More...
#include <Water97FluidProperties.h>
Public Member Functions | |
Water97FluidProperties (const InputParameters ¶meters) | |
virtual | ~Water97FluidProperties () |
virtual std::string | fluidName () const override |
virtual Real | molarMass () const override |
Fluid name. More... | |
virtual Real | criticalPressure () const override |
Critical pressure. More... | |
virtual Real | criticalTemperature () const override |
Critical temperature. More... | |
virtual Real | criticalDensity () const override |
Critical density. More... | |
virtual Real | triplePointPressure () const override |
Triple point pressure. More... | |
virtual Real | triplePointTemperature () const override |
Triple point temperature. More... | |
virtual Real | rho_from_p_T (Real pressure, Real temperature) const override |
virtual void | rho_from_p_T (Real pressure, Real temperature, Real &rho, Real &drho_dp, Real &drho_dT) const override |
virtual Real | e_from_p_T (Real pressure, Real temperature) const override |
virtual void | e_from_p_T (Real pressure, Real temperature, Real &e, Real &de_dp, Real &de_dT) const override |
virtual Real | c_from_p_T (Real pressure, Real temperature) const override |
virtual Real | cp_from_p_T (Real pressure, Real temperature) const override |
virtual Real | cv_from_p_T (Real pressure, Real temperature) const override |
virtual Real | mu_from_p_T (Real pressure, Real temperature) const override |
virtual void | mu_from_p_T (Real pressure, Real temperature, Real &mu, Real &dmu_dp, Real &dmu_dT) const override |
virtual Real | mu_from_rho_T (Real density, Real temperature) const override |
void | mu_from_rho_T (Real rho, Real temperature, Real drho_dT, Real &mu, Real &dmu_drho, Real &dmu_dT) const |
virtual void | rho_mu_from_p_T (Real pressure, Real temperature, Real &rho, Real &mu) const override |
Combined methods. More... | |
virtual void | rho_mu_from_p_T (Real pressure, Real temperature, Real &rho, Real &drho_dp, Real &drho_dT, Real &mu, Real &dmu_dp, Real &dmu_dT) const override |
virtual Real | k_from_p_T (Real pressure, Real temperature) const override |
virtual void | k_from_p_T (Real pressure, Real temperature, Real &k, Real &dk_dp, Real &dk_dT) const override |
virtual Real | k_from_rho_T (Real density, Real temperature) const override |
virtual Real | s_from_p_T (Real pressure, Real temperature) const override |
virtual void | s_from_p_T (Real p, Real T, Real &s, Real &ds_dp, Real &ds_dT) const override |
virtual Real | h_from_p_T (Real pressure, Real temperature) const override |
virtual void | h_from_p_T (Real pressure, Real temperature, Real &h, Real &dh_dp, Real &dh_dT) const override |
virtual Real | vaporPressure (Real temperature) const override |
Vapor pressure. More... | |
virtual void | vaporPressure (Real temperature, Real &psat, Real &dpsat_dT) const override |
Real | vaporTemperature (Real pressure) const override |
Saturation temperature as a function of pressure. More... | |
virtual void | vaporTemperature (Real pressure, Real &Tsat, Real &dTsat_dp) const override |
Real | b23p (Real temperature) const |
Auxillary equation for the boundary between regions 2 and 3. More... | |
Real | b23T (Real pressure) const |
Auxillary equation for the boundary between regions 2 and 3. More... | |
unsigned int | inRegion (Real pressure, Real temperature) const |
Determines the phase region that the given pressure and temperature values lie in. More... | |
unsigned int | subregion3 (Real pressure, Real temperature) const |
Provides the correct subregion index for a (P,T) point in region 3. More... | |
Real | subregionVolume (Real pi, Real theta, Real a, Real b, Real c, Real d, Real e, unsigned int sid) const |
Specific volume in all subregions of region 3 EXCEPT subregion n (13). More... | |
Real | densityRegion3 (Real pressure, Real temperature) const |
Density function for Region 3 - supercritical water and steam. More... | |
virtual Real | T_from_p_h (Real pressure, Real enthalpy) const override |
Backwards equation T(p, h) From Revised Release on the IAPWS Industrial Formulation 1997 for the Thermodynamic Properties of Water and Steam. More... | |
virtual void | T_from_p_h (Real p, Real h, Real &T, Real &dT_dp, Real &dT_dh) const override |
Real | b2bc (Real pressure) const |
Boundary between subregions b and c in region 2. More... | |
Real | b3ab (Real pressure) const |
Boundary between subregions a and b in region 3. More... | |
Real | henryConstant (Real temperature, const std::vector< Real > &coeffs) const |
IAPWS formulation of Henry's law constant for dissolution in water From Guidelines on the Henry's constant and vapour liquid distribution constant for gases in H20 and D20 at high temperatures, IAPWS (2004) More... | |
void | henryConstant (Real temperature, const std::vector< Real > &coeffs, Real &Kh, Real &dKh_dT) const |
DualReal | henryConstant (const DualReal &temperature, const std::vector< Real > &coeffs) const |
virtual Real | criticalInternalEnergy () const |
Critical specific internal energy. More... | |
virtual Real | e_spndl_from_v (Real v) const |
Specific internal energy from temperature and specific volume. More... | |
virtual void | v_e_spndl_from_T (Real T, Real &v, Real &e) const |
Specific internal energy from temperature and specific volume. More... | |
DualReal | vaporPressure (const DualReal &T) const |
DualReal | vaporTemperature (const DualReal &p) const |
virtual std::vector< Real > | henryCoefficients () const |
Henry's law coefficients for dissolution in water. More... | |
virtual void | rho_mu_from_p_T (const DualReal &p, const DualReal &T, DualReal &rho, DualReal &mu) const |
virtual void | rho_e_from_p_T (Real p, Real T, Real &rho, Real &drho_dp, Real &drho_dT, Real &e, Real &de_dp, Real &de_dT) const |
virtual void | execute () final |
virtual void | initialize () final |
virtual void | finalize () final |
virtual void | threadJoin (const UserObject &) final |
virtual void | subdomainSetup () final |
Static Public Attributes | |
static const Real | _R = 8.3144598 |
Universal gas constant (J/mol/K) More... | |
Protected Types | |
enum | subregionEnum { AB, CD, GH, IJ, JK, MN, OP, QU, RX, UV, WX, EF } |
Enum of subregion ids for region 3. More... | |
Protected Member Functions | |
Real | gamma1 (Real pi, Real tau) const |
Gibbs free energy in Region 1 - single phase liquid region. More... | |
Real | dgamma1_dpi (Real pi, Real tau) const |
Derivative of Gibbs free energy in Region 1 wrt pi. More... | |
Real | d2gamma1_dpi2 (Real pi, Real tau) const |
Second derivative of Gibbs free energy in Region 1 wrt pi. More... | |
Real | dgamma1_dtau (Real pi, Real tau) const |
Derivative of Gibbs free energy in Region 1 wrt tau. More... | |
Real | d2gamma1_dtau2 (Real pi, Real tau) const |
Second derivative of Gibbs free energy in Region 1 wrt tau. More... | |
Real | d2gamma1_dpitau (Real pi, Real tau) const |
Second derivative of Gibbs free energy in Region 1 wrt pi and tau. More... | |
Real | gamma2 (Real pi, Real tau) const |
Gibbs free energy in Region 2 - superheated steam. More... | |
Real | dgamma2_dpi (Real pi, Real tau) const |
Derivative of Gibbs free energy in Region 2 wrt pi. More... | |
Real | d2gamma2_dpi2 (Real pi, Real tau) const |
Second derivative of Gibbs free energy in Region 2 wrt pi. More... | |
Real | dgamma2_dtau (Real pi, Real tau) const |
Derivative of Gibbs free energy in Region 2 wrt tau. More... | |
Real | d2gamma2_dtau2 (Real pi, Real tau) const |
Second derivative of Gibbs free energy in Region 2 wrt tau. More... | |
Real | d2gamma2_dpitau (Real pi, Real tau) const |
Second derivative of Gibbs free energy in Region 2 wrt pi and tau. More... | |
Real | phi3 (Real delta, Real tau) const |
Helmholtz free energy in Region 3. More... | |
Real | dphi3_ddelta (Real delta, Real tau) const |
Derivative of Helmholtz free energy in Region 3 wrt delta. More... | |
Real | d2phi3_ddelta2 (Real delta, Real tau) const |
Second derivative of Helmholtz free energy in Region 3 wrt delta. More... | |
Real | dphi3_dtau (Real delta, Real tau) const |
Derivative of Helmholtz free energy in Region 3 wrt tau. More... | |
Real | d2phi3_dtau2 (Real delta, Real tau) const |
Second derivative of Helmholtz free energy in Region 3 wrt tau. More... | |
Real | d2phi3_ddeltatau (Real delta, Real tau) const |
Second derivative of Helmholtz free energy in Region 3 wrt delta and tau. More... | |
Real | gamma5 (Real pi, Real tau) const |
Gibbs free energy in Region 5. More... | |
Real | dgamma5_dpi (Real pi, Real tau) const |
Derivative of Gibbs free energy in Region 5 wrt pi. More... | |
Real | d2gamma5_dpi2 (Real pi, Real tau) const |
Second derivative of Gibbs free energy in Region 5 wrt pi. More... | |
Real | dgamma5_dtau (Real pi, Real tau) const |
Derivative of Gibbs free energy in Region 5 wrt tau. More... | |
Real | d2gamma5_dtau2 (Real pi, Real tau) const |
Second derivative of Gibbs free energy in Region 5 wrt tau. More... | |
Real | d2gamma5_dpitau (Real pi, Real tau) const |
Second derivative of Gibbs free energy in Region 5 wrt pi and tau. More... | |
Real | tempXY (Real pressure, subregionEnum xy) const |
Boundaries between subregions in region 3. More... | |
unsigned int | inRegionPH (Real pressure, Real enthalpy) const |
Determines the phase region that the given pressure and enthaply values lie in. More... | |
unsigned int | subregion2ph (Real pressure, Real enthalpy) const |
Provides the correct subregion index for a (P,h) point in region 2. More... | |
unsigned int | subregion3ph (Real pressure, Real enthalpy) const |
Provides the correct subregion index for a (P,h) point in region 3. More... | |
FPDualReal | T_from_p_h_ad (const FPDualReal &pressure, const FPDualReal &enthalpy) const |
AD version of backwards equation T(p, h) (used internally) From Revised Release on the IAPWS Industrial Formulation 1997 for the Thermodynamic Properties of Water and Steam. More... | |
FPDualReal | temperature_from_ph1 (const FPDualReal &pressure, const FPDualReal &enthalpy) const |
Backwards equation T(p, h) in Region 1 Eq. More... | |
FPDualReal | temperature_from_ph2a (const FPDualReal &pressure, const FPDualReal &enthalpy) const |
Backwards equation T(p, h) in Region 2a Eq. More... | |
FPDualReal | temperature_from_ph2b (const FPDualReal &pressure, const FPDualReal &enthalpy) const |
Backwards equation T(p, h) in Region 2b Eq. More... | |
FPDualReal | temperature_from_ph2c (const FPDualReal &pressure, const FPDualReal &enthalpy) const |
Backwards equation T(p, h) in Region 2c Eq. More... | |
FPDualReal | temperature_from_ph3a (const FPDualReal &pressure, const FPDualReal &enthalpy) const |
Backwards equation T(p, h) in Region 3a Eq. More... | |
FPDualReal | temperature_from_ph3b (const FPDualReal &pressure, const FPDualReal &enthalpy) const |
Backwards equation T(p, h) in Region 3b Eq. More... | |
FPDualReal | vaporTemperature_ad (const FPDualReal &pressure) const |
AD version of saturation temperature as a function of pressure (used internally) More... | |
Protected Attributes | |
const Real | _Mh2o |
Water molar mass (kg/mol) More... | |
const Real | _Rw |
Specific gas constant for H2O (universal gas constant / molar mass of water - J/kg/K) More... | |
const Real | _p_critical |
Critical pressure (Pa) More... | |
const Real | _T_critical |
Critical temperature (K) More... | |
const Real | _rho_critical |
Critical density (kg/m^3) More... | |
const Real | _p_triple |
Triple point pressure (Pa) More... | |
const Real | _T_triple |
Triple point temperature (K) More... | |
const std::array< Real, 34 > | _n1 |
Reference constants used in to calculate thermophysical properties of water. More... | |
const std::array< int, 34 > | _I1 |
const std::array< int, 34 > | _J1 |
const std::array< Real, 20 > | _nph1 |
const std::array< int, 20 > | _Iph1 {{0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 2, 2, 3, 3, 4, 5, 6}} |
const std::array< int, 20 > | _Jph1 |
const std::array< Real, 9 > | _n02 |
Constants for region 2. More... | |
const std::array< Real, 43 > | _n2 |
const std::array< int, 9 > | _J02 {{0, 1, -5, -4, -3, -2, -1, 2, 3}} |
const std::array< int, 43 > | _I2 |
const std::array< int, 43 > | _J2 |
const std::array< Real, 36 > | _nph2a |
const std::array< int, 36 > | _Iph2a |
const std::array< int, 36 > | _Jph2a |
const std::array< Real, 38 > | _nph2b |
const std::array< int, 38 > | _Iph2b |
const std::array< int, 38 > | _Jph2b |
const std::array< Real, 23 > | _nph2c |
const std::array< int, 23 > | _Iph2c |
const std::array< int, 23 > | _Jph2c |
const std::array< Real, 5 > | _n23 |
Constants for the boundary between regions 2 and 3. More... | |
const std::array< Real, 40 > | _n3 |
Constants for region 3. More... | |
const std::array< int, 40 > | _I3 |
const std::array< int, 40 > | _J3 |
const std::array< std::array< Real, 8 >, 26 > | _par3 |
const std::array< unsigned int, 26 > | _par3N |
const std::vector< std::vector< Real > > | _n3s |
Constants for all 26 subregions in region 3. More... | |
const std::vector< std::vector< int > > | _I3s |
const std::vector< std::vector< int > > | _J3s |
const std::array< Real, 31 > | _nph3a |
const std::array< int, 31 > | _Iph3a |
const std::array< int, 31 > | _Jph3a |
const std::array< Real, 33 > | _nph3b |
const std::array< int, 33 > | _Iph3b |
const std::array< int, 33 > | _Jph3b |
const std::array< Real, 10 > | _n4 |
Constants for region 4 (the saturation curve up to the critical point) More... | |
const std::array< int, 6 > | _J05 {{0, 1, -3, -2, -1, 2}} |
Constants for region 5. More... | |
const std::array< Real, 6 > | _n05 |
const std::array< int, 6 > | _I5 {{1, 1, 1, 2, 2, 3}} |
const std::array< int, 6 > | _J5 {{1, 2, 3, 3, 9, 7}} |
const std::array< Real, 6 > | _n5 |
const std::vector< std::vector< int > > | _tempXY_I |
Constnats for the tempXY() method. More... | |
const std::vector< std::vector< Real > > | _tempXY_n |
const std::array< int, 21 > | _mu_I {{0, 1, 2, 3, 0, 1, 2, 3, 5, 0, 1, 2, 3, 4, 0, 1, 0, 3, 4, 3, 5}} |
Constants from Release on the IAPWS Formulation 2008 for the Viscosity of Ordinary Water Substance. More... | |
const std::array< int, 21 > | _mu_J {{0, 0, 0, 0, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 3, 3, 4, 4, 5, 6, 6}} |
const std::array< Real, 4 > | _mu_H0 {{1.67752, 2.20462, 0.6366564, -0.241605}} |
const std::array< Real, 21 > | _mu_H1 |
std::array< Real, 4 > | _k_a {{0.0102811, 0.0299621, 0.0156146, -0.00422464}} |
Constants for thermal conductivity. More... | |
const std::array< Real, 5 > | _T_star {{1386.0, 540.0, _T_critical, 1.0, 1000.0}} |
Temperature scale for each region. More... | |
const std::array< Real, 5 > | _p_star {{16.53e6, 1.0e6, 1.0e6, 1.0e6, 1.0e6}} |
Pressure scale for each region. More... | |
const Real | _T_c2k |
Conversion of temperature from Celsius to Kelvin. More... | |
const bool | _allow_imperfect_jacobians |
Flag to set unimplemented Jacobian entries to zero. More... | |
Private Member Functions | |
template<typename... Args> | |
void | fluidPropError (Args... args) const |
e e e e p h T T T T T v v v s h | propfuncWithDefault (beta, p, T) propfuncWithDefault(v |
e e e e p h T T T T T v v v s h T | propfuncWithDefault (e, p, T) propfuncWithDefault(gamma |
propfunc (p, v, e) propfunc(T | |
Compute a fluid property given for the state defined by two given properties. More... | |
e | propfunc (c, v, e) propfunc(cp |
e e | propfunc (cv, v, e) propfunc(mu |
e e e | propfunc (k, v, e) propfunc(s |
e e e e | propfunc (s, h, p) propfunc(T |
e e e e p | propfunc (rho, p, s) propfunc(e |
e e e e p h | propfunc (s, p, T) propfunc(pp_sat |
e e e e p h T | propfunc (mu, rho, T) propfunc(k |
e e e e p h T T | propfunc (c, p, T) propfunc(cp |
e e e e p h T T T | propfunc (cv, p, T) propfunc(mu |
e e e e p h T T T T | propfunc (k, p, T) propfunc(rho |
e e e e p h T T T T T | propfunc (e, p, rho) propfunc(e |
e e e e p h T T T T T v | propfunc (p, T, v) propfunc(h |
e e e e p h T T T T T v v | propfunc (s, T, v) propfunc(cv |
e e e e p h T T T T T v v v | propfunc (h, p, T) propfunc(p |
e e e e p h T T T T T v v v s | propfunc (g, v, e) propfuncWithDefault(T |
v | |
e | v |
e e | v |
e e e | v |
e e e e p | v |
e e e e p h T T T T T v v v s h T | v |
e e e e | h |
e e e e p h T T T T T v v v | h |
e e e e p h | p |
e e e e p h T T | p |
e e e e p h T T T | p |
e e e e p h T T T T | p |
e e e e p h T T T T T v v v s | p |
e e e e p h T T T T T v v v s h | p |
e e e e p h T | rho |
e e e e p h T T T T T | T |
e e e e p h T T T T T v | T |
e e e e p h T T T T T v v | T |
e e e e p h T T T T T v v v s h T e | propfuncWithDefault (gamma, p, T) |
Water (H2O) fluid properties as a function of pressure (Pa) and temperature (K) from IAPWS-IF97: Revised Release on the IAPWS Industrial Formulation 1997 for the Thermodynamic Properties of Water and Steam.
To avoid iteration in Region 3, the backwards equations from: Revised Supplementary Release on Backward Equations for Specific Volume as a Function of Pressure and Temperature v(p,T) for Region 3 of the IAPWS Industrial Formulation 1997 for the Thermodynamic Properties of Water and Steam are implemented.
Water viscosity as a function of density (kg/m^3) and temperature (K) from: Release on the IAPWS Formulation 2008 for the Viscosity of Ordinary Water Substance.
Thermal conductivity as a function of density (kg/m^3) and temperature (K) from: Revised Release on the IAPS Formulation 1985 for the Thermal Conductivity of Ordinary Water Substance
Definition at line 42 of file Water97FluidProperties.h.
|
protected |
Water97FluidProperties::Water97FluidProperties | ( | const InputParameters & | parameters | ) |
Definition at line 25 of file Water97FluidProperties.C.
|
virtual |
Definition at line 37 of file Water97FluidProperties.C.
Real Water97FluidProperties::b23p | ( | Real | temperature | ) | const |
Auxillary equation for the boundary between regions 2 and 3.
Eq. (5) from Revised Release on the IAPWS Industrial Formulation 1997 for the Thermodynamic Properties of Water and Steam
temperature | water temperature (K) |
Definition at line 884 of file Water97FluidProperties.C.
Referenced by b3ab(), and inRegion().
Real Water97FluidProperties::b23T | ( | Real | pressure | ) | const |
Auxillary equation for the boundary between regions 2 and 3.
Eq. (6) from Revised Release on the IAPWS Industrial Formulation 1997 for the Thermodynamic Properties of Water and Steam
pressure | water pressure (Pa) |
Definition at line 898 of file Water97FluidProperties.C.
Referenced by inRegionPH().
Real Water97FluidProperties::b2bc | ( | Real | pressure | ) | const |
Boundary between subregions b and c in region 2.
Equation 21 from Revised Release on the IAPWS Industrial Formulation 1997 for the Thermodynamic Properties of Water and Steam.
pressure | water pressure (Pa) |
Definition at line 1663 of file Water97FluidProperties.C.
Referenced by subregion2ph().
Real Water97FluidProperties::b3ab | ( | Real | pressure | ) | const |
Boundary between subregions a and b in region 3.
Equation 1 from Revised Supplementary Release on Backward Equations for the Functions T(p,h), v(p,h) and T(p,s), v(p,s) for Region 3 of the IAPWS Industrial Formulation 1997 for the Thermodynamic Properties of Water and Steam
pressure | water pressure (Pa) |
Definition at line 1823 of file Water97FluidProperties.C.
Referenced by subregion3ph().
|
overridevirtual |
Definition at line 310 of file Water97FluidProperties.C.
|
overridevirtual |
Definition at line 368 of file Water97FluidProperties.C.
|
overridevirtual |
Critical density.
Reimplemented from SinglePhaseFluidProperties.
Definition at line 64 of file Water97FluidProperties.C.
|
virtualinherited |
Critical specific internal energy.
Reimplemented in IdealGasFluidProperties, and StiffenedGasFluidProperties.
Definition at line 126 of file SinglePhaseFluidProperties.C.
Referenced by IdealRealGasMixtureFluidProperties::p_T_from_v_e(), and IdealRealGasMixtureFluidProperties::T_from_p_v().
|
overridevirtual |
Critical pressure.
Reimplemented from SinglePhaseFluidProperties.
Definition at line 52 of file Water97FluidProperties.C.
|
overridevirtual |
Critical temperature.
Reimplemented from SinglePhaseFluidProperties.
Definition at line 58 of file Water97FluidProperties.C.
|
overridevirtual |
Definition at line 417 of file Water97FluidProperties.C.
|
protected |
Second derivative of Gibbs free energy in Region 1 wrt pi.
pi | reduced pressure (-) |
tau | reduced temperature (-) |
Definition at line 974 of file Water97FluidProperties.C.
Referenced by c_from_p_T(), cv_from_p_T(), e_from_p_T(), and rho_from_p_T().
|
protected |
Second derivative of Gibbs free energy in Region 1 wrt pi and tau.
pi | reduced pressure (-) |
tau | reduced temperature (-) |
Definition at line 1007 of file Water97FluidProperties.C.
Referenced by c_from_p_T(), cv_from_p_T(), e_from_p_T(), h_from_p_T(), and rho_from_p_T().
|
protected |
Second derivative of Gibbs free energy in Region 1 wrt tau.
pi | reduced pressure (-) |
tau | reduced temperature (-) |
Definition at line 996 of file Water97FluidProperties.C.
Referenced by c_from_p_T(), cp_from_p_T(), cv_from_p_T(), e_from_p_T(), and h_from_p_T().
|
protected |
Second derivative of Gibbs free energy in Region 2 wrt pi.
pi | reduced pressure (-) |
tau | reduced temperature (-) |
Definition at line 1050 of file Water97FluidProperties.C.
Referenced by c_from_p_T(), cv_from_p_T(), e_from_p_T(), and rho_from_p_T().
|
protected |
Second derivative of Gibbs free energy in Region 2 wrt pi and tau.
pi | reduced pressure (-) |
tau | reduced temperature (-) |
Definition at line 1098 of file Water97FluidProperties.C.
Referenced by c_from_p_T(), cv_from_p_T(), e_from_p_T(), h_from_p_T(), and rho_from_p_T().
|
protected |
Second derivative of Gibbs free energy in Region 2 wrt tau.
pi | reduced pressure (-) |
tau | reduced temperature (-) |
Definition at line 1081 of file Water97FluidProperties.C.
Referenced by c_from_p_T(), cp_from_p_T(), cv_from_p_T(), e_from_p_T(), and h_from_p_T().
|
protected |
Second derivative of Gibbs free energy in Region 5 wrt pi.
pi | reduced pressure (-) |
tau | reduced temperature (-) |
Definition at line 1208 of file Water97FluidProperties.C.
Referenced by c_from_p_T(), cv_from_p_T(), e_from_p_T(), and rho_from_p_T().
|
protected |
Second derivative of Gibbs free energy in Region 5 wrt pi and tau.
pi | reduced pressure (-) |
tau | reduced temperature (-) |
Definition at line 1256 of file Water97FluidProperties.C.
Referenced by c_from_p_T(), cv_from_p_T(), e_from_p_T(), h_from_p_T(), and rho_from_p_T().
|
protected |
Second derivative of Gibbs free energy in Region 5 wrt tau.
pi | reduced pressure (-) |
tau | reduced temperature (-) |
Definition at line 1239 of file Water97FluidProperties.C.
Referenced by c_from_p_T(), cp_from_p_T(), cv_from_p_T(), e_from_p_T(), and h_from_p_T().
|
protected |
Second derivative of Helmholtz free energy in Region 3 wrt delta.
delta | reduced density (-) |
tau | reduced temperature (-) |
Definition at line 1133 of file Water97FluidProperties.C.
Referenced by c_from_p_T(), cp_from_p_T(), e_from_p_T(), h_from_p_T(), and rho_from_p_T().
|
protected |
Second derivative of Helmholtz free energy in Region 3 wrt delta and tau.
delta | reduced density (-) |
tau | reduced temperature (-) |
Definition at line 1165 of file Water97FluidProperties.C.
Referenced by c_from_p_T(), cp_from_p_T(), e_from_p_T(), h_from_p_T(), and rho_from_p_T().
|
protected |
Second derivative of Helmholtz free energy in Region 3 wrt tau.
delta | reduced density (-) |
tau | reduced temperature (-) |
Definition at line 1154 of file Water97FluidProperties.C.
Referenced by c_from_p_T(), cp_from_p_T(), cv_from_p_T(), e_from_p_T(), and h_from_p_T().
Real Water97FluidProperties::densityRegion3 | ( | Real | pressure, |
Real | temperature | ||
) | const |
Density function for Region 3 - supercritical water and steam.
To avoid iteration, use the backwards equations for region 3 from Revised Supplementary Release on Backward Equations for Specific Volume as a Function of Pressure and Temperature v(p,T) for Region 3 of the IAPWS Industrial Formulation 1997 for the Thermodynamic Properties of Water and Steam.
pressure | water pressure (Pa) |
temperature | water temperature (K) |
Definition at line 1534 of file Water97FluidProperties.C.
Referenced by c_from_p_T(), cp_from_p_T(), cv_from_p_T(), e_from_p_T(), h_from_p_T(), rho_from_p_T(), and s_from_p_T().
|
protected |
Derivative of Gibbs free energy in Region 1 wrt pi.
pi | reduced pressure (-) |
tau | reduced temperature (-) |
Definition at line 963 of file Water97FluidProperties.C.
Referenced by c_from_p_T(), cv_from_p_T(), e_from_p_T(), and rho_from_p_T().
|
protected |
Derivative of Gibbs free energy in Region 1 wrt tau.
pi | reduced pressure (-) |
tau | reduced temperature (-) |
Definition at line 985 of file Water97FluidProperties.C.
Referenced by e_from_p_T(), h_from_p_T(), and s_from_p_T().
|
protected |
Derivative of Gibbs free energy in Region 2 wrt pi.
pi | reduced pressure (-) |
tau | reduced temperature (-) |
Definition at line 1036 of file Water97FluidProperties.C.
Referenced by c_from_p_T(), cv_from_p_T(), e_from_p_T(), and rho_from_p_T().
|
protected |
Derivative of Gibbs free energy in Region 2 wrt tau.
pi | reduced pressure (-) |
tau | reduced temperature (-) |
Definition at line 1065 of file Water97FluidProperties.C.
Referenced by e_from_p_T(), h_from_p_T(), and s_from_p_T().
|
protected |
Derivative of Gibbs free energy in Region 5 wrt pi.
pi | reduced pressure (-) |
tau | reduced temperature (-) |
Definition at line 1194 of file Water97FluidProperties.C.
Referenced by c_from_p_T(), cv_from_p_T(), e_from_p_T(), and rho_from_p_T().
|
protected |
Derivative of Gibbs free energy in Region 5 wrt tau.
pi | reduced pressure (-) |
tau | reduced temperature (-) |
Definition at line 1223 of file Water97FluidProperties.C.
Referenced by e_from_p_T(), h_from_p_T(), and s_from_p_T().
|
protected |
Derivative of Helmholtz free energy in Region 3 wrt delta.
delta | reduced density (-) |
tau | reduced temperature (-) |
Definition at line 1123 of file Water97FluidProperties.C.
Referenced by c_from_p_T(), cp_from_p_T(), e_from_p_T(), h_from_p_T(), and rho_from_p_T().
|
protected |
Derivative of Helmholtz free energy in Region 3 wrt tau.
delta | reduced density (-) |
tau | reduced temperature (-) |
Definition at line 1144 of file Water97FluidProperties.C.
Referenced by e_from_p_T(), h_from_p_T(), and s_from_p_T().
|
overridevirtual |
|
overridevirtual |
Definition at line 234 of file Water97FluidProperties.C.
|
virtualinherited |
Specific internal energy from temperature and specific volume.
[in] | T | temperature |
[in] | v | specific volume |
Reimplemented in IdealGasFluidProperties, and StiffenedGasFluidProperties.
Definition at line 286 of file SinglePhaseFluidProperties.C.
Referenced by IdealRealGasMixtureFluidProperties::p_T_from_v_e(), and IdealRealGasMixtureFluidProperties::T_from_p_v().
|
inlinefinalvirtualinherited |
Definition at line 34 of file FluidProperties.h.
|
inlinefinalvirtualinherited |
Definition at line 36 of file FluidProperties.h.
|
overridevirtual |
Definition at line 40 of file Water97FluidProperties.C.
|
inlineprivateinherited |
Definition at line 326 of file SinglePhaseFluidProperties.h.
Referenced by SinglePhaseFluidProperties::vaporPressure(), and SinglePhaseFluidProperties::vaporTemperature().
|
protected |
Gibbs free energy in Region 1 - single phase liquid region.
From Eq. (7) From Revised Release on the IAPWS Industrial Formulation 1997 for the Thermodynamic Properties of Water and Steam, IAPWS 2007.
pi | reduced pressure (-) |
tau | reduced temperature (-) |
Definition at line 953 of file Water97FluidProperties.C.
Referenced by s_from_p_T().
|
protected |
Gibbs free energy in Region 2 - superheated steam.
From Eq. (15) From Revised Release on the IAPWS Industrial Formulation 1997 for the Thermodynamic Properties of Water and Steam, IAPWS 2007.
pi | reduced pressure (-) |
tau | reduced temperature (-) |
Definition at line 1018 of file Water97FluidProperties.C.
Referenced by s_from_p_T().
|
protected |
Gibbs free energy in Region 5.
From Eq. (32) From Revised Release on the IAPWS Industrial Formulation 1997 for the Thermodynamic Properties of Water and Steam, IAPWS 2007.
pi | reduced pressure (-) |
tau | reduced temperature (-) |
Definition at line 1176 of file Water97FluidProperties.C.
Referenced by s_from_p_T().
|
overridevirtual |
|
overridevirtual |
Definition at line 726 of file Water97FluidProperties.C.
|
virtualinherited |
Henry's law coefficients for dissolution in water.
Reimplemented in CO2FluidProperties, TabulatedFluidProperties, HydrogenFluidProperties, NitrogenFluidProperties, and MethaneFluidProperties.
Definition at line 183 of file SinglePhaseFluidProperties.C.
Referenced by TabulatedFluidProperties::henryCoefficients().
DualReal Water97FluidProperties::henryConstant | ( | const DualReal & | temperature, |
const std::vector< Real > & | coeffs | ||
) | const |
Definition at line 1935 of file Water97FluidProperties.C.
Real Water97FluidProperties::henryConstant | ( | Real | temperature, |
const std::vector< Real > & | coeffs | ||
) | const |
IAPWS formulation of Henry's law constant for dissolution in water From Guidelines on the Henry's constant and vapour liquid distribution constant for gases in H20 and D20 at high temperatures, IAPWS (2004)
T | fluid temperature (K) | |
coeffs | Henry's constant coefficients of gas | |
[out] | Kh | Henry's constant |
[out] | dKh_dT | derivative of Kh wrt temperature |
Definition at line 1866 of file Water97FluidProperties.C.
Referenced by PorousFlowWaterNCG::enthalpyOfDissolution(), PorousFlowWaterNCG::equilibriumMassFractions(), BrineFluidProperties::henryConstant(), and henryConstant().
void Water97FluidProperties::henryConstant | ( | Real | temperature, |
const std::vector< Real > & | coeffs, | ||
Real & | Kh, | ||
Real & | dKh_dT | ||
) | const |
Definition at line 1891 of file Water97FluidProperties.C.
|
inlinefinalvirtualinherited |
Definition at line 35 of file FluidProperties.h.
unsigned int Water97FluidProperties::inRegion | ( | Real | pressure, |
Real | temperature | ||
) | const |
Determines the phase region that the given pressure and temperature values lie in.
pressure | water pressure (Pa) |
temperature | water temperature (K) |
Definition at line 910 of file Water97FluidProperties.C.
Referenced by c_from_p_T(), cp_from_p_T(), cv_from_p_T(), e_from_p_T(), h_from_p_T(), rho_from_p_T(), and s_from_p_T().
|
protected |
Determines the phase region that the given pressure and enthaply values lie in.
pressure | water pressure (Pa) |
enthalpy | water enthalpy (J/kg) |
Definition at line 1574 of file Water97FluidProperties.C.
Referenced by T_from_p_h_ad().
|
overridevirtual |
Definition at line 587 of file Water97FluidProperties.C.
|
overridevirtual |
Definition at line 594 of file Water97FluidProperties.C.
|
overridevirtual |
|
overridevirtual |
Fluid name.
Reimplemented from SinglePhaseFluidProperties.
Definition at line 46 of file Water97FluidProperties.C.
|
overridevirtual |
Definition at line 469 of file Water97FluidProperties.C.
|
overridevirtual |
Definition at line 476 of file Water97FluidProperties.C.
|
overridevirtual |
Definition at line 487 of file Water97FluidProperties.C.
Referenced by mu_from_p_T(), and rho_mu_from_p_T().
void Water97FluidProperties::mu_from_rho_T | ( | Real | rho, |
Real | temperature, | ||
Real | drho_dT, | ||
Real & | mu, | ||
Real & | dmu_drho, | ||
Real & | dmu_dT | ||
) | const |
Definition at line 513 of file Water97FluidProperties.C.
|
protected |
Helmholtz free energy in Region 3.
From Eq. (28) From Revised Release on the IAPWS Industrial Formulation 1997 for the Thermodynamic Properties of Water and Steam, IAPWS 2007.
delta | reduced density (-) |
tau | reduced temperature (-) |
Definition at line 1113 of file Water97FluidProperties.C.
Referenced by s_from_p_T().
|
inherited |
|
inherited |
|
inherited |
Compute a fluid property given for the state defined by two given properties.
For all functions, the first two arguments are the given properties that define the fluid state. For the two-argument variants, the desired property is the return value. The five-argument variants also provide partial derivatives dx/da and dx/db where x is the desired property being computed, a is the first given property, and b is the second given property. The desired property, dx/da, and dx/db are stored into the 3rd, 4th, and 5th arguments respectively.
Properties/parameters used in these function are listed below with their units:
@begincode p pressure [Pa] T temperature [K] e specific internal energy [J/kg] v specific volume [m^3/kg] rho density [kg/m^3] h specific enthalpy [J/kg] s specific entropy [J/(kg*K)] mu viscosity [Pa*s] k thermal conductivity [W/(m*K)] c speed of sound [m/s] cp constant-pressure specific heat [J/K] cv constant-volume specific heat [J/K] beta volumetric thermal expansion coefficient [1/K] g Gibbs free energy [J] pp_sat partial pressure at saturation [Pa] gamma Adiabatic ratio (cp/cv) [-]
As an example:
@begincode // calculate pressure given specific vol and energy: auto pressure = your_fluid_properties_object.p_from_v_e(specific_vol, specific_energy);
// or use the derivative variant: Real dp_dv = 0; // derivative will be stored into here Real dp_de = 0; // derivative will be stored into here your_fluid_properties_object.p_from_v_e(specific_vol, specific_energy, pressure, dp_dv, dp_de);
Automatic differentiation (AD) support is provided through x_from_a_b(DualReal a, DualReal b) and x_from_a_b(DualReal a, DualReal b, DualReal x, DualReal dx_da, DualReal dx_db) versions of the functions where a and b must be ADReal/DualNumber's calculated using all AD-supporting values:
@begincode auto v = 1/rho; // rho must be an AD non-linear variable. auto e = rhoE/rho - vel_energy; // rhoE and vel_energy must be AD variables/numbers also. auto pressure = your_fluid_properties_object.p_from_v_e(v, e); // pressure now contains partial derivatives w.r.t. all degrees of freedom
|
inherited |
|
inherited |
|
virtualinherited |
|
overridevirtual |
Definition at line 82 of file Water97FluidProperties.C.
Referenced by k_from_p_T(), mu_from_p_T(), rho_from_p_T(), and rho_mu_from_p_T().
|
overridevirtual |
Definition at line 120 of file Water97FluidProperties.C.
|
virtualinherited |
|
overridevirtual |
Reimplemented from SinglePhaseFluidProperties.
Definition at line 571 of file Water97FluidProperties.C.
|
overridevirtual |
Combined methods.
These methods are particularly useful for the PorousFlow module, where density and viscosity are typically both computed everywhere. The combined methods allow the most efficient means of calculating both properties, especially where rho(p, T) and mu(rho, T). In this case, an extra density calculation would be required to calculate mu(p, T). All propery names are described above.
Reimplemented from SinglePhaseFluidProperties.
Definition at line 561 of file Water97FluidProperties.C.
|
overridevirtual |
Definition at line 676 of file Water97FluidProperties.C.
|
overridevirtual |
Definition at line 635 of file Water97FluidProperties.C.
|
inlinefinalvirtualinherited |
Definition at line 39 of file FluidProperties.h.
|
protected |
Provides the correct subregion index for a (P,h) point in region 2.
From Revised Release on the IAPWS Industrial Formulation 1997 for the Thermodynamic Properties of Water and Steam
pressure | water pressure (Pa) |
enthalpy | water enthalpy (J/kg) |
Definition at line 1630 of file Water97FluidProperties.C.
Referenced by T_from_p_h_ad().
unsigned int Water97FluidProperties::subregion3 | ( | Real | pressure, |
Real | temperature | ||
) | const |
Provides the correct subregion index for a (P,T) point in region 3.
From Revised Supplementary Release on Backward Equations for Specific Volume as a Function of Pressure and Temperature v(p,T) for Region 3 of the IAPWS Industrial Formulation 1997 for the Thermodynamic Properties of Water and Steam
pressure | water pressure (Pa) |
temperature | water temperature (K) |
Definition at line 1271 of file Water97FluidProperties.C.
Referenced by densityRegion3().
|
protected |
Provides the correct subregion index for a (P,h) point in region 3.
From Revised Supplementary Release on Backward Equations for the Functions T(p,h), v(p,h) and T(p,s), v(p,s) for Region 3 of the IAPWS Industrial Formulation 1997 for the Thermodynamic Properties of Water and Steam
pressure | water pressure (Pa) |
enthalpy | water enthalpy (J/kg) |
Definition at line 1650 of file Water97FluidProperties.C.
Referenced by T_from_p_h_ad().
Real Water97FluidProperties::subregionVolume | ( | Real | pi, |
Real | theta, | ||
Real | a, | ||
Real | b, | ||
Real | c, | ||
Real | d, | ||
Real | e, | ||
unsigned int | sid | ||
) | const |
Specific volume in all subregions of region 3 EXCEPT subregion n (13).
pi | scaled water pressure |
theta | scaled water temperature |
a | to e constants |
sid | subregion ID of the subregion |
Definition at line 1521 of file Water97FluidProperties.C.
Referenced by densityRegion3().
|
overridevirtual |
Definition at line 1685 of file Water97FluidProperties.C.
|
overridevirtual |
Backwards equation T(p, h) From Revised Release on the IAPWS Industrial Formulation 1997 for the Thermodynamic Properties of Water and Steam.
pressure | water pressure (Pa) |
enthalpy | water enthalpy (J/kg) |
Definition at line 1676 of file Water97FluidProperties.C.
|
protected |
AD version of backwards equation T(p, h) (used internally) From Revised Release on the IAPWS Industrial Formulation 1997 for the Thermodynamic Properties of Water and Steam.
pressure | water pressure (Pa) |
enthalpy | water enthalpy (J/kg) |
Definition at line 1701 of file Water97FluidProperties.C.
Referenced by T_from_p_h().
|
protected |
Backwards equation T(p, h) in Region 1 Eq.
(11) from Revised Release on the IAPWS Industrial Formulation 1997 for the Thermodynamic Properties of Water and Steam
pressure | water pressure (Pa) |
enthalpy | water enthalpy (J/kg) |
Definition at line 1753 of file Water97FluidProperties.C.
Referenced by T_from_p_h_ad().
|
protected |
Backwards equation T(p, h) in Region 2a Eq.
(22) from Revised Release on the IAPWS Industrial Formulation 1997 for the Thermodynamic Properties of Water and Steam
pressure | water pressure (Pa) |
enthalpy | water enthalpy (J/kg) |
Definition at line 1767 of file Water97FluidProperties.C.
Referenced by T_from_p_h_ad().
|
protected |
Backwards equation T(p, h) in Region 2b Eq.
(23) from Revised Release on the IAPWS Industrial Formulation 1997 for the Thermodynamic Properties of Water and Steam
pressure | water pressure (Pa) |
enthalpy | water enthalpy (J/kg) |
Definition at line 1785 of file Water97FluidProperties.C.
Referenced by T_from_p_h_ad().
|
protected |
Backwards equation T(p, h) in Region 2c Eq.
(24) from Revised Release on the IAPWS Industrial Formulation 1997 for the Thermodynamic Properties of Water and Steam
pressure | water pressure (Pa) |
enthalpy | water enthalpy (J/kg) |
Definition at line 1805 of file Water97FluidProperties.C.
Referenced by T_from_p_h_ad().
|
protected |
Backwards equation T(p, h) in Region 3a Eq.
(2) from Revised Supplementary Release on Backward Equations for the Functions T(p,h), v(p,h) and T(p,s), v(p,s) for Region 3 of the IAPWS Industrial Formulation 1997 for the Thermodynamic Properties of Water and Steam
pressure | water pressure (Pa) |
enthalpy | water enthalpy (J/kg) |
Definition at line 1838 of file Water97FluidProperties.C.
Referenced by T_from_p_h_ad().
|
protected |
Backwards equation T(p, h) in Region 3b Eq.
(3) from Revised Supplementary Release on Backward Equations for the Functions T(p,h), v(p,h) and T(p,s), v(p,s) for Region 3 of the IAPWS Industrial Formulation 1997 for the Thermodynamic Properties of Water and Steam
pressure | water pressure (Pa) |
enthalpy | water enthalpy (J/kg) |
Definition at line 1852 of file Water97FluidProperties.C.
Referenced by T_from_p_h_ad().
|
protected |
Boundaries between subregions in region 3.
From Revised Supplementary Release on Backward Equations for Specific Volume as a Function of Pressure and Temperature v(p,T) for Region 3 of the IAPWS Industrial Formulation 1997 for the Thermodynamic Properties of Water and Steam
pressure | water pressure (Pa) |
xy | string to select the boundary between two subregions |
Definition at line 1460 of file Water97FluidProperties.C.
Referenced by subregion3().
|
inlinefinalvirtualinherited |
Definition at line 38 of file FluidProperties.h.
|
overridevirtual |
Triple point pressure.
Reimplemented from SinglePhaseFluidProperties.
Definition at line 70 of file Water97FluidProperties.C.
|
overridevirtual |
Triple point temperature.
Reimplemented from SinglePhaseFluidProperties.
Definition at line 76 of file Water97FluidProperties.C.
|
virtualinherited |
Specific internal energy from temperature and specific volume.
[in] | T | temperature |
[in] | v | specific volume |
Reimplemented in IdealGasFluidProperties, and StiffenedGasFluidProperties.
Definition at line 292 of file SinglePhaseFluidProperties.C.
Referenced by IdealRealGasMixtureFluidProperties::v_from_p_T().
|
inherited |
Definition at line 198 of file SinglePhaseFluidProperties.C.
|
overridevirtual |
Vapor pressure.
Used to delineate liquid and gas phases. Valid for temperatures between the triple point temperature and the critical temperature
T | fluid temperature (K) | |
[out] | saturation | pressure (Pa) |
[out] | derivative | of saturation pressure wrt temperature (Pa/K) |
Reimplemented from SinglePhaseFluidProperties.
Definition at line 786 of file Water97FluidProperties.C.
Referenced by inRegion(), inRegionPH(), and subregion3().
|
overridevirtual |
Reimplemented from SinglePhaseFluidProperties.
Definition at line 809 of file Water97FluidProperties.C.
|
inherited |
Definition at line 227 of file SinglePhaseFluidProperties.C.
|
overridevirtual |
Saturation temperature as a function of pressure.
Eq. (31) from Revised Release on the IAPWS Industrial Formulation 1997 for the Thermodynamic Properties of Water and Steam
Valid for 611.213 Pa <= p <= 22.064 MPa
pressure | water pressure (Pa) |
Reimplemented from SinglePhaseFluidProperties.
Definition at line 864 of file Water97FluidProperties.C.
Referenced by inRegionPH(), and subregion3().
|
overridevirtual |
Reimplemented from SinglePhaseFluidProperties.
Definition at line 872 of file Water97FluidProperties.C.
|
protected |
AD version of saturation temperature as a function of pressure (used internally)
Eq. (31) from Revised Release on the IAPWS Industrial Formulation 1997 for the Thermodynamic Properties of Water and Steam
Valid for 611.213 Pa <= p <= 22.064 MPa
pressure | water pressure (Pa) |
Definition at line 844 of file Water97FluidProperties.C.
Referenced by vaporTemperature().
|
protectedinherited |
Flag to set unimplemented Jacobian entries to zero.
Definition at line 48 of file FluidProperties.h.
Referenced by SinglePhaseFluidProperties::fluidPropError().
|
protected |
Definition at line 692 of file Water97FluidProperties.h.
Referenced by d2gamma1_dpi2(), d2gamma1_dpitau(), d2gamma1_dtau2(), dgamma1_dpi(), dgamma1_dtau(), and gamma1().
|
protected |
Definition at line 737 of file Water97FluidProperties.h.
Referenced by d2gamma2_dpi2(), d2gamma2_dpitau(), d2gamma2_dtau2(), dgamma2_dpi(), dgamma2_dtau(), and gamma2().
|
protected |
Definition at line 816 of file Water97FluidProperties.h.
Referenced by d2phi3_ddelta2(), d2phi3_ddeltatau(), d2phi3_dtau2(), dphi3_ddelta(), dphi3_dtau(), and phi3().
|
protected |
Definition at line 1102 of file Water97FluidProperties.h.
Referenced by densityRegion3(), and subregionVolume().
|
protected |
Definition at line 1261 of file Water97FluidProperties.h.
Referenced by d2gamma5_dpi2(), d2gamma5_dpitau(), d2gamma5_dtau2(), dgamma5_dpi(), dgamma5_dtau(), and gamma5().
|
protected |
Definition at line 706 of file Water97FluidProperties.h.
Referenced by temperature_from_ph1().
|
protected |
Definition at line 756 of file Water97FluidProperties.h.
Referenced by temperature_from_ph2a().
|
protected |
Definition at line 775 of file Water97FluidProperties.h.
Referenced by temperature_from_ph2b().
|
protected |
Definition at line 790 of file Water97FluidProperties.h.
Referenced by temperature_from_ph2c().
|
protected |
Definition at line 1215 of file Water97FluidProperties.h.
Referenced by temperature_from_ph3a().
|
protected |
Definition at line 1233 of file Water97FluidProperties.h.
Referenced by temperature_from_ph3b().
|
protected |
Definition at line 735 of file Water97FluidProperties.h.
Referenced by d2gamma2_dtau2(), dgamma2_dtau(), and gamma2().
|
protected |
Constants for region 5.
Definition at line 1253 of file Water97FluidProperties.h.
Referenced by d2gamma5_dtau2(), dgamma5_dtau(), and gamma5().
|
protected |
Definition at line 695 of file Water97FluidProperties.h.
Referenced by d2gamma1_dpi2(), d2gamma1_dpitau(), d2gamma1_dtau2(), dgamma1_dpi(), dgamma1_dtau(), and gamma1().
|
protected |
Definition at line 741 of file Water97FluidProperties.h.
Referenced by d2gamma2_dpi2(), d2gamma2_dpitau(), d2gamma2_dtau2(), dgamma2_dpi(), dgamma2_dtau(), and gamma2().
|
protected |
Definition at line 819 of file Water97FluidProperties.h.
Referenced by d2phi3_ddelta2(), d2phi3_ddeltatau(), d2phi3_dtau2(), dphi3_ddelta(), dphi3_dtau(), and phi3().
|
protected |
Definition at line 1154 of file Water97FluidProperties.h.
Referenced by densityRegion3(), and subregionVolume().
|
protected |
Definition at line 1262 of file Water97FluidProperties.h.
Referenced by d2gamma5_dpi2(), d2gamma5_dpitau(), d2gamma5_dtau2(), dgamma5_dpi(), dgamma5_dtau(), and gamma5().
|
protected |
Definition at line 708 of file Water97FluidProperties.h.
Referenced by temperature_from_ph1().
|
protected |
Definition at line 759 of file Water97FluidProperties.h.
Referenced by temperature_from_ph2a().
|
protected |
Definition at line 778 of file Water97FluidProperties.h.
Referenced by temperature_from_ph2b().
|
protected |
Definition at line 793 of file Water97FluidProperties.h.
Referenced by temperature_from_ph2c().
|
protected |
Definition at line 1219 of file Water97FluidProperties.h.
Referenced by temperature_from_ph3a().
|
protected |
Definition at line 1237 of file Water97FluidProperties.h.
Referenced by temperature_from_ph3b().
|
protected |
Constants for thermal conductivity.
Definition at line 1331 of file Water97FluidProperties.h.
Referenced by k_from_rho_T().
|
protected |
Water molar mass (kg/mol)
Definition at line 658 of file Water97FluidProperties.h.
Referenced by molarMass().
|
protected |
Definition at line 1324 of file Water97FluidProperties.h.
Referenced by mu_from_rho_T().
|
protected |
Definition at line 1325 of file Water97FluidProperties.h.
Referenced by mu_from_rho_T().
|
protected |
Constants from Release on the IAPWS Formulation 2008 for the Viscosity of Ordinary Water Substance.
Definition at line 1322 of file Water97FluidProperties.h.
Referenced by mu_from_rho_T().
|
protected |
Definition at line 1323 of file Water97FluidProperties.h.
Referenced by mu_from_rho_T().
|
protected |
Constants for region 2.
Definition at line 712 of file Water97FluidProperties.h.
Referenced by d2gamma2_dtau2(), dgamma2_dtau(), and gamma2().
|
protected |
Definition at line 1254 of file Water97FluidProperties.h.
Referenced by d2gamma5_dtau2(), dgamma5_dtau(), and gamma5().
|
protected |
Reference constants used in to calculate thermophysical properties of water.
Taken from Revised Release on the IAPWS Industrial Formulation 1997 for the Thermodynamic Properties of Water and Steam and from Revised Supplementary Release on Backward Equations for Specific Volume as a Function of Pressure and Temperature v(p,T) for Region 3 of the IAPWS Industrial Formulation 1997 for the Thermodynamic Properties of Water and Steam Constants for region 1
Definition at line 681 of file Water97FluidProperties.h.
Referenced by d2gamma1_dpi2(), d2gamma1_dpitau(), d2gamma1_dtau2(), dgamma1_dpi(), dgamma1_dtau(), and gamma1().
|
protected |
Definition at line 722 of file Water97FluidProperties.h.
Referenced by d2gamma2_dpi2(), d2gamma2_dpitau(), d2gamma2_dtau2(), dgamma2_dpi(), dgamma2_dtau(), and gamma2().
|
protected |
Constants for the boundary between regions 2 and 3.
Definition at line 797 of file Water97FluidProperties.h.
|
protected |
Constants for region 3.
Definition at line 804 of file Water97FluidProperties.h.
Referenced by d2phi3_ddelta2(), d2phi3_ddeltatau(), d2phi3_dtau2(), dphi3_ddelta(), dphi3_dtau(), and phi3().
|
protected |
Constants for all 26 subregions in region 3.
Definition at line 855 of file Water97FluidProperties.h.
Referenced by densityRegion3(), and subregionVolume().
|
protected |
Constants for region 4 (the saturation curve up to the critical point)
Definition at line 1241 of file Water97FluidProperties.h.
Referenced by vaporPressure(), and vaporTemperature_ad().
|
protected |
Definition at line 1263 of file Water97FluidProperties.h.
Referenced by d2gamma5_dpi2(), d2gamma5_dpitau(), d2gamma5_dtau2(), dgamma5_dpi(), dgamma5_dtau(), and gamma5().
|
protected |
Definition at line 699 of file Water97FluidProperties.h.
Referenced by temperature_from_ph1().
|
protected |
Definition at line 745 of file Water97FluidProperties.h.
Referenced by temperature_from_ph2a().
|
protected |
Definition at line 763 of file Water97FluidProperties.h.
Referenced by temperature_from_ph2b().
|
protected |
Definition at line 782 of file Water97FluidProperties.h.
Referenced by temperature_from_ph2c().
|
protected |
Definition at line 1205 of file Water97FluidProperties.h.
Referenced by temperature_from_ph3a().
|
protected |
Definition at line 1222 of file Water97FluidProperties.h.
Referenced by temperature_from_ph3b().
|
protected |
Critical pressure (Pa)
Definition at line 662 of file Water97FluidProperties.h.
Referenced by criticalPressure(), tempXY(), and vaporTemperature_ad().
|
protected |
Pressure scale for each region.
Definition at line 1336 of file Water97FluidProperties.h.
Referenced by c_from_p_T(), cp_from_p_T(), cv_from_p_T(), e_from_p_T(), h_from_p_T(), rho_from_p_T(), and s_from_p_T().
|
protected |
Triple point pressure (Pa)
Definition at line 668 of file Water97FluidProperties.h.
Referenced by triplePointPressure().
|
protected |
Definition at line 823 of file Water97FluidProperties.h.
Referenced by densityRegion3().
|
protected |
Definition at line 851 of file Water97FluidProperties.h.
Referenced by densityRegion3().
|
staticinherited |
Universal gas constant (J/mol/K)
Definition at line 42 of file FluidProperties.h.
Referenced by HelmholtzFluidProperties::c_from_p_T(), IdealGasFluidProperties::c_from_p_T(), HelmholtzFluidProperties::cp_from_p_T(), HelmholtzFluidProperties::cv_from_p_T(), HelmholtzFluidProperties::e_from_p_T(), HelmholtzFluidProperties::h_from_p_T(), HelmholtzFluidProperties::p_from_rho_T(), HelmholtzFluidProperties::rho_from_p_T(), IdealGasFluidProperties::rho_from_p_T(), and HelmholtzFluidProperties::s_from_p_T().
|
protected |
Critical density (kg/m^3)
Definition at line 666 of file Water97FluidProperties.h.
Referenced by c_from_p_T(), cp_from_p_T(), criticalDensity(), cv_from_p_T(), e_from_p_T(), h_from_p_T(), mu_from_rho_T(), rho_from_p_T(), and s_from_p_T().
|
protected |
Specific gas constant for H2O (universal gas constant / molar mass of water - J/kg/K)
Definition at line 660 of file Water97FluidProperties.h.
Referenced by c_from_p_T(), cp_from_p_T(), cv_from_p_T(), e_from_p_T(), h_from_p_T(), rho_from_p_T(), and s_from_p_T().
|
protectedinherited |
Conversion of temperature from Celsius to Kelvin.
Definition at line 46 of file FluidProperties.h.
Referenced by NaClFluidProperties::cp_from_p_T(), BrineFluidProperties::cp_from_p_T_X(), NaClFluidProperties::h_from_p_T(), BrineFluidProperties::h_from_p_T_X(), BrineFluidProperties::haliteSolubility(), NaClFluidProperties::k_from_p_T(), BrineFluidProperties::k_from_p_T_X(), BrineFluidProperties::mu_from_p_T_X(), CO2FluidProperties::partialDensity(), NaClFluidProperties::rho_from_p_T(), and BrineFluidProperties::rho_from_p_T_X().
|
protected |
Critical temperature (K)
Definition at line 664 of file Water97FluidProperties.h.
Referenced by criticalTemperature(), mu_from_rho_T(), tempXY(), and vaporPressure().
|
protected |
Temperature scale for each region.
Definition at line 1334 of file Water97FluidProperties.h.
Referenced by c_from_p_T(), cp_from_p_T(), cv_from_p_T(), e_from_p_T(), h_from_p_T(), rho_from_p_T(), and s_from_p_T().
|
protected |
Triple point temperature (K)
Definition at line 670 of file Water97FluidProperties.h.
Referenced by triplePointTemperature().
|
protected |
Constnats for the tempXY() method.
Definition at line 1271 of file Water97FluidProperties.h.
Referenced by tempXY().
|
protected |
Definition at line 1283 of file Water97FluidProperties.h.
Referenced by tempXY().
|
inherited |
Definition at line 163 of file SinglePhaseFluidProperties.h.
Referenced by NaClFluidProperties::e_from_p_T(), IdealGasFluidProperties::e_from_v_h(), StiffenedGasFluidProperties::e_from_v_h(), HelmholtzFluidProperties::h_from_p_T(), StiffenedGasFluidProperties::h_from_p_T(), NaClFluidProperties::h_from_p_T(), IdealGasFluidProperties::h_from_p_T(), SimpleFluidProperties::h_from_p_T(), h_from_p_T(), TabulatedFluidProperties::h_from_p_T(), FlibeFluidProperties::h_from_p_T(), FlinakFluidProperties::h_from_p_T(), HeliumFluidProperties::h_from_p_T(), StiffenedGasFluidProperties::h_from_T_v(), IdealGasFluidProperties::h_from_T_v(), StiffenedGasFluidProperties::p_from_h_s(), IdealGasFluidProperties::p_from_h_s(), StiffenedGasFluidProperties::s_from_h_p(), IdealGasFluidProperties::s_from_h_p(), IdealGasFluidProperties::T_from_p_h(), and T_from_p_h().
Definition at line 183 of file SinglePhaseFluidProperties.h.
|
inherited |
Definition at line 167 of file SinglePhaseFluidProperties.h.
Referenced by StiffenedGasFluidProperties::c_from_v_e(), HeliumFluidProperties::c_from_v_e(), IdealGasFluidProperties::cp_from_p_T(), IdealGasFluidProperties::cv_from_p_T(), StiffenedGasFluidProperties::e_from_p_rho(), IdealGasFluidProperties::e_from_p_rho(), StiffenedGasFluidProperties::e_from_p_T(), IdealGasFluidProperties::e_from_p_T(), StiffenedGasFluidProperties::g_from_v_e(), IdealGasFluidProperties::g_from_v_e(), TabulatedFluidProperties::generateTabulatedData(), StiffenedGasFluidProperties::h_from_p_T(), IdealGasFluidProperties::h_from_p_T(), henryConstant(), IdealGasFluidProperties::k_from_p_T(), StiffenedGasFluidProperties::p_from_h_s(), IdealGasFluidProperties::p_from_h_s(), StiffenedGasFluidProperties::p_from_T_v(), IdealGasFluidProperties::p_from_T_v(), IdealGasFluidProperties::p_from_v_e(), StiffenedGasFluidProperties::p_from_v_e(), HeliumFluidProperties::p_from_v_e(), FlinakFluidProperties::p_from_v_e(), FlibeFluidProperties::p_from_v_e(), SinglePhaseFluidProperties::rho_e_from_p_T(), StiffenedGasFluidProperties::rho_from_p_s(), IdealGasFluidProperties::rho_from_p_s(), StiffenedGasFluidProperties::rho_from_p_T(), IdealGasFluidProperties::rho_from_p_T(), SinglePhaseFluidProperties::rho_mu_from_p_T(), StiffenedGasFluidProperties::s_from_h_p(), IdealGasFluidProperties::s_from_h_p(), StiffenedGasFluidProperties::s_from_p_T(), IdealGasFluidProperties::s_from_p_T(), SimpleFluidProperties::s_from_p_T(), s_from_p_T(), TabulatedFluidProperties::s_from_p_T(), IdealGasFluidProperties::s_from_T_v(), StiffenedGasFluidProperties::s_from_v_e(), IdealGasFluidProperties::s_from_v_e(), T_from_p_h(), FlinakFluidProperties::T_from_v_e(), FlibeFluidProperties::T_from_v_e(), vaporPressure(), SinglePhaseFluidProperties::vaporPressure(), vaporTemperature(), SinglePhaseFluidProperties::vaporTemperature(), and TabulatedFluidProperties::writeTabulatedData().
Definition at line 171 of file SinglePhaseFluidProperties.h.
Definition at line 173 of file SinglePhaseFluidProperties.h.
Definition at line 175 of file SinglePhaseFluidProperties.h.
Definition at line 185 of file SinglePhaseFluidProperties.h.
Definition at line 187 of file SinglePhaseFluidProperties.h.
|
inherited |
Definition at line 190 of file SinglePhaseFluidProperties.h.
Definition at line 169 of file SinglePhaseFluidProperties.h.
Referenced by HeliumFluidProperties::beta_from_p_T(), FlinakFluidProperties::beta_from_p_T(), StiffenedGasFluidProperties::c2_from_p_rho(), HeliumFluidProperties::c_from_v_e(), StiffenedGasFluidProperties::e_from_p_rho(), IdealGasFluidProperties::e_from_p_rho(), NaClFluidProperties::e_from_p_T(), k_from_p_T(), CO2FluidProperties::mu_from_p_T(), NitrogenFluidProperties::mu_from_p_T(), HydrogenFluidProperties::mu_from_p_T(), mu_from_p_T(), SinglePhaseFluidProperties::rho_e_from_p_T(), StiffenedGasFluidProperties::rho_from_p_s(), IdealGasFluidProperties::rho_from_p_s(), HelmholtzFluidProperties::rho_from_p_T(), StiffenedGasFluidProperties::rho_from_p_T(), CO2FluidProperties::rho_from_p_T(), rho_from_p_T(), NaClFluidProperties::rho_from_p_T(), IdealGasFluidProperties::rho_from_p_T(), SimpleFluidProperties::rho_from_p_T(), TabulatedFluidProperties::rho_from_p_T(), FlinakFluidProperties::rho_from_p_T(), FlibeFluidProperties::rho_from_p_T(), HeliumFluidProperties::rho_from_p_T(), NitrogenFluidProperties::rho_mu_from_p_T(), HydrogenFluidProperties::rho_mu_from_p_T(), CO2FluidProperties::rho_mu_from_p_T(), rho_mu_from_p_T(), and SinglePhaseFluidProperties::rho_mu_from_p_T().
Definition at line 177 of file SinglePhaseFluidProperties.h.
Referenced by IdealGasFluidProperties::c_from_p_T(), IdealGasFluidProperties::c_from_v_e(), HeliumFluidProperties::c_from_v_e(), IdealGasFluidProperties::cp_from_p_T(), IdealGasFluidProperties::cv_from_p_T(), StiffenedGasFluidProperties::e_from_p_T(), IdealGasFluidProperties::e_from_p_T(), StiffenedGasFluidProperties::e_from_T_v(), IdealGasFluidProperties::e_from_T_v(), StiffenedGasFluidProperties::g_from_v_e(), IdealGasFluidProperties::g_from_v_e(), StiffenedGasFluidProperties::h_from_p_T(), IdealGasFluidProperties::h_from_p_T(), StiffenedGasFluidProperties::h_from_T_v(), IdealGasFluidProperties::h_from_T_v(), henryConstant(), IdealGasFluidProperties::k_from_p_T(), HeliumFluidProperties::k_from_v_e(), IdealGasFluidProperties::mu_from_p_T(), StiffenedGasFluidProperties::p_from_T_v(), IdealGasFluidProperties::p_from_T_v(), HeliumFluidProperties::p_from_v_e(), FlibeFluidProperties::p_from_v_e(), FlinakFluidProperties::p_from_v_e(), SinglePhaseFluidProperties::rho_e_from_p_T(), StiffenedGasFluidProperties::rho_from_p_s(), IdealGasFluidProperties::rho_from_p_s(), StiffenedGasFluidProperties::rho_from_p_T(), IdealGasFluidProperties::rho_from_p_T(), SinglePhaseFluidProperties::rho_mu_from_p_T(), StiffenedGasFluidProperties::s_from_p_T(), IdealGasFluidProperties::s_from_p_T(), SimpleFluidProperties::s_from_p_T(), s_from_p_T(), TabulatedFluidProperties::s_from_p_T(), StiffenedGasFluidProperties::s_from_T_v(), IdealGasFluidProperties::s_from_T_v(), StiffenedGasFluidProperties::s_from_v_e(), IdealGasFluidProperties::s_from_v_e(), IdealGasFluidProperties::T_from_p_h(), T_from_p_h(), StiffenedGasFluidProperties::T_from_v_e(), IdealGasFluidProperties::T_from_v_e(), FlibeFluidProperties::T_from_v_e(), FlinakFluidProperties::T_from_v_e(), HeliumFluidProperties::T_from_v_e(), SinglePhaseFluidProperties::vaporPressure(), vaporTemperature(), and SinglePhaseFluidProperties::vaporTemperature().
Definition at line 179 of file SinglePhaseFluidProperties.h.
Definition at line 181 of file SinglePhaseFluidProperties.h.
|
inherited |
Definition at line 155 of file SinglePhaseFluidProperties.h.
Referenced by StiffenedGasFluidProperties::c_from_v_e(), IdealGasFluidProperties::c_from_v_e(), HeliumFluidProperties::c_from_v_e(), StiffenedGasFluidProperties::cp_from_v_e(), IdealGasFluidProperties::cp_from_v_e(), FlibeFluidProperties::cp_from_v_e(), FlinakFluidProperties::cp_from_v_e(), HeliumFluidProperties::cp_from_v_e(), FlibeFluidProperties::cv_from_p_T(), FlinakFluidProperties::cv_from_p_T(), IdealGasFluidProperties::cv_from_v_e(), FlibeFluidProperties::cv_from_v_e(), FlinakFluidProperties::cv_from_v_e(), HeliumFluidProperties::cv_from_v_e(), FlibeFluidProperties::e_from_p_T(), FlinakFluidProperties::e_from_p_T(), StiffenedGasFluidProperties::e_from_T_v(), IdealGasFluidProperties::e_from_v_h(), StiffenedGasFluidProperties::e_from_v_h(), StiffenedGasFluidProperties::g_from_v_e(), IdealGasFluidProperties::g_from_v_e(), FlibeFluidProperties::k_from_v_e(), FlinakFluidProperties::k_from_v_e(), HeliumFluidProperties::k_from_v_e(), FlibeFluidProperties::mu_from_v_e(), FlinakFluidProperties::mu_from_v_e(), HeliumFluidProperties::mu_from_v_e(), StiffenedGasFluidProperties::p_from_T_v(), IdealGasFluidProperties::p_from_T_v(), IdealGasFluidProperties::p_from_v_e(), StiffenedGasFluidProperties::p_from_v_e(), HeliumFluidProperties::p_from_v_e(), FlibeFluidProperties::p_from_v_e(), FlinakFluidProperties::p_from_v_e(), StiffenedGasFluidProperties::s_from_T_v(), IdealGasFluidProperties::s_from_T_v(), StiffenedGasFluidProperties::s_from_v_e(), IdealGasFluidProperties::s_from_v_e(), StiffenedGasFluidProperties::T_from_v_e(), IdealGasFluidProperties::T_from_v_e(), FlinakFluidProperties::T_from_v_e(), FlibeFluidProperties::T_from_v_e(), HeliumFluidProperties::T_from_v_e(), StiffenedGasFluidProperties::v_e_spndl_from_T(), IdealGasFluidProperties::v_e_spndl_from_T(), FlibeFluidProperties::v_from_p_T(), and FlinakFluidProperties::v_from_p_T().
|
inherited |
Definition at line 157 of file SinglePhaseFluidProperties.h.
|
inherited |
Definition at line 159 of file SinglePhaseFluidProperties.h.
|
inherited |
Definition at line 161 of file SinglePhaseFluidProperties.h.
|
inherited |
Definition at line 165 of file SinglePhaseFluidProperties.h.
Definition at line 189 of file SinglePhaseFluidProperties.h.