OGS
Swelling.h
Go to the documentation of this file.
1
10#pragma once
11
13#include "Saturation.h"
14
15namespace ProcessLib::TH2M
16{
17namespace ConstitutiveRelations
18{
19template <int DisplacementDim>
21{
23
24 static auto reflect()
25 {
27
28 return ProcessLib::Reflection::reflectWithName("swelling_stress",
29 &Self::sigma_sw);
30 }
31};
32
33template <int DisplacementDim>
35{
36 // TODO find a better name. Maybe swelling strain?
38};
39
40template <int DisplacementDim>
42{
43 void eval(
44 SpaceTimeData const& x_t, MediaData const& media_data,
46 SaturationData const& S_L_data,
47 PrevState<SaturationData> const& S_L_prev_data,
51};
52
53extern template struct SwellingModel<2>;
54extern template struct SwellingModel<3>;
55} // namespace ConstitutiveRelations
56} // namespace ProcessLib::TH2M
constexpr auto KVzero()
Returns an expressions for a Kelvin vector filled with zero.
auto reflectWithName(std::string name, Member Class::*member)
KV::KelvinVectorType< DisplacementDim > KelvinVector
Definition Base.h:26
Represents a previous state of type T.
Definition Base.h:21
void eval(SpaceTimeData const &x_t, MediaData const &media_data, ElasticTangentStiffnessData< DisplacementDim > const &C_el_data, SaturationData const &S_L_data, PrevState< SaturationData > const &S_L_prev_data, PrevState< SwellingDataStateful< DisplacementDim > > const &prev_state, SwellingDataStateful< DisplacementDim > &state, SwellingDataStateless< DisplacementDim > &out) const
Definition Swelling.cpp:21