14namespace ConstitutiveRelations
28 auto const rho_u_eff_dot =
29 (internal_energy_data() - **internal_energy_data_prev) / dt;
30 fT_1.
m = rho_u_eff_dot;
35 effective_volumetric_internal_energy_d_data,
52 dfT_1.
dT = effective_volumetric_internal_energy_d_data.
drho_u_eff_dT / dt;
55template <
int DisplacementDim>
62 fT_2.
A.noalias() = fluid_density_data.
rho_GR * fluid_enthalpy_data.
h_G *
63 darcy_velocity_data.
w_GS +
64 fluid_density_data.
rho_LR * fluid_enthalpy_data.
h_L *
65 darcy_velocity_data.
w_LS;
68template <
int DisplacementDim>
79 auto const k_over_mu_G =
80 permeability_data.
Ki * permeability_data.
k_rel_G / viscosity_data.
mu_GR;
81 auto const k_over_mu_L =
82 permeability_data.
Ki * permeability_data.
k_rel_L / viscosity_data.
mu_LR;
85 fluid_enthalpy_data.
h_G * darcy_velocity_data.
w_GS +
86 fluid_density_data.
rho_GR * fluid_enthalpy_data.
h_G *
88 specific_body_force();
90 fluid_density_data.
rho_GR * fluid_enthalpy_data.
h_G * k_over_mu_G -
91 fluid_density_data.
rho_LR * fluid_enthalpy_data.
h_L * k_over_mu_L;
97 double const drho_LR_dp_cap = -phase_transition_data.
drho_LR_dp_LR;
100 -drho_LR_dp_cap * fluid_enthalpy_data.
h_L * darcy_velocity_data.
w_LS -
101 fluid_density_data.
rho_LR * fluid_enthalpy_data.
h_L * k_over_mu_L *
102 drho_LR_dp_cap * specific_body_force();
104 fluid_density_data.
rho_LR * fluid_enthalpy_data.
h_L * k_over_mu_L;
106 dfT_2.
dT = phase_transition_data.
drho_GR_dT * fluid_enthalpy_data.
h_G *
107 darcy_velocity_data.
w_GS +
109 darcy_velocity_data.
w_GS +
111 darcy_velocity_data.
w_LS +
113 darcy_velocity_data.
w_LS;
121template <
int DisplacementDim>
132 (fluid_density_data.
rho_GR * darcy_velocity_data.
w_GS.transpose() +
133 fluid_density_data.
rho_LR * darcy_velocity_data.
w_LS.transpose()) *
134 specific_body_force();
136 fT_3.
gradN.noalias() =
137 constituent_density_data.
rho_C_GR * phase_transition_data.
hCG *
138 diffusion_velocity_data.
d_CG +
139 constituent_density_data.
rho_W_GR * phase_transition_data.
hWG *
140 diffusion_velocity_data.
d_WG;
Represents a previous state of type T.
Real constituent partial densities.
GlobalDimVector< DisplacementDim > w_LS
GlobalDimVector< DisplacementDim > w_GS
GlobalDimVector< DisplacementDim > d_CG
GlobalDimVector< DisplacementDim > d_WG
void dEval(double const dt, EffectiveVolumetricInternalEnergyDerivatives const &effective_volumetric_internal_energy_d_data, FT1DerivativeData &dfT_1) const
void eval(double const dt, InternalEnergyData const &internal_energy_data, PrevState< InternalEnergyData > const &internal_energy_data_prev, FT1Data &fT_1) const
GlobalDimVector< DisplacementDim > A
GlobalDimMatrix< DisplacementDim > dp_cap_gradNpart
GlobalDimMatrix< DisplacementDim > dp_GR_gradNpart
GlobalDimVector< DisplacementDim > dp_cap_Npart
GlobalDimVector< DisplacementDim > dp_GR_Npart
GlobalDimVector< DisplacementDim > dT
void eval(DarcyVelocityData< DisplacementDim > const &darcy_velocity_data, FluidDensityData const &fluid_density_data, FluidEnthalpyData const &fluid_enthalpy_data, FT2Data< DisplacementDim > &fT_2) const
void dEval(DarcyVelocityData< DisplacementDim > const &darcy_velocity_data, FluidDensityData const &fluid_density_data, FluidEnthalpyData const &fluid_enthalpy_data, PermeabilityData< DisplacementDim > const &permeability_data, PhaseTransitionData const &phase_transition_data, SpecificBodyForceData< DisplacementDim > const &specific_body_force, ViscosityData const &viscosity_data, FT2DerivativeData< DisplacementDim > &dfT_2) const
GlobalDimVector< DisplacementDim > gradN
void eval(ConstituentDensityData const &constituent_density_data, DarcyVelocityData< DisplacementDim > const &darcy_velocity_data, DiffusionVelocityData< DisplacementDim > const &diffusion_velocity_data, FluidDensityData const &fluid_density_data, PhaseTransitionData const &phase_transition_data, SpecificBodyForceData< DisplacementDim > const &specific_body_force, FT3Data< DisplacementDim > &fT_3) const
GlobalDimMatrix< DisplacementDim > Ki