OGS
ProcessLib::TH2M::ConstitutiveRelations::FW4MWpCModel Struct Reference

Detailed Description

Definition at line 229 of file WEquation.h.

#include <WEquation.h>

Public Member Functions

void eval (BiotData const &biot_data, CapillaryPressureData const pCap, ConstituentDensityData const &constituent_density_data, PorosityData const &porosity_data, PrevState< SaturationData > const &S_L_data_prev, PureLiquidDensityData const &rho_W_LR, SaturationData const &S_L_data, SolidCompressibilityData const &beta_p_SR, FW4MWpCData &fW_4_MWpC) const
 

Member Function Documentation

◆ eval()

void ProcessLib::TH2M::ConstitutiveRelations::FW4MWpCModel::eval ( BiotData const & biot_data,
CapillaryPressureData const pCap,
ConstituentDensityData const & constituent_density_data,
PorosityData const & porosity_data,
PrevState< SaturationData > const & S_L_data_prev,
PureLiquidDensityData const & rho_W_LR,
SaturationData const & S_L_data,
SolidCompressibilityData const & beta_p_SR,
FW4MWpCData & fW_4_MWpC ) const

Definition at line 388 of file WEquation.cpp.

397{
398 auto const S_L = S_L_data.S_L;
399 auto const S_G = 1. - S_L;
400 double const rho_W_FR =
401 S_G * constituent_density_data.rho_W_GR + S_L * rho_W_LR();
402
403 fW_4_MWpC.m =
404 -rho_W_FR * (biot_data() - porosity_data.phi) * beta_p_SR() * S_L;
405
406 fW_4_MWpC.ml =
407 (porosity_data.phi * (rho_W_LR() - constituent_density_data.rho_W_GR) -
408 rho_W_FR * pCap() * (biot_data() - porosity_data.phi) * beta_p_SR()) *
409 (S_L - S_L_data_prev->S_L);
410}

References ProcessLib::TH2M::ConstitutiveRelations::FW4MWpCData::m, ProcessLib::TH2M::ConstitutiveRelations::FW4MWpCData::ml, ProcessLib::TH2M::ConstitutiveRelations::PorosityData::phi, ProcessLib::TH2M::ConstitutiveRelations::ConstituentDensityData::rho_W_GR, and ProcessLib::TH2M::ConstitutiveRelations::SaturationData::S_L.

Referenced by ProcessLib::TH2M::TH2MLocalAssembler< ShapeFunctionDisplacement, ShapeFunctionPressure, DisplacementDim >::updateConstitutiveVariables().


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