OGS
EffectiveStressModel.cpp
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) OpenGeoSys Community (opengeosys.org)
2// SPDX-License-Identifier: BSD-3-Clause
3
5
7{
9{
10template <int DisplacementDim>
13 BiotData const& biot_data,
14 BishopsData const& bishops_data,
15 TotalStressData<DisplacementDim> const& total_stress_data,
17 sigma_eff_data) const
18{
19 auto const& identity2 = MathLib::KelvinVector::Invariants<
21 DisplacementDim)>::identity2;
22
23 sigma_eff_data.sigma_eff.noalias() =
24 total_stress_data.sigma_total -
25 biot_data() * bishops_data.chi_S_L * p_cap_data.p_cap * identity2;
26}
27
28template struct EffectiveStressModel<2>;
29template struct EffectiveStressModel<3>;
30} // namespace ConstitutiveStressSaturation_StrainPressureTemperature
31} // namespace ProcessLib::ThermoRichardsMechanics
constexpr int kelvin_vector_dimensions(int const displacement_dim)
Kelvin vector dimensions for given displacement dimension.
BaseLib::StrongType< double, struct BiotTag > BiotData
MathLib::KelvinVector::KelvinVectorType< DisplacementDim > sigma_eff
void eval(CapillaryPressureData< DisplacementDim > const &p_cap_data, BiotData const &biot_data, BishopsData const &bishops_data, TotalStressData< DisplacementDim > const &total_stress_data, ProcessLib::ConstitutiveRelations::EffectiveStressData< DisplacementDim > &sigma_eff_data) const