![]() |
OGS
|
Water density model base on the IAPWS Industrial Formulation 1997 IF97-Rev
Definition at line 28 of file WaterDensityIAPWSIF97Region1.h.
#include <WaterDensityIAPWSIF97Region1.h>
Public Member Functions | |
WaterDensityIAPWSIF97Region1 () | |
std::string | getName () const override |
Get density model name. More... | |
double | getValue (const ArrayType &var_vals) const override |
double | getdValue (const ArrayType &var_vals, const PropertyVariableType var_type) const override |
![]() | |
virtual | ~FluidProperty ()=default |
Private Attributes | |
const DimensionLessGibbsFreeEnergyRegion1 | _gibbs_free_energy |
const double | _ref_T = 1386 |
reference temperature in K. More... | |
const double | _ref_p = 1.653e7 |
const double | _sR = 461.526 |
Specific water vapour gas constant in J/(kgK). More... | |
Additional Inherited Members | |
![]() | |
using | ArrayType = std::array< double, PropertyVariableNumber > |
|
inline |
Definition at line 31 of file WaterDensityIAPWSIF97Region1.h.
|
inlineoverridevirtual |
Get the partial differential of the density with respect to temperature or pressure.
var_vals | Variable values in an array of temperature and pressure. |
var_type | Variable type. |
Implements MaterialLib::Fluid::FluidProperty.
Definition at line 58 of file WaterDensityIAPWSIF97Region1.h.
References _gibbs_free_energy, _ref_p, _ref_T, _sR, MaterialLib::Fluid::DimensionLessGibbsFreeEnergyRegion1::get_dgamma_dpi(), MaterialLib::Fluid::DimensionLessGibbsFreeEnergyRegion1::get_dgamma_dpi_dpi(), MaterialLib::Fluid::DimensionLessGibbsFreeEnergyRegion1::get_dgamma_dtau_dpi(), MaterialLib::Fluid::p, and MaterialLib::Fluid::T.
|
inlineoverridevirtual |
Get density model name.
Implements MaterialLib::Fluid::FluidProperty.
Definition at line 35 of file WaterDensityIAPWSIF97Region1.h.
|
inlineoverridevirtual |
Get density value.
var_vals | Variable values in an array of temperature and pressure. |
Implements MaterialLib::Fluid::FluidProperty.
Definition at line 42 of file WaterDensityIAPWSIF97Region1.h.
References _gibbs_free_energy, _ref_p, _ref_T, _sR, MaterialLib::Fluid::DimensionLessGibbsFreeEnergyRegion1::get_dgamma_dpi(), MaterialLib::Fluid::p, and MaterialLib::Fluid::T.
|
private |
Definition at line 85 of file WaterDensityIAPWSIF97Region1.h.
Referenced by getdValue(), and getValue().
|
private |
reference pressure in Pa.
Definition at line 88 of file WaterDensityIAPWSIF97Region1.h.
Referenced by getdValue(), and getValue().
|
private |
reference temperature in K.
Definition at line 87 of file WaterDensityIAPWSIF97Region1.h.
Referenced by getdValue(), and getValue().
|
private |
Specific water vapour gas constant in J/(kgK).
Definition at line 90 of file WaterDensityIAPWSIF97Region1.h.
Referenced by getdValue(), and getValue().