OGS
SolidDensity.cpp
Go to the documentation of this file.
1
11
#include "
SolidDensity.h
"
12
13
namespace
ProcessLib::ThermoRichardsMechanics
14
{
15
template
<
int
DisplacementDim>
16
void
SolidDensityModel<DisplacementDim>::eval
(
17
SpaceTimeData
const
& x_t,
18
MediaData
const
& media_data,
19
PorosityData
const
& poro_data,
20
TemperatureData<DisplacementDim>
const
& T_data,
21
SolidDensityData
& out)
const
22
{
23
namespace
MPL
=
MaterialPropertyLib
;
24
MPL::VariableArray
variables;
25
variables.
temperature
= T_data.
T
;
26
27
out.
rho_SR
= media_data.
solid
.
property
(MPL::PropertyType::density)
28
.template value<double>(variables, x_t.
x
, x_t.
t
, x_t.
dt
);
29
out.
dry_density_solid
=
30
(1 - poro_data.
phi
) * out.
rho_SR
;
// TODO only for output
31
}
32
33
template
struct
SolidDensityModel<2>
;
34
template
struct
SolidDensityModel<3>
;
35
}
// namespace ProcessLib::ThermoRichardsMechanics
SolidDensity.h
MaterialPropertyLib::Phase::property
Property const & property(PropertyType const &p) const
Definition
Phase.cpp:53
MaterialPropertyLib::VariableArray
Definition
VariableType.h:99
MaterialPropertyLib::VariableArray::temperature
double temperature
Definition
VariableType.h:191
MaterialPropertyLib
Definition
ChemicalSolverInterface.h:21
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::PorosityData
Definition
Porosity.h:21
ProcessLib::ThermoRichardsMechanics::PorosityData::phi
double phi
Definition
Porosity.h:22
ProcessLib::ThermoRichardsMechanics::SolidDensityData
Definition
SolidDensity.h:19
ProcessLib::ThermoRichardsMechanics::SolidDensityData::rho_SR
double rho_SR
Definition
SolidDensity.h:20
ProcessLib::ThermoRichardsMechanics::SolidDensityData::dry_density_solid
double dry_density_solid
Definition
SolidDensity.h:21
ProcessLib::ThermoRichardsMechanics::SolidDensityModel
Definition
SolidDensity.h:32
ProcessLib::ThermoRichardsMechanics::SolidDensityModel::eval
void eval(SpaceTimeData const &x_t, MediaData const &media_data, PorosityData const &poro_data, TemperatureData< DisplacementDim > const &T_data, SolidDensityData &out) const
Definition
SolidDensity.cpp:16
ProcessLib::ThermoRichardsMechanics::TemperatureData
Definition
Base.h:68
ProcessLib::ThermoRichardsMechanics::TemperatureData::T
double T
Definition
Base.h:69
ProcessLib
ThermoRichardsMechanics
ConstitutiveCommon
SolidDensity.cpp
Generated by
1.11.0