OGS
TotalStress.cpp
Go to the documentation of this file.
1
10#include "TotalStress.h"
11
13
14namespace ProcessLib::TH2M
15{
16namespace ConstitutiveRelations
17{
18
19template <int DisplacementDim>
22 eff_stress_data,
23 BiotData const& biot_data,
24 BishopsData const& chi_S_L,
25 GasPressureData const& p_GR,
26 CapillaryPressureData const& p_cap,
28{
29 static constexpr int kelvin_vector_size =
32
33 out.sigma_total = (eff_stress_data.sigma -
34 biot_data() * (p_GR() - chi_S_L.chi_S_L * p_cap()) *
35 Invariants::identity2)
36 .eval();
37}
38template struct TotalStressModel<2>;
39template struct TotalStressModel<3>;
40} // namespace ConstitutiveRelations
41} // namespace ProcessLib::TH2M
constexpr int kelvin_vector_dimensions(int const displacement_dim)
Kelvin vector dimensions for given displacement dimension.
MathLib::KelvinVector::KelvinVectorType< DisplacementDim > sigma
Definition StressData.h:20
void eval(ProcessLib::ConstitutiveRelations::StressData< DisplacementDim > const &eff_stress_data, BiotData const &biot_data, BishopsData const &chi_S_L, GasPressureData const &p_GR, CapillaryPressureData const &p_cap, TotalStressData< DisplacementDim > &out) const