OGS
ThermoRichardsMechanics/ConstitutiveCommon/SolidThermalExpansion.cpp
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) OpenGeoSys Community (opengeosys.org)
2// SPDX-License-Identifier: BSD-3-Clause
3
5
7
9{
10template <int DisplacementDim>
12 SpaceTimeData const& x_t, MediaData const& media_data,
14{
15 namespace MPL = MaterialPropertyLib;
16 MPL::VariableArray variables;
17
18 // Consider also anisotropic thermal expansion.
22 .value(variables, x_t.x, x_t.t, x_t.dt));
23}
24
25template struct SolidThermalExpansionModel<2>;
26template struct SolidThermalExpansionModel<3>;
27} // namespace ProcessLib::ThermoRichardsMechanics
Property const & property(PropertyType const &p) const
Definition Phase.cpp:44
virtual PropertyDataType value() const
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 ...
void eval(SpaceTimeData const &x_t, MediaData const &media_data, SolidThermalExpansionData< DisplacementDim > &out) const