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

Detailed Description

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

Definition at line 198 of file WEquation.h.

#include <WEquation.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, FW4LWTData< DisplacementDim > &fW_4_LWT) const
 

Member Function Documentation

◆ eval()

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

Definition at line 342 of file WEquation.cpp.

348{
349 double const sD_G = phase_transition_data.diffusion_coefficient_vapour;
350 double const sD_L = phase_transition_data.diffusion_coefficient_solute;
351
352 double const phi_G = (1 - S_L_data.S_L) * porosity_data.phi;
353 double const phi_L = S_L_data.S_L * porosity_data.phi;
354
355 double const diffusion_W_G_T = phi_G * fluid_density_data.rho_GR * sD_G *
356 phase_transition_data.dxmWG_dT;
357 double const diffusion_W_L_T = phi_L * fluid_density_data.rho_LR * sD_L *
358 phase_transition_data.dxmWL_dT;
359
360 double const diffusion_W_T = diffusion_W_G_T + diffusion_W_L_T;
361
362 auto const I =
363 Eigen::Matrix<double, DisplacementDim, DisplacementDim>::Identity();
364
365 fW_4_LWT.L.noalias() = diffusion_W_T * I;
366}

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::FW4LWTData< 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: