OGS
Swelling.h
Go to the documentation of this file.
1
11#pragma once
12
16
18{
19namespace ConstitutiveStress_StrainTemperature
20{
21template <int DisplacementDim>
23{
25
26 static auto reflect()
27 {
29
30 return ProcessLib::Reflection::reflectWithName("swelling_stress",
31 &Self::sigma_sw);
32 }
33};
34
35template <int DisplacementDim>
37{
38 // TODO find a better name. Maybe swelling strain?
41};
42
43template <int DisplacementDim>
45{
46 void eval(
47 SpaceTimeData const& x_t, MediaData const& media_data,
49 StrainData<DisplacementDim> const& eps_data,
50 PrevState<StrainData<DisplacementDim>> const& eps_prev_data,
51 SaturationData const& S_L_data, SaturationDataDeriv const& dS_L_data,
52 PrevState<SaturationData> const& S_L_prev_data,
56};
57
58extern template struct SwellingModel<2>;
59extern template struct SwellingModel<3>;
60} // namespace ConstitutiveStress_StrainTemperature
61} // namespace ProcessLib::ThermoRichardsMechanics
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, StrainData< DisplacementDim > const &eps_data, PrevState< StrainData< DisplacementDim > > const &eps_prev_data, SaturationData const &S_L_data, SaturationDataDeriv const &dS_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:22