OGS
TotalStress.h
Go to the documentation of this file.
1
10#pragma once
11
12#include "Base.h"
13#include "Biot.h"
14#include "Bishops.h"
17
18namespace ProcessLib::TH2M
19{
20namespace ConstitutiveRelations
21{
22
23template <int DisplacementDim>
25{
26 KelvinVector<DisplacementDim> sigma_total = KV::KVnan<DisplacementDim>();
27
28 static auto reflect()
29 {
31
32 return ProcessLib::Reflection::reflectWithName("sigma_total",
33 &Self::sigma_total);
34 }
35};
36
37template <int DisplacementDim>
39{
41 DisplacementDim> const& eff_stress_data,
42 BiotData const& biot_data,
43 BishopsData const& chi_S_L,
44 GasPressureData const& p_GR,
45 CapillaryPressureData const& p_cap,
47};
48
49extern template struct TotalStressModel<2>;
50extern template struct TotalStressModel<3>;
51
52} // namespace ConstitutiveRelations
53} // namespace ProcessLib::TH2M
auto reflectWithName(std::string name, Member Class::*member)
KV::KelvinVectorType< DisplacementDim > KelvinVector
Definition Base.h:26
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