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
57
58 // specific enthalpies
59 double hCG = nan;
60 double hWG = nan;
61
62 double dh_G_dT = nan;
63 double dh_L_dT = nan;
64
65 // specific inner energies
66 double uG = nan;
67 double uL = nan;
68
69 double du_G_dT = nan;
70 double du_L_dT = nan;
71 double du_G_dp_GR = nan;
72
73 // TODO (naumov) These two are zero in both models but used in the assembly.
74 // Remove them and simplify assembly or correct the expressions in the phase
75 // transition models?
76 static constexpr double du_L_dp_GR = 0;
77 static constexpr double du_L_dp_cap = 0;
78};
79
80} // namespace ConstitutiveRelations
81} // namespace ProcessLib::TH2M
static constexpr double nan
Convenience alias for not a number.
Definition Base.h:80