34 auto const& liquid_phase = media_data.
liquid;
35 auto const& solid_phase = media_data.
solid;
37 auto const specific_heat_capacity_fluid =
39 .template value<double>(variables, x_t.
x, x_t.
t, x_t.
dt);
41 auto const specific_heat_capacity_solid =
44 .template value<double>(variables, x_t.
x, x_t.
t, x_t.
dt);
46 double const phi = poro_data.
phi;
49 double const volumetric_heat_capacity_liquid =
50 rho_L_data.
rho_LR * specific_heat_capacity_fluid;
53 double const volumetric_heat_capacity_liquid_and_solid =
54 rho_S_data.
rho_SR * specific_heat_capacity_solid * (1 - phi) +
55 S_L_data.
S_L * phi * volumetric_heat_capacity_liquid;
57 out.
M_TT_X_NTN = volumetric_heat_capacity_liquid_and_solid;
66 volumetric_heat_capacity_liquid * darcy_data();
72 mu_L_data() * (perm.
Ki.transpose() * T_data.
grad_T);
73 out.
K_Tp_X_NTN = -volumetric_heat_capacity_liquid *
void eval(SpaceTimeData const &x_t, MediaData const &media_data, LiquidDensityData const &rho_L_data, SolidDensityData const &rho_S_data, SaturationData const &S_L_data, SaturationDataDeriv const &dS_L_data, PorosityData const &poro_data, LiquidViscosityData const &mu_L_data, PermeabilityData< DisplacementDim > const &perm, TemperatureData< DisplacementDim > const &T_data, DarcyLawData< DisplacementDim > const &darcy_data, TRMHeatStorageAndFluxData< DisplacementDim > &out) const