OGS
FluidDensity.h
Go to the documentation of this file.
1
10
#pragma once
11
12
#include "
Base.h
"
13
#include "
ProcessLib/Reflection/ReflectionData.h
"
14
15
namespace
ProcessLib::TH2M
16
{
17
namespace
ConstitutiveRelations
18
{
19
struct
FluidDensityData
20
{
21
// gas phase density
22
double
rho_GR
=
nan
;
23
24
// liquid phase density
25
double
rho_LR
=
nan
;
26
27
static
auto
reflect
()
28
{
29
using
Self =
FluidDensityData
;
30
namespace
R =
ProcessLib::Reflection
;
31
32
return
std::tuple{
33
R::makeReflectionData(
"gas_density"
, &Self::rho_GR),
34
R::makeReflectionData(
"liquid_density"
, &Self::rho_LR)};
35
}
36
};
37
38
}
// namespace ConstitutiveRelations
39
}
// namespace ProcessLib::TH2M
ReflectionData.h
Base.h
ProcessLib::ConstitutiveRelations::nan
static constexpr double nan
Convenience alias for not a number.
Definition
Base.h:80
ProcessLib::Reflection
Definition
ReflectionData.h:17
ProcessLib::TH2M
Definition
Advection.cpp:13
ProcessLib::TH2M::ConstitutiveRelations::FluidDensityData
Definition
FluidDensity.h:20
ProcessLib::TH2M::ConstitutiveRelations::FluidDensityData::rho_LR
double rho_LR
Definition
FluidDensity.h:25
ProcessLib::TH2M::ConstitutiveRelations::FluidDensityData::rho_GR
double rho_GR
Definition
FluidDensity.h:22
ProcessLib::TH2M::ConstitutiveRelations::FluidDensityData::reflect
static auto reflect()
Definition
FluidDensity.h:27
ProcessLib
TH2M
ConstitutiveRelations
FluidDensity.h
Generated by
1.12.0