OGS
SolidThermalExpansion.cpp
Go to the documentation of this file.
1
11
#include "
SolidThermalExpansion.h
"
12
13
#include "
MaterialLib/MPL/Utils/FormKelvinVector.h
"
14
15
namespace
ProcessLib::ThermoRichardsMechanics
16
{
17
template
<
int
DisplacementDim>
18
void
SolidThermalExpansionModel<DisplacementDim>::eval
(
19
SpaceTimeData
const
& x_t,
MediaData
const
& media_data,
20
SolidThermalExpansionData<DisplacementDim>
& out)
const
21
{
22
namespace
MPL
=
MaterialPropertyLib
;
23
MPL::VariableArray
variables;
24
25
// Consider also anisotropic thermal expansion.
26
out.
solid_linear_thermal_expansivity_vector
=
27
MPL::formKelvinVector<DisplacementDim>
(
28
media_data.
solid
.
property
(MPL::PropertyType::thermal_expansivity)
29
.
value
(variables, x_t.
x
, x_t.
t
, x_t.
dt
));
30
}
31
32
template
struct
SolidThermalExpansionModel<2>
;
33
template
struct
SolidThermalExpansionModel<3>
;
34
}
// namespace ProcessLib::ThermoRichardsMechanics
FormKelvinVector.h
SolidThermalExpansion.h
MaterialPropertyLib::Phase::property
Property const & property(PropertyType const &p) const
Definition
Phase.cpp:53
MaterialPropertyLib::Property::value
virtual PropertyDataType value() const
Definition
Property.cpp:76
MaterialPropertyLib::VariableArray
Definition
VariableType.h:99
MaterialPropertyLib
Definition
ChemicalSolverInterface.h:21
MaterialPropertyLib::formKelvinVector
MathLib::KelvinVector::KelvinVectorType< GlobalDim > formKelvinVector(MaterialPropertyLib::PropertyDataType const &values)
A function to form a Kelvin vector from strain or stress alike property like thermal expansivity for ...
Definition
FormKelvinVector.cpp:82
ProcessLib::ThermoRichardsMechanics
Definition
Base.h:20
ProcessLib::ConstitutiveRelations::SpaceTimeData
Definition
Base.h:73
ProcessLib::ConstitutiveRelations::SpaceTimeData::x
ParameterLib::SpatialPosition x
Definition
Base.h:74
ProcessLib::ConstitutiveRelations::SpaceTimeData::t
double t
Definition
Base.h:75
ProcessLib::ConstitutiveRelations::SpaceTimeData::dt
double dt
Definition
Base.h:76
ProcessLib::ThermoRichardsMechanics::MediaData
Definition
Base.h:53
ProcessLib::ThermoRichardsMechanics::MediaData::solid
MaterialPropertyLib::Phase const & solid
Definition
Base.h:63
ProcessLib::ThermoRichardsMechanics::SolidThermalExpansionData
Definition
SolidThermalExpansion.h:19
ProcessLib::ThermoRichardsMechanics::SolidThermalExpansionData::solid_linear_thermal_expansivity_vector
KelvinVector< DisplacementDim > solid_linear_thermal_expansivity_vector
Definition
SolidThermalExpansion.h:20
ProcessLib::ThermoRichardsMechanics::SolidThermalExpansionModel
Definition
SolidThermalExpansion.h:25
ProcessLib::ThermoRichardsMechanics::SolidThermalExpansionModel::eval
void eval(SpaceTimeData const &x_t, MediaData const &media_data, SolidThermalExpansionData< DisplacementDim > &out) const
Definition
SolidThermalExpansion.cpp:18
ProcessLib
ThermoRichardsMechanics
ConstitutiveCommon
SolidThermalExpansion.cpp
Generated by
1.11.0