OGS
|
A class contains density, viscosity, heat_capacity and thermal_conductivity models, which are all functions of temperature, pressure and concentration.
Definition at line 26 of file PrimaryVariableDependentFluidProperties.h.
#include <PrimaryVariableDependentFluidProperties.h>
Public Member Functions | |
PrimaryVariableDependentFluidProperties (std::unique_ptr< MaterialLib::Fluid::FluidProperty > &&density, std::unique_ptr< MaterialLib::Fluid::FluidProperty > &&viscosity, std::unique_ptr< MaterialLib::Fluid::FluidProperty > &&heat_capacity, std::unique_ptr< MaterialLib::Fluid::FluidProperty > &&thermal_conductivity) | |
double | getValue (const FluidPropertyType property_type, const ArrayType &variable_values) const override |
double | getdValue (const FluidPropertyType property_type, const ArrayType &variable_values, const PropertyVariableType variable_type) const override |
Public Member Functions inherited from MaterialLib::Fluid::FluidProperties | |
FluidProperties (std::unique_ptr< MaterialLib::Fluid::FluidProperty > &&density, std::unique_ptr< MaterialLib::Fluid::FluidProperty > &&viscosity, std::unique_ptr< MaterialLib::Fluid::FluidProperty > &&heat_capacity, std::unique_ptr< MaterialLib::Fluid::FluidProperty > &&thermal_conductivity) | |
virtual | ~FluidProperties ()=default |
Additional Inherited Members | |
Public Types inherited from MaterialLib::Fluid::FluidProperties | |
using | ArrayType = std::array<double, PropertyVariableNumber> |
Protected Attributes inherited from MaterialLib::Fluid::FluidProperties | |
const std::array< std::unique_ptr< FluidProperty >, FluidPropertyTypeNumber > | _property_models |
|
inline |
Definition at line 29 of file PrimaryVariableDependentFluidProperties.h.
|
inlineoverridevirtual |
Get the partial differential of a property.
property_type | Property type. |
variable_values | An array of the primary variables. The order of its elements is temperature, pressure, concentration, which is defined in enum class PropertyVariableType. |
variable_type | Variable type |
Implements MaterialLib::Fluid::FluidProperties.
Definition at line 65 of file PrimaryVariableDependentFluidProperties.h.
References MaterialLib::Fluid::FluidProperties::_property_models, and getdValue().
Referenced by getdValue().
|
inlineoverridevirtual |
Get the value of a Property.
property_type | Property type. |
variable_values | An array of the primary variables. The order of its elements is temperature, pressure, concentration, which is defined in enum class PropertyVariableType. |
Implements MaterialLib::Fluid::FluidProperties.
Definition at line 49 of file PrimaryVariableDependentFluidProperties.h.
References MaterialLib::Fluid::FluidProperties::_property_models, and getValue().
Referenced by getValue().