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

Detailed Description

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

Definition at line 40 of file DarcyVelocity.h.

#include <DarcyVelocity.h>

Public Member Functions

void eval (CapillaryPressureGradientData< DisplacementDim > const &grad_p_cap, FluidDensityData const &fluid_density_data, GasPressureGradientData< DisplacementDim > const &grad_p_GR, PermeabilityData< DisplacementDim > const &permeability_data, SpecificBodyForceData< DisplacementDim > const &specific_body_force, ViscosityData const &viscosity_data, DarcyVelocityData< DisplacementDim > &darcy_velocity_data) const
 

Member Function Documentation

◆ eval()

template<int DisplacementDim>
void ProcessLib::TH2M::ConstitutiveRelations::DarcyVelocityModel< DisplacementDim >::eval ( CapillaryPressureGradientData< DisplacementDim > const & grad_p_cap,
FluidDensityData const & fluid_density_data,
GasPressureGradientData< DisplacementDim > const & grad_p_GR,
PermeabilityData< DisplacementDim > const & permeability_data,
SpecificBodyForceData< DisplacementDim > const & specific_body_force,
ViscosityData const & viscosity_data,
DarcyVelocityData< DisplacementDim > & darcy_velocity_data ) const

Definition at line 17 of file DarcyVelocity.cpp.

25{
26 auto const k_over_mu_G =
27 permeability_data.Ki * permeability_data.k_rel_G / viscosity_data.mu_GR;
28 auto const k_over_mu_L =
29 permeability_data.Ki * permeability_data.k_rel_L / viscosity_data.mu_LR;
30
31 darcy_velocity_data.w_GS =
32 k_over_mu_G * fluid_density_data.rho_GR * specific_body_force() -
33 k_over_mu_G * grad_p_GR();
34 darcy_velocity_data.w_LS =
35 k_over_mu_L * grad_p_cap() +
36 k_over_mu_L * fluid_density_data.rho_LR * specific_body_force() -
37 k_over_mu_L * grad_p_GR();
38}

References ProcessLib::TH2M::ConstitutiveRelations::PermeabilityData< DisplacementDim >::k_rel_G, ProcessLib::TH2M::ConstitutiveRelations::PermeabilityData< DisplacementDim >::k_rel_L, ProcessLib::TH2M::ConstitutiveRelations::PermeabilityData< DisplacementDim >::Ki, ProcessLib::TH2M::ConstitutiveRelations::ViscosityData::mu_GR, ProcessLib::TH2M::ConstitutiveRelations::ViscosityData::mu_LR, ProcessLib::TH2M::ConstitutiveRelations::FluidDensityData::rho_GR, ProcessLib::TH2M::ConstitutiveRelations::FluidDensityData::rho_LR, ProcessLib::TH2M::ConstitutiveRelations::DarcyVelocityData< DisplacementDim >::w_GS, and ProcessLib::TH2M::ConstitutiveRelations::DarcyVelocityData< DisplacementDim >::w_LS.


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