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

Detailed Description

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

Definition at line 34 of file Saturation.h.

#include <Saturation.h>

Public Member Functions

void eval (SpaceTimeData const &x_t, MediaData const &media_data, CapillaryPressureData< DisplacementDim > const &p_cap_data, SaturationData &S_L_data, SaturationDataDeriv &dS_L_data) const
 

Member Function Documentation

◆ eval()

template<int DisplacementDim>
void ProcessLib::ThermoRichardsMechanics::SaturationModel< DisplacementDim >::eval ( SpaceTimeData const & x_t,
MediaData const & media_data,
CapillaryPressureData< DisplacementDim > const & p_cap_data,
SaturationData & S_L_data,
SaturationDataDeriv & dS_L_data ) const

Definition at line 16 of file Saturation.cpp.

20{
21 namespace MPL = MaterialPropertyLib;
22 MPL::VariableArray variables;
23 variables.capillary_pressure = p_cap_data.p_cap;
24
25 auto const& medium = media_data.medium;
26
27 S_L_data.S_L = medium.property(MPL::PropertyType::saturation)
28 .template value<double>(variables, x_t.x, x_t.t, x_t.dt);
29
30 dS_L_data.dS_L_dp_cap =
31 medium.property(MPL::PropertyType::saturation)
32 .template dValue<double>(variables,
33 MPL::Variable::capillary_pressure, x_t.x,
34 x_t.t, x_t.dt);
35}

References MaterialPropertyLib::VariableArray::capillary_pressure, ProcessLib::ThermoRichardsMechanics::SaturationDataDeriv::dS_L_dp_cap, ProcessLib::ConstitutiveRelations::SpaceTimeData::dt, ProcessLib::ThermoRichardsMechanics::MediaData::medium, ProcessLib::ThermoRichardsMechanics::CapillaryPressureData< DisplacementDim >::p_cap, ProcessLib::ThermoRichardsMechanics::SaturationData::S_L, ProcessLib::ConstitutiveRelations::SpaceTimeData::t, and ProcessLib::ConstitutiveRelations::SpaceTimeData::x.


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