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(
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}
Eigen::Matrix< double, GlobalDim, GlobalDim > formEigenTensor(MaterialPropertyLib::PropertyDataType const &values)

References ProcessLib::ConstitutiveRelations::SpaceTimeData::dt, MaterialPropertyLib::formEigenTensor(), 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::ThermoRichardsMechanics::TemperatureData< DisplacementDim >::T, ProcessLib::ConstitutiveRelations::SpaceTimeData::t, MaterialPropertyLib::thermal_osmosis_coefficient, and ProcessLib::ConstitutiveRelations::SpaceTimeData::x.


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