![]() |
OGS
|
A class for viscosity model that is defined by The International Association for the Properties of Water and Steam IAPWS
With the definition, the viscosity is a function of temperature and water density
T (\mbox{in K}) \in (645.91, 650.77)
and\rho (\mbox{in kg m}^{-3}) \in (245.8, 405.3)
, is not considered.Definition at line 42 of file WaterViscosityIAPWS.h.
#include <WaterViscosityIAPWS.h>
Public Member Functions | |
WaterViscosityIAPWS ()=default | |
std::string | getName () const override |
Get 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 double | _ref_T = 647.096 |
reference temperature in K More... | |
const double | _ref_rho = 322.0 |
reference density in kg/m^3 More... | |
const double | _ref_mu = 1.0e-6 |
reference viscosity in Pa.s More... | |
Additional Inherited Members | |
![]() | |
using | ArrayType = std::array< double, PropertyVariableNumber > |
|
default |
|
overridevirtual |
Get the partial differential of the density with respect to temperature or liquid pressure.
var_vals | Variable values of temperature and water density in an array. The order of its elements is given in enum class PropertyVariableType. |
var_type | Variable type. |
Implements MaterialLib::Fluid::FluidProperty.
Definition at line 59 of file WaterViscosityIAPWS.cpp.
References _ref_mu, _ref_rho, _ref_T, MaterialLib::Fluid::computedBarMu_dbarRho(), MaterialLib::Fluid::computedBarMu_dbarT(), MaterialLib::Fluid::rho, and MaterialLib::Fluid::T.
|
inlineoverridevirtual |
Get model name.
Implements MaterialLib::Fluid::FluidProperty.
Definition at line 48 of file WaterViscosityIAPWS.h.
|
overridevirtual |
Get density value.
var_vals | Variable values of temperature and water density in an array. The order of its elements is given in enum class PropertyVariableType. |
Implements MaterialLib::Fluid::FluidProperty.
Definition at line 42 of file WaterViscosityIAPWS.cpp.
References _ref_mu, _ref_rho, _ref_T, MaterialLib::Fluid::computeBarMu0Factor(), MaterialLib::Fluid::computeBarMu1Factor(), MaterialLib::Fluid::computeSeriesFactorRhoForMu1(), MaterialLib::Fluid::computeSeriesFactorTForMu1(), MaterialLib::Fluid::rho, and MaterialLib::Fluid::T.
|
private |
reference viscosity in Pa.s
Definition at line 80 of file WaterViscosityIAPWS.h.
Referenced by getdValue(), and getValue().
|
private |
reference density in kg/m^3
Definition at line 79 of file WaterViscosityIAPWS.h.
Referenced by getdValue(), and getValue().
|
private |
reference temperature in K
Definition at line 78 of file WaterViscosityIAPWS.h.
Referenced by getdValue(), and getValue().