OGS
MechanicalStrain.h
Go to the documentation of this file.
1
10#pragma once
11
12#include "Base.h"
15#include "Swelling.h"
16
17namespace ProcessLib::TH2M
18{
19namespace ConstitutiveRelations
20{
21template <int DisplacementDim>
23{
24 // TODO it seems fragile that some data have to be initialized that way.
25 KelvinVector<DisplacementDim> eps_m = KV::KVzero<DisplacementDim>();
26};
27
28template <int DisplacementDim>
41
42extern template struct MechanicalStrainModel<2>;
43extern template struct MechanicalStrainModel<3>;
44} // namespace ConstitutiveRelations
45} // namespace ProcessLib::TH2M
KV::KelvinVectorType< DisplacementDim > KelvinVector
Definition Base.h:26
Represents a previous state of type T.
Definition Base.h:21
void eval(TemperatureData const &T_data, SolidThermalExpansionData< DisplacementDim > const &s_therm_exp_data, ProcessLib::ConstitutiveRelations::StrainData< DisplacementDim > const &strain_data, KelvinVector< DisplacementDim > const &eps_prev, PrevState< MechanicalStrainData< DisplacementDim > > const &eps_m_prev, SwellingDataStateless< DisplacementDim > const &swelling_data, MechanicalStrainData< DisplacementDim > &out) const