OGS
HydrostaticElasticityModel.h
Go to the documentation of this file.
1
12#pragma once
13
15
16namespace ProcessLib
17{
18namespace ThermoRichardsFlow
19{
21{
23 {
24 DBUG("using hydrostatic simplified mechanics model");
25 }
26
28 MaterialPropertyLib::Phase const& solid_phase,
29 MaterialPropertyLib::VariableArray const& variable_array,
30 ParameterLib::SpatialPosition const& pos, double const t,
31 double const dt) override
32 {
33 return bulkCompressibilityFromYoungsModulus(solid_phase, variable_array,
34 pos, t, dt);
35 }
36
38 Eigen::Matrix<double, 3, 3> const&
39 solid_linear_thermal_expansion_coefficient,
40 MaterialPropertyLib::Phase const& /*solid_phase*/,
41 MaterialPropertyLib::VariableArray const& /*variable_array*/,
42 ParameterLib::SpatialPosition const& /*pos*/, double const /*t*/,
43 double const /*dt*/) override
44 {
45 return -solid_linear_thermal_expansion_coefficient.trace();
46 }
47};
48
49} // namespace ThermoRichardsFlow
50} // namespace ProcessLib
void DBUG(fmt::format_string< Args... > fmt, Args &&... args)
Definition Logging.h:30
double storageContribution(MaterialPropertyLib::Phase const &solid_phase, MaterialPropertyLib::VariableArray const &variable_array, ParameterLib::SpatialPosition const &pos, double const t, double const dt) override
double thermalExpansivityContribution(Eigen::Matrix< double, 3, 3 > const &solid_linear_thermal_expansion_coefficient, MaterialPropertyLib::Phase const &, MaterialPropertyLib::VariableArray const &, ParameterLib::SpatialPosition const &, double const, double const) override
static auto bulkCompressibilityFromYoungsModulus(MaterialPropertyLib::Phase const &solid_phase, MaterialPropertyLib::VariableArray const &variables, ParameterLib::SpatialPosition const &x_position, double const t, double const dt)