OGS
PhaseTransitionData.h
Go to the documentation of this file.
1
10#pragma once
11
12#include "Base.h"
13
14namespace ProcessLib::TH2M
15{
16namespace ConstitutiveRelations
17{
19{
22 double drho_GR_dT = nan;
23
26 double drho_C_GR_dT = nan;
27
30 double drho_W_GR_dT = nan;
31
32 double drho_LR_dT = nan;
34
35 // TODO (naumov) These three are zero in both models but used in the
36 // assembly. Remove them and simplify assembly or correct the expressions in
37 // the phase transition models?
38 static constexpr double drho_C_LR_dp_GR = 0.;
39 static constexpr double drho_C_LR_dT = 0.;
40 static constexpr double drho_C_LR_dp_LR = 0.;
41
43 double drho_W_LR_dT = nan;
45
46 // mass fraction derivatives
47 double dxmWG_dpGR = nan;
48 double dxmWG_dpCap = nan;
49 double dxmWG_dT = nan;
50
51 double dxmWL_dpGR = nan;
52 double dxmWL_dpCap = nan;
53 double dxmWL_dT = nan;
54 // TODO (naumov) This is zero in both models but used in the assembly.
55 // Remove it and simplify assembly or correct the expressions in the phase
56 // transition models?
57 static constexpr double dxmWL_dpLR = 0.;
58
61
62 // specific enthalpies
63 double hCG = nan;
64 double hWG = nan;
65
66 double dh_G_dT = nan;
67 double dh_L_dT = nan;
68
69 // specific inner energies
70 double uG = nan;
71 double uL = nan;
72
73 double du_G_dT = nan;
74 double du_L_dT = nan;
75 double du_G_dp_GR = nan;
76
77 // TODO (naumov) These two are zero in both models but used in the assembly.
78 // Remove them and simplify assembly or correct the expressions in the phase
79 // transition models?
80 static constexpr double du_L_dp_GR = 0;
81 static constexpr double du_L_dp_cap = 0;
82};
83
84} // namespace ConstitutiveRelations
85} // namespace ProcessLib::TH2M
static constexpr double nan
Convenience alias for not a number.
Definition Base.h:80