OGS
|
Base class of fluid properties.
Definition at line 25 of file FluidProperty.h.
#include <FluidProperty.h>
Public Types | |
using | ArrayType = std::array<double, PropertyVariableNumber> |
Public Member Functions | |
virtual | ~FluidProperty ()=default |
virtual std::string | getName () const =0 |
Get model name. | |
virtual double | getValue (const ArrayType &) const =0 |
virtual double | getdValue (const ArrayType &, const PropertyVariableType) const =0 |
using MaterialLib::Fluid::FluidProperty::ArrayType = std::array<double, PropertyVariableNumber> |
Definition at line 28 of file FluidProperty.h.
|
virtualdefault |
|
pure virtual |
Get the partial differential of the property value The first argument is an array of variables, and the order of the array elements is given in enum class PropertyVariableType. The second argument is the variable type indicating which partial derivative to be calculated.
Implemented in MaterialLib::Fluid::ConstantFluidProperty, MaterialLib::Fluid::IdealGasLaw, MaterialLib::Fluid::LinearConcentrationAndPressureDependentDensity, MaterialLib::Fluid::LinearConcentrationDependentDensity, MaterialLib::Fluid::LinearPressureDependentViscosity, MaterialLib::Fluid::LinearTemperatureDependentDensity, MaterialLib::Fluid::LiquidDensity, MaterialLib::Fluid::TemperatureDependentViscosity, and MaterialLib::Fluid::VogelsLiquidDynamicViscosity< VogelsConstants >.
|
pure virtual |
Get model name.
Implemented in MaterialLib::Fluid::ConstantFluidProperty, MaterialLib::Fluid::IdealGasLaw, MaterialLib::Fluid::LinearConcentrationAndPressureDependentDensity, MaterialLib::Fluid::LinearConcentrationDependentDensity, MaterialLib::Fluid::LinearPressureDependentViscosity, MaterialLib::Fluid::LinearTemperatureDependentDensity, MaterialLib::Fluid::LiquidDensity, MaterialLib::Fluid::TemperatureDependentViscosity, and MaterialLib::Fluid::VogelsLiquidDynamicViscosity< VogelsConstants >.
|
pure virtual |
Get property value. The argument is an array of variables. The order of its elements is given in enum class PropertyVariableType.
Implemented in MaterialLib::Fluid::ConstantFluidProperty, MaterialLib::Fluid::IdealGasLaw, MaterialLib::Fluid::LinearConcentrationAndPressureDependentDensity, MaterialLib::Fluid::LinearConcentrationDependentDensity, MaterialLib::Fluid::LinearPressureDependentViscosity, MaterialLib::Fluid::LinearTemperatureDependentDensity, MaterialLib::Fluid::LiquidDensity, MaterialLib::Fluid::TemperatureDependentViscosity, and MaterialLib::Fluid::VogelsLiquidDynamicViscosity< VogelsConstants >.