OGS
SolidHeatCapacity.cpp
Go to the documentation of this file.
1
10
#include "
SolidHeatCapacity.h
"
11
12
namespace
ProcessLib::TH2M
13
{
14
namespace
ConstitutiveRelations
15
{
16
17
void
SolidHeatCapacityModel::eval
(
18
SpaceTimeData
const
& x_t,
19
MediaData
const
& media_data,
20
TemperatureData
const
& T_data,
21
SolidHeatCapacityData
& solid_heat_capacity)
const
22
{
23
namespace
MPL
=
MaterialPropertyLib
;
24
25
MPL::VariableArray
variables;
26
variables.
temperature
= T_data.
T
;
27
28
auto
const
& mpl_cpS =
29
media_data.
solid
[MPL::PropertyType::specific_heat_capacity];
30
31
*solid_heat_capacity =
32
mpl_cpS.template value<double>(variables, x_t.
x
, x_t.
t
, x_t.
dt
);
33
}
34
35
}
// namespace ConstitutiveRelations
36
}
// namespace ProcessLib::TH2M
SolidHeatCapacity.h
MaterialPropertyLib::VariableArray
Definition
VariableType.h:97
MaterialPropertyLib::VariableArray::temperature
double temperature
Definition
VariableType.h:188
MaterialPropertyLib
Definition
ChemicalSolverInterface.h:21
ProcessLib::TH2M
Definition
Advection.cpp:13
BaseLib::StrongType< double, struct SolidHeatCapacityTag >
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::TH2M::ConstitutiveRelations::MediaData
Definition
Base.h:39
ProcessLib::TH2M::ConstitutiveRelations::MediaData::solid
MaterialPropertyLib::Phase const & solid
Definition
Base.h:46
ProcessLib::TH2M::ConstitutiveRelations::SolidHeatCapacityModel::eval
void eval(SpaceTimeData const &x_t, MediaData const &media_data, TemperatureData const &T_data, SolidHeatCapacityData &solid_heat_capacity) const
Definition
SolidHeatCapacity.cpp:17
ProcessLib::TH2M::ConstitutiveRelations::TemperatureData
Definition
Base.h:52
ProcessLib::TH2M::ConstitutiveRelations::TemperatureData::T
double T
Definition
Base.h:53
ProcessLib
TH2M
ConstitutiveRelations
SolidHeatCapacity.cpp
Generated by
1.12.0