OGS
Enthalpy.h
Go to the documentation of this file.
1
10#pragma once
11
12#include "Base.h"
14
15namespace ProcessLib::TH2M
16{
17namespace ConstitutiveRelations
18{
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
40
47
48} // namespace ConstitutiveRelations
49} // namespace ProcessLib::TH2M
static constexpr double nan
Convenience alias for not a number.
Definition Base.h:80