OGS
MaterialLib::Fluid::FluidProperty Class Referenceabstract

Detailed Description

Base class of fluid properties.

Definition at line 25 of file FluidProperty.h.

#include <FluidProperty.h>

Inheritance diagram for MaterialLib::Fluid::FluidProperty:
[legend]

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
 

Member Typedef Documentation

◆ ArrayType

Definition at line 28 of file FluidProperty.h.

Constructor & Destructor Documentation

◆ ~FluidProperty()

virtual MaterialLib::Fluid::FluidProperty::~FluidProperty ( )
virtualdefault

Member Function Documentation

◆ getdValue()

virtual double MaterialLib::Fluid::FluidProperty::getdValue ( const ArrayType & ,
const PropertyVariableType  ) const
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 >.

◆ getName()

◆ getValue()


The documentation for this class was generated from the following file: