OGS
LiquidDensity.h
Go to the documentation of this file.
1
11
#pragma once
12
13
#include "
Base.h
"
14
15
namespace
ProcessLib::ThermoRichardsMechanics
16
{
17
struct
LiquidDensityData
18
{
19
double
rho_LR
;
20
double
drho_LR_dp
;
21
double
drho_LR_dT
;
22
23
static
auto
reflect
()
24
{
25
return
ProcessLib::Reflection::reflectWithName
(
26
"liquid_density"
, &
LiquidDensityData::rho_LR
);
27
}
28
};
29
30
template
<
int
DisplacementDim>
31
struct
LiquidDensityModel
32
{
33
void
eval
(
SpaceTimeData
const
& x_t,
MediaData
const
& media_data,
34
CapillaryPressureData<DisplacementDim>
const
& p_cap_data,
35
TemperatureData<DisplacementDim>
const
& T_data,
36
LiquidDensityData
& out)
const
;
37
};
38
39
extern
template
struct
LiquidDensityModel<2>
;
40
extern
template
struct
LiquidDensityModel<3>
;
41
}
// namespace ProcessLib::ThermoRichardsMechanics
Base.h
ProcessLib::Reflection::reflectWithName
auto reflectWithName(std::string name, Member Class::*member)
Definition
ReflectionData.h:79
ProcessLib::ThermoRichardsMechanics
Definition
Base.h:20
ProcessLib::ConstitutiveRelations::SpaceTimeData
Definition
Base.h:73
ProcessLib::ThermoRichardsMechanics::CapillaryPressureData
Definition
Base.h:76
ProcessLib::ThermoRichardsMechanics::LiquidDensityData
Definition
LiquidDensity.h:18
ProcessLib::ThermoRichardsMechanics::LiquidDensityData::rho_LR
double rho_LR
Definition
LiquidDensity.h:19
ProcessLib::ThermoRichardsMechanics::LiquidDensityData::reflect
static auto reflect()
Definition
LiquidDensity.h:23
ProcessLib::ThermoRichardsMechanics::LiquidDensityData::drho_LR_dp
double drho_LR_dp
Definition
LiquidDensity.h:20
ProcessLib::ThermoRichardsMechanics::LiquidDensityData::drho_LR_dT
double drho_LR_dT
Definition
LiquidDensity.h:21
ProcessLib::ThermoRichardsMechanics::LiquidDensityModel
Definition
LiquidDensity.h:32
ProcessLib::ThermoRichardsMechanics::LiquidDensityModel::eval
void eval(SpaceTimeData const &x_t, MediaData const &media_data, CapillaryPressureData< DisplacementDim > const &p_cap_data, TemperatureData< DisplacementDim > const &T_data, LiquidDensityData &out) const
Definition
LiquidDensity.cpp:16
ProcessLib::ThermoRichardsMechanics::MediaData
Definition
Base.h:53
ProcessLib::ThermoRichardsMechanics::TemperatureData
Definition
Base.h:68
ProcessLib
ThermoRichardsMechanics
ConstitutiveCommon
LiquidDensity.h
Generated by
1.10.0