OGS
|
A class contains density, viscosity, heat_capacity and thermal_conductivity models, which are all functions of temperature, density and concentration.
Definition at line 30 of file FluidPropertiesWithDensityDependentModels.h.
#include <FluidPropertiesWithDensityDependentModels.h>
Public Member Functions | |
FluidPropertiesWithDensityDependentModels (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, const bool is_viscosity_density_dependent, const bool is_heat_capacity_dependent, const bool is_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 |
Private Member Functions | |
double | compute_df_drho_drho_dT (const FluidPropertyType property_type, const ArrayType &variable_values) const |
Compute df/dT for f(T, rho) with rho(T, p) | |
double | compute_df_drho_drho_dp (const FluidPropertyType property_type, const ArrayType &variable_values) const |
Compute df/dp for f(T, rho) with rho(T, p) | |
Private Attributes | |
std::array< bool, FluidPropertyTypeNumber > | _is_density_dependent |
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 |
MaterialLib::Fluid::FluidPropertiesWithDensityDependentModels::FluidPropertiesWithDensityDependentModels | ( | 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, | ||
const bool | is_viscosity_density_dependent, | ||
const bool | is_heat_capacity_dependent, | ||
const bool | is_thermal_conductivity ) |
Definition at line 24 of file FluidPropertiesWithDensityDependentModels.cpp.
|
private |
Compute df/dp for f(T, rho) with rho(T, p)
Definition at line 106 of file FluidPropertiesWithDensityDependentModels.cpp.
|
private |
Compute df/dT for f(T, rho) with rho(T, p)
Definition at line 83 of file FluidPropertiesWithDensityDependentModels.cpp.
|
overridevirtual |
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 58 of file FluidPropertiesWithDensityDependentModels.cpp.
|
overridevirtual |
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 43 of file FluidPropertiesWithDensityDependentModels.cpp.
References getValue().
|
private |
Definition at line 77 of file FluidPropertiesWithDensityDependentModels.h.