OGS
ProcessLib::ThermoRichardsMechanics::FluidThermalExpansionModel< DisplacementDim > Struct Template Reference

Detailed Description

template<int DisplacementDim>
struct ProcessLib::ThermoRichardsMechanics::FluidThermalExpansionModel< DisplacementDim >

Definition at line 26 of file FluidThermalExpansion.h.

#include <FluidThermalExpansion.h>

Public Member Functions

void eval (SpaceTimeData const &x_t, MediaData const &media_data, CapillaryPressureData< DisplacementDim > const &p_cap_data, TemperatureData< DisplacementDim > const &T_data, SolidThermalExpansionData< DisplacementDim > const &s_therm_exp_data, PorosityData const &poro_data, LiquidDensityData const &rho_L_data, BiotData const &biot_data, FluidThermalExpansionData &out) const
 

Member Function Documentation

◆ eval()

template<int DisplacementDim>
void ProcessLib::ThermoRichardsMechanics::FluidThermalExpansionModel< DisplacementDim >::eval ( SpaceTimeData const & x_t,
MediaData const & media_data,
CapillaryPressureData< DisplacementDim > const & p_cap_data,
TemperatureData< DisplacementDim > const & T_data,
SolidThermalExpansionData< DisplacementDim > const & s_therm_exp_data,
PorosityData const & poro_data,
LiquidDensityData const & rho_L_data,
BiotData const & biot_data,
FluidThermalExpansionData & out ) const

Definition at line 18 of file FluidThermalExpansion.cpp.

25{
26 static constexpr int kelvin_vector_size =
29
30 namespace MPL = MaterialPropertyLib;
31 MPL::VariableArray variables;
32 variables.liquid_phase_pressure = -p_cap_data.p_cap;
33 variables.temperature = T_data.T;
34
35 double const phi = poro_data.phi;
36
37 double const fluid_volumetric_thermal_expansion =
38 phi * MPL::getLiquidThermalExpansivity(media_data.liquid, variables,
39 rho_L_data.rho_LR, x_t.x, x_t.t,
40 x_t.dt);
41
42 out.eff_thermal_expansion =
43 (biot_data() - phi) *
44 Invariants::trace(
45 s_therm_exp_data.solid_linear_thermal_expansivity_vector) +
46 fluid_volumetric_thermal_expansion;
47}
double getLiquidThermalExpansivity(Phase const &phase, VariableArray const &vars, const double density, ParameterLib::SpatialPosition const &pos, double const t, double const dt)
constexpr int kelvin_vector_dimensions(int const displacement_dim)
Kelvin vector dimensions for given displacement dimension.

References ProcessLib::ConstitutiveRelations::SpaceTimeData::dt, ProcessLib::ThermoRichardsMechanics::FluidThermalExpansionData::eff_thermal_expansion, MaterialPropertyLib::getLiquidThermalExpansivity(), MathLib::KelvinVector::kelvin_vector_dimensions(), ProcessLib::ThermoRichardsMechanics::MediaData::liquid, MaterialPropertyLib::VariableArray::liquid_phase_pressure, ProcessLib::ThermoRichardsMechanics::CapillaryPressureData< DisplacementDim >::p_cap, ProcessLib::ThermoRichardsMechanics::PorosityData::phi, ProcessLib::ThermoRichardsMechanics::LiquidDensityData::rho_LR, ProcessLib::ThermoRichardsMechanics::SolidThermalExpansionData< DisplacementDim >::solid_linear_thermal_expansivity_vector, ProcessLib::ThermoRichardsMechanics::TemperatureData< DisplacementDim >::T, ProcessLib::ConstitutiveRelations::SpaceTimeData::t, MaterialPropertyLib::VariableArray::temperature, and ProcessLib::ConstitutiveRelations::SpaceTimeData::x.


The documentation for this struct was generated from the following files: