OGS
TotalStress.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) OpenGeoSys Community (opengeosys.org)
2// SPDX-License-Identifier: BSD-3-Clause
3
4#pragma once
5
6#include "Base.h"
7#include "Biot.h"
8#include "Bishops.h"
11
12namespace ProcessLib::TH2M
13{
15{
16
17template <int DisplacementDim>
19{
20 KelvinVector<DisplacementDim> sigma_total = KV::KVnan<DisplacementDim>();
21
22 static auto reflect()
23 {
25
26 return ProcessLib::Reflection::reflectWithName("sigma_total",
27 &Self::sigma_total);
28 }
29};
30
31template <int DisplacementDim>
33{
35 DisplacementDim> const& eff_stress_data,
36 BiotData const& biot_data,
37 BishopsData const& chi_S_L,
38 GasPressureData const& p_GR,
39 CapillaryPressureData const& p_cap,
41};
42
43extern template struct TotalStressModel<2>;
44extern template struct TotalStressModel<3>;
45
46} // namespace ConstitutiveRelations
47} // namespace ProcessLib::TH2M
KV::KelvinVectorType< DisplacementDim > KelvinVector
auto reflectWithName(std::string name, Member Class::*member)
BaseLib::StrongType< double, struct BiotTag > BiotData
void eval(ProcessLib::ConstitutiveRelations::EffectiveStressData< 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