OGS
SolidCompressibility.h
Go to the documentation of this file.
1
10#pragma once
11
12#include "Biot.h"
14
15namespace ProcessLib::TH2M
16{
17namespace ConstitutiveRelations
18{
21
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,
33 SolidCompressibilityData& out) const
34 {
35 *out = (1 - biot()) / solid_material_.getBulkModulus(
36 x_t.t, x_t.x, &C_el_data.stiffness_tensor);
37 }
38
39private:
40 SolidMaterial const& solid_material_;
41};
42} // namespace ConstitutiveRelations
43} // namespace ProcessLib::TH2M
ParameterLib::SpatialPosition x
Definition Base.h:74
void eval(SpaceTimeData const &x_t, BiotData const &biot, ElasticTangentStiffnessData< DisplacementDim > const &C_el_data, SolidCompressibilityData &out) const