OGS
Enthalpy.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
EnthalpyData
20
{
21
double
h_G
=
nan
;
22
double
h_L
=
nan
;
23
double
h_S
=
nan
;
24
25
static
auto
reflect
()
26
{
27
using
Self =
EnthalpyData
;
28
namespace
R =
ProcessLib::Reflection
;
29
30
return
std::tuple{R::makeReflectionData(
"enthalpy_gas"
, &Self::h_G),
31
R::makeReflectionData(
"enthalpy_liquid"
, &Self::h_L),
32
R::makeReflectionData(
"enthalpy_solid"
, &Self::h_S)};
33
}
34
};
35
36
struct
EffectiveVolumetricEnthalpy
37
{
38
double
rho_h_eff
=
nan
;
39
};
40
41
struct
EffectiveVolumetricEnthalpyDerivatives
42
{
43
double
drho_h_eff_dT
=
nan
;
44
double
drho_h_eff_dp_GR
=
nan
;
45
double
drho_h_eff_dp_cap
=
nan
;
46
};
47
48
}
// namespace ConstitutiveRelations
49
}
// 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
Base.h:19
ProcessLib::TH2M::ConstitutiveRelations::EffectiveVolumetricEnthalpyDerivatives
Definition
Enthalpy.h:42
ProcessLib::TH2M::ConstitutiveRelations::EffectiveVolumetricEnthalpyDerivatives::drho_h_eff_dT
double drho_h_eff_dT
Definition
Enthalpy.h:43
ProcessLib::TH2M::ConstitutiveRelations::EffectiveVolumetricEnthalpyDerivatives::drho_h_eff_dp_cap
double drho_h_eff_dp_cap
Definition
Enthalpy.h:45
ProcessLib::TH2M::ConstitutiveRelations::EffectiveVolumetricEnthalpyDerivatives::drho_h_eff_dp_GR
double drho_h_eff_dp_GR
Definition
Enthalpy.h:44
ProcessLib::TH2M::ConstitutiveRelations::EffectiveVolumetricEnthalpy
Definition
Enthalpy.h:37
ProcessLib::TH2M::ConstitutiveRelations::EffectiveVolumetricEnthalpy::rho_h_eff
double rho_h_eff
Definition
Enthalpy.h:38
ProcessLib::TH2M::ConstitutiveRelations::EnthalpyData
Definition
Enthalpy.h:20
ProcessLib::TH2M::ConstitutiveRelations::EnthalpyData::h_G
double h_G
Definition
Enthalpy.h:21
ProcessLib::TH2M::ConstitutiveRelations::EnthalpyData::h_S
double h_S
Definition
Enthalpy.h:23
ProcessLib::TH2M::ConstitutiveRelations::EnthalpyData::h_L
double h_L
Definition
Enthalpy.h:22
ProcessLib::TH2M::ConstitutiveRelations::EnthalpyData::reflect
static auto reflect()
Definition
Enthalpy.h:25
ProcessLib
TH2M
ConstitutiveRelations
Enthalpy.h
Generated by
1.10.0