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

Detailed Description

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

Definition at line 27 of file ThermoOsmosis.h.

#include <ThermoOsmosis.h>

Public Member Functions

void eval (SpaceTimeData const &x_t, MediaData const &media_data, TemperatureData< DisplacementDim > const &T_data, LiquidDensityData const &rho_L_data, ThermoOsmosisData< DisplacementDim > &out) const
 

Member Function Documentation

◆ eval()

template<int DisplacementDim>
void ProcessLib::ThermoRichardsMechanics::ThermoOsmosisModel< DisplacementDim >::eval ( SpaceTimeData const & x_t,
MediaData const & media_data,
TemperatureData< DisplacementDim > const & T_data,
LiquidDensityData const & rho_L_data,
ThermoOsmosisData< DisplacementDim > & out ) const

Definition at line 18 of file ThermoOsmosis.cpp.

23{
24 namespace MPL = MaterialPropertyLib;
25 MPL::VariableArray variables;
26
27 auto const& solid_phase = media_data.solid;
28
29 auto const K_pT_thermal_osmosis =
30 (solid_phase.hasProperty(
32 ? MaterialPropertyLib::formEigenTensor<DisplacementDim>(
33 solid_phase[MPL::PropertyType::thermal_osmosis_coefficient]
34 .value(variables, x_t.x, x_t.t, x_t.dt))
35 : Eigen::MatrixXd::Zero(DisplacementDim, DisplacementDim));
36
37 out.K_pT_Laplace = rho_L_data.rho_LR * K_pT_thermal_osmosis;
38
39 out.K_Tp_Laplace = T_data.T * K_pT_thermal_osmosis;
40
41 out.seepage_velocity_contribution = -K_pT_thermal_osmosis * T_data.grad_T;
42}

References ProcessLib::ConstitutiveRelations::SpaceTimeData::dt, ProcessLib::ThermoRichardsMechanics::TemperatureData< DisplacementDim >::grad_T, ProcessLib::ThermoRichardsMechanics::ThermoOsmosisData< DisplacementDim >::K_pT_Laplace, ProcessLib::ThermoRichardsMechanics::ThermoOsmosisData< DisplacementDim >::K_Tp_Laplace, ProcessLib::ThermoRichardsMechanics::LiquidDensityData::rho_LR, ProcessLib::ThermoRichardsMechanics::ThermoOsmosisData< DisplacementDim >::seepage_velocity_contribution, ProcessLib::ThermoRichardsMechanics::MediaData::solid, ProcessLib::ConstitutiveRelations::SpaceTimeData::t, ProcessLib::ThermoRichardsMechanics::TemperatureData< DisplacementDim >::T, MaterialPropertyLib::thermal_osmosis_coefficient, and ProcessLib::ConstitutiveRelations::SpaceTimeData::x.


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