OGS
ProcessLib::TH2M::ConstitutiveRelations::FC4LCTModel< DisplacementDim > Struct Template Reference

Detailed Description

template<int DisplacementDim>
struct ProcessLib::TH2M::ConstitutiveRelations::FC4LCTModel< DisplacementDim >

Definition at line 186 of file CEquation.h.

#include <CEquation.h>

Public Member Functions

void eval (FluidDensityData const &fluid_density_data, PhaseTransitionData const &phase_transition_data, PorosityData const &porosity_data, SaturationData const &S_L_data, FC4LCTData< DisplacementDim > &fC_4_LCT) const
 

Member Function Documentation

◆ eval()

template<int DisplacementDim>
void ProcessLib::TH2M::ConstitutiveRelations::FC4LCTModel< DisplacementDim >::eval ( FluidDensityData const & fluid_density_data,
PhaseTransitionData const & phase_transition_data,
PorosityData const & porosity_data,
SaturationData const & S_L_data,
FC4LCTData< DisplacementDim > & fC_4_LCT ) const

Definition at line 293 of file CEquation.cpp.

299{
300 double const sD_G = phase_transition_data.diffusion_coefficient_vapour;
301 double const sD_L = phase_transition_data.diffusion_coefficient_solute;
302
303 double const phi_G = (1 - S_L_data.S_L) * porosity_data.phi;
304 double const phi_L = S_L_data.S_L * porosity_data.phi;
305
306 double const diffusion_C_G_T = -phi_G * fluid_density_data.rho_GR * sD_G *
307 phase_transition_data.dxmWG_dT;
308 double const diffusion_C_L_T = -phi_L * fluid_density_data.rho_LR * sD_L *
309 phase_transition_data.dxmWL_dT;
310
311 double const diffusion_C_T = diffusion_C_G_T + diffusion_C_L_T;
312
313 auto const I =
314 Eigen::Matrix<double, DisplacementDim, DisplacementDim>::Identity();
315
316 fC_4_LCT.L.noalias() = diffusion_C_T * I;
317}

References ProcessLib::TH2M::ConstitutiveRelations::PhaseTransitionData::diffusion_coefficient_solute, ProcessLib::TH2M::ConstitutiveRelations::PhaseTransitionData::diffusion_coefficient_vapour, ProcessLib::TH2M::ConstitutiveRelations::PhaseTransitionData::dxmWG_dT, ProcessLib::TH2M::ConstitutiveRelations::PhaseTransitionData::dxmWL_dT, ProcessLib::TH2M::ConstitutiveRelations::FC4LCTData< DisplacementDim >::L, ProcessLib::TH2M::ConstitutiveRelations::PorosityData::phi, ProcessLib::TH2M::ConstitutiveRelations::FluidDensityData::rho_GR, ProcessLib::TH2M::ConstitutiveRelations::FluidDensityData::rho_LR, and ProcessLib::TH2M::ConstitutiveRelations::SaturationData::S_L.


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