OGS
DarcyLaw.cpp
Go to the documentation of this file.
1
11#include "DarcyLaw.h"
12
14{
15template <int DisplacementDim>
18 LiquidDensityData const& rho_L_data,
19 LiquidViscosityData const& mu_L_data,
20 PermeabilityData<DisplacementDim> const& perm_data,
21 ThermoOsmosisData<DisplacementDim> const& th_osmosis_data,
23{
24 *out = perm_data.Ki / mu_L_data() *
25 (perm_data.k_rel *
26 (p_cap_data.grad_p_cap + rho_L_data.rho_LR * b_)) +
27 th_osmosis_data.seepage_velocity_contribution;
28}
29
30template struct DarcyLawModel<2>;
31template struct DarcyLawModel<3>;
32} // namespace ProcessLib::ThermoRichardsMechanics
Eigen::Vector< double, DisplacementDim > grad_p_cap
Definition Base.h:79
void eval(CapillaryPressureData< DisplacementDim > const &p_cap_data, LiquidDensityData const &rho_L_data, LiquidViscosityData const &mu_L_data, PermeabilityData< DisplacementDim > const &perm_data, ThermoOsmosisData< DisplacementDim > const &th_osmosis_data, DarcyLawData< DisplacementDim > &out) const
Definition DarcyLaw.cpp:16
GlobalDimVector< DisplacementDim > seepage_velocity_contribution