OGS
ProcessLib::TH2M::ConstitutiveRelations::FC4MCpGModel Struct Reference

Detailed Description

Definition at line 206 of file CEquation.h.

#include <CEquation.h>

Public Member Functions

void eval (BiotData const &biot_data, ConstituentDensityData const &constituent_density_data, PorosityData const &porosity_data, SaturationData const &S_L_data, SolidCompressibilityData const &beta_p_SR, FC4MCpGData &fC_4_MCpG) const
 
void dEval (BiotData const &biot_data, ConstituentDensityData const &constituent_density_data, PhaseTransitionData const &phase_transition_data, PorosityData const &porosity_data, PorosityDerivativeData const &porosity_d_data, SaturationData const &S_L_data, SolidCompressibilityData const &beta_p_SR, FC4MCpGDerivativeData &dfC_4_MCpG) const
 

Member Function Documentation

◆ dEval()

void ProcessLib::TH2M::ConstitutiveRelations::FC4MCpGModel::dEval ( BiotData const & biot_data,
ConstituentDensityData const & constituent_density_data,
PhaseTransitionData const & phase_transition_data,
PorosityData const & porosity_data,
PorosityDerivativeData const & porosity_d_data,
SaturationData const & S_L_data,
SolidCompressibilityData const & beta_p_SR,
FC4MCpGDerivativeData & dfC_4_MCpG ) const

Definition at line 337 of file CEquation.cpp.

345{
346 auto const S_L = S_L_data.S_L;
347 auto const S_G = 1. - S_L;
348 double const rho_C_FR = S_G * constituent_density_data.rho_C_GR +
349 S_L * constituent_density_data.rho_C_LR;
350
351 double const drho_C_FR_dp_GR =
352 /*(dS_G_dp_GR = 0) * constituent_density_data.rho_C_GR +*/
353 S_G * phase_transition_data.drho_C_GR_dp_GR +
354 /*(dS_L_dp_GR = 0) * constituent_density_data.rho_C_LR +*/
355 S_L * phase_transition_data.drho_C_LR_dp_GR;
356
357 dfC_4_MCpG.dp_GR =
358 drho_C_FR_dp_GR * (biot_data() - porosity_data.phi) * beta_p_SR();
359
360 double const drho_C_FR_dT = S_G * phase_transition_data.drho_C_GR_dT +
361 S_L * phase_transition_data.drho_C_LR_dT;
362 dfC_4_MCpG.dT =
363 drho_C_FR_dT * (biot_data() - porosity_data.phi) * beta_p_SR() -
364 rho_C_FR * porosity_d_data.dphi_dT * beta_p_SR();
365}

References ProcessLib::TH2M::ConstitutiveRelations::FC4MCpGDerivativeData::dp_GR, ProcessLib::TH2M::ConstitutiveRelations::PorosityDerivativeData::dphi_dT, ProcessLib::TH2M::ConstitutiveRelations::PhaseTransitionData::drho_C_GR_dp_GR, ProcessLib::TH2M::ConstitutiveRelations::PhaseTransitionData::drho_C_GR_dT, ProcessLib::TH2M::ConstitutiveRelations::PhaseTransitionData::drho_C_LR_dp_GR, ProcessLib::TH2M::ConstitutiveRelations::PhaseTransitionData::drho_C_LR_dT, ProcessLib::TH2M::ConstitutiveRelations::FC4MCpGDerivativeData::dT, ProcessLib::TH2M::ConstitutiveRelations::PorosityData::phi, ProcessLib::TH2M::ConstitutiveRelations::ConstituentDensityData::rho_C_GR, ProcessLib::TH2M::ConstitutiveRelations::ConstituentDensityData::rho_C_LR, and ProcessLib::TH2M::ConstitutiveRelations::SaturationData::S_L.

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

◆ eval()

void ProcessLib::TH2M::ConstitutiveRelations::FC4MCpGModel::eval ( BiotData const & biot_data,
ConstituentDensityData const & constituent_density_data,
PorosityData const & porosity_data,
SaturationData const & S_L_data,
SolidCompressibilityData const & beta_p_SR,
FC4MCpGData & fC_4_MCpG ) const

Definition at line 322 of file CEquation.cpp.

328{
329 auto const S_L = S_L_data.S_L;
330 auto const S_G = 1. - S_L;
331 double const rho_C_FR = S_G * constituent_density_data.rho_C_GR +
332 S_L * constituent_density_data.rho_C_LR;
333
334 fC_4_MCpG.m = rho_C_FR * (biot_data() - porosity_data.phi) * beta_p_SR();
335}

References ProcessLib::TH2M::ConstitutiveRelations::FC4MCpGData::m, ProcessLib::TH2M::ConstitutiveRelations::PorosityData::phi, ProcessLib::TH2M::ConstitutiveRelations::ConstituentDensityData::rho_C_GR, ProcessLib::TH2M::ConstitutiveRelations::ConstituentDensityData::rho_C_LR, 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: