OGS
EqP.cpp
Go to the documentation of this file.
1
11#include "EqP.h"
12
14{
15template <int DisplacementDim>
19 SaturationData const& S_L_data,
20 SaturationDataDeriv const& dS_L_data,
21 BiotData const& biot_data,
22 LiquidDensityData const& rho_L_data,
23 LiquidViscosityData const& mu_L_data,
24 PermeabilityData<DisplacementDim> const& perm_data,
25 FluidThermalExpansionData const& f_therm_exp_data,
27 TRMStorageData const& storage_data,
28 EqPData<DisplacementDim>& out) const
29{
30 out.M_pu_X_BTI2N = S_L_data.S_L * rho_L_data.rho_LR * biot_data();
31
32 out.K_pp_Laplace =
33 perm_data.k_rel * rho_L_data.rho_LR * perm_data.Ki / mu_L_data();
34
36 -rho_L_data.rho_LR * dS_L_data.dS_L_dp_cap * biot_data();
37
38 out.J_pp_dNT_V_N =
39 perm_data.Ki / mu_L_data() *
40 (rho_L_data.rho_LR * perm_data.dk_rel_dS_L * dS_L_data.dS_L_dp_cap *
41 (p_cap_data.grad_p_cap + rho_L_data.rho_LR * b_));
42
43 out.M_pT_X_NTN = -S_L_data.S_L * rho_L_data.rho_LR *
44 f_therm_exp_data.eff_thermal_expansion +
45 vap_data.M_pT_X_NTN;
46
47 out.storage_p_a_p_X_NTN = storage_data.storage_p_a_p +
49
50 out.rhs_p_dNT_V = -rho_L_data.rho_LR * (out.K_pp_Laplace * b_) +
51 vap_data.J_pT_X_dNTdN * T_data.grad_T;
52}
53
54template struct EqPModel<2>;
55template struct EqPModel<3>;
56} // namespace ProcessLib::ThermoRichardsMechanics
Eigen::Vector< double, DisplacementDim > grad_p_cap
Definition Base.h:79
GlobalDimMatrix< DisplacementDim > K_pp_Laplace
Definition EqP.h:31
GlobalDimVector< DisplacementDim > rhs_p_dNT_V
Definition EqP.h:36
GlobalDimVector< DisplacementDim > J_pp_dNT_V_N
Definition EqP.h:28
void eval(CapillaryPressureData< DisplacementDim > const &p_cap_data, TemperatureData< DisplacementDim > const &T_data, SaturationData const &S_L_data, SaturationDataDeriv const &dS_L_data, BiotData const &biot_data, LiquidDensityData const &rho_L_data, LiquidViscosityData const &mu_L_data, PermeabilityData< DisplacementDim > const &perm_data, FluidThermalExpansionData const &f_therm_exp_data, TRMVaporDiffusionData< DisplacementDim > const &vap_data, TRMStorageData const &storage_data, EqPData< DisplacementDim > &out) const
Definition EqP.cpp:16
Eigen::Vector< double, DisplacementDim > grad_T
Definition Base.h:71