OGS
|
A temperature dependent viscosity model. ddbst
Definition at line 32 of file VogelsLiquidDynamicViscosity.h.
#include <VogelsLiquidDynamicViscosity.h>
Public Member Functions | |
VogelsLiquidDynamicViscosity (VogelsConstants constants) | |
Viscosity defined by \(10^3 \, e^{A+\frac{B}{C+T}}\). | |
std::string | getName () const override |
Get model name. | |
double | getValue (const ArrayType &var_vals) const override |
double | getdValue (const ArrayType &var_vals, const PropertyVariableType var) const override |
Public Member Functions inherited from MaterialLib::Fluid::FluidProperty | |
virtual | ~FluidProperty ()=default |
Private Attributes | |
const VogelsConstants | _constants |
Additional Inherited Members | |
Public Types inherited from MaterialLib::Fluid::FluidProperty | |
using | ArrayType = std::array<double, PropertyVariableNumber> |
|
inlineexplicit |
Viscosity defined by \(10^3 \, e^{A+\frac{B}{C+T}}\).
constants | Constants of the fluid. |
Definition at line 40 of file VogelsLiquidDynamicViscosity.h.
|
inlineoverridevirtual |
Get the partial differential of the viscosity with respect to temperature.
var_vals | Variable values in an array. The order of its elements is given in enum class PropertyVariableType. |
var | Variable type. |
Implements MaterialLib::Fluid::FluidProperty.
Definition at line 69 of file VogelsLiquidDynamicViscosity.h.
References MaterialLib::Fluid::VogelsLiquidDynamicViscosity< VogelsConstants >::_constants, and MaterialLib::Fluid::T.
|
inlineoverridevirtual |
Get model name.
Implements MaterialLib::Fluid::FluidProperty.
Definition at line 46 of file VogelsLiquidDynamicViscosity.h.
|
inlineoverridevirtual |
Get viscosity value (in SI unit: Pa * s).
var_vals | Variable values in an array. The order of its elements is given in enum class PropertyVariableType. |
Implements MaterialLib::Fluid::FluidProperty.
Definition at line 55 of file VogelsLiquidDynamicViscosity.h.
References MaterialLib::Fluid::VogelsLiquidDynamicViscosity< VogelsConstants >::_constants, and MaterialLib::Fluid::T.
|
private |
Definition at line 81 of file VogelsLiquidDynamicViscosity.h.
Referenced by MaterialLib::Fluid::VogelsLiquidDynamicViscosity< VogelsConstants >::getdValue(), and MaterialLib::Fluid::VogelsLiquidDynamicViscosity< VogelsConstants >::getValue().