OGS
FluidDensity.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 // 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
static constexpr double nan
Convenience alias for not a number.
Definition Base.h:80