OGS
SolidCompressibilityModel.h
Go to the documentation of this file.
1
11#pragma once
12
16
18{
19namespace ConstitutiveStress_StrainTemperature
20{
21// TODO remove typename SolidMaterial
22template <int DisplacementDim, typename SolidMaterial>
24{
25 explicit SolidCompressibilityModel(SolidMaterial const& solid_material)
26 : solid_material_(solid_material)
27 {
28 }
29
30 void eval(SpaceTimeData const& x_t,
31 BiotData const& biot_data,
33 SolidCompressibilityData& out) const
34 {
35 out.beta_SR = (1 - biot_data()) / solid_material_.getBulkModulus(
36 x_t.t, x_t.x, &C_el_data.C_el);
37 }
38
39 static SolidCompressibilityModel create(SolidMaterial const& solid_material)
40 {
41 return SolidCompressibilityModel{solid_material};
42 }
43
44private:
45 SolidMaterial const& solid_material_;
46};
47} // namespace ConstitutiveStress_StrainTemperature
48} // namespace ProcessLib::ThermoRichardsMechanics
ParameterLib::SpatialPosition x
Definition Base.h:74
void eval(SpaceTimeData const &x_t, BiotData const &biot_data, ElasticTangentStiffnessData< DisplacementDim > const &C_el_data, SolidCompressibilityData &out) const