OGS
PhaseTransitionData.h
Go to the documentation of this file.
1
10
#pragma once
11
12
#include "
Base.h
"
13
14
namespace
ProcessLib::TH2M
15
{
16
namespace
ConstitutiveRelations
17
{
18
struct
PhaseTransitionData
19
{
20
double
drho_GR_dp_GR
=
nan
;
21
double
drho_GR_dp_cap
=
nan
;
22
double
drho_GR_dT
=
nan
;
23
24
double
drho_C_GR_dp_GR
=
nan
;
25
double
drho_C_GR_dp_cap
=
nan
;
26
double
drho_C_GR_dT
=
nan
;
27
28
double
drho_W_GR_dp_GR
=
nan
;
29
double
drho_W_GR_dp_cap
=
nan
;
30
double
drho_W_GR_dT
=
nan
;
31
32
double
drho_LR_dT
=
nan
;
33
double
drho_LR_dp_LR
=
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
42
double
drho_W_LR_dp_GR
=
nan
;
43
double
drho_W_LR_dT
=
nan
;
44
double
drho_W_LR_dp_LR
=
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
55
double
diffusion_coefficient_vapour
=
nan
;
56
double
diffusion_coefficient_solute
=
nan
;
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
Base.h
ProcessLib::ConstitutiveRelations::nan
static constexpr double nan
Convenience alias for not a number.
Definition
Base.h:80
ProcessLib::TH2M
Definition
Advection.cpp:13
ProcessLib::TH2M::ConstitutiveRelations::PhaseTransitionData
Definition
PhaseTransitionData.h:19
ProcessLib::TH2M::ConstitutiveRelations::PhaseTransitionData::hWG
double hWG
Definition
PhaseTransitionData.h:60
ProcessLib::TH2M::ConstitutiveRelations::PhaseTransitionData::drho_LR_dp_LR
double drho_LR_dp_LR
Definition
PhaseTransitionData.h:33
ProcessLib::TH2M::ConstitutiveRelations::PhaseTransitionData::uL
double uL
Definition
PhaseTransitionData.h:67
ProcessLib::TH2M::ConstitutiveRelations::PhaseTransitionData::drho_W_GR_dT
double drho_W_GR_dT
Definition
PhaseTransitionData.h:30
ProcessLib::TH2M::ConstitutiveRelations::PhaseTransitionData::dxmWL_dpGR
double dxmWL_dpGR
Definition
PhaseTransitionData.h:51
ProcessLib::TH2M::ConstitutiveRelations::PhaseTransitionData::drho_GR_dT
double drho_GR_dT
Definition
PhaseTransitionData.h:22
ProcessLib::TH2M::ConstitutiveRelations::PhaseTransitionData::du_L_dp_GR
static constexpr double du_L_dp_GR
Definition
PhaseTransitionData.h:76
ProcessLib::TH2M::ConstitutiveRelations::PhaseTransitionData::dxmWG_dpGR
double dxmWG_dpGR
Definition
PhaseTransitionData.h:47
ProcessLib::TH2M::ConstitutiveRelations::PhaseTransitionData::drho_W_GR_dp_GR
double drho_W_GR_dp_GR
Definition
PhaseTransitionData.h:28
ProcessLib::TH2M::ConstitutiveRelations::PhaseTransitionData::du_G_dp_GR
double du_G_dp_GR
Definition
PhaseTransitionData.h:71
ProcessLib::TH2M::ConstitutiveRelations::PhaseTransitionData::dxmWG_dT
double dxmWG_dT
Definition
PhaseTransitionData.h:49
ProcessLib::TH2M::ConstitutiveRelations::PhaseTransitionData::diffusion_coefficient_solute
double diffusion_coefficient_solute
Definition
PhaseTransitionData.h:56
ProcessLib::TH2M::ConstitutiveRelations::PhaseTransitionData::drho_C_GR_dp_GR
double drho_C_GR_dp_GR
Definition
PhaseTransitionData.h:24
ProcessLib::TH2M::ConstitutiveRelations::PhaseTransitionData::hCG
double hCG
Definition
PhaseTransitionData.h:59
ProcessLib::TH2M::ConstitutiveRelations::PhaseTransitionData::dh_L_dT
double dh_L_dT
Definition
PhaseTransitionData.h:63
ProcessLib::TH2M::ConstitutiveRelations::PhaseTransitionData::drho_C_LR_dp_LR
static constexpr double drho_C_LR_dp_LR
Definition
PhaseTransitionData.h:40
ProcessLib::TH2M::ConstitutiveRelations::PhaseTransitionData::dxmWL_dpCap
double dxmWL_dpCap
Definition
PhaseTransitionData.h:52
ProcessLib::TH2M::ConstitutiveRelations::PhaseTransitionData::drho_LR_dT
double drho_LR_dT
Definition
PhaseTransitionData.h:32
ProcessLib::TH2M::ConstitutiveRelations::PhaseTransitionData::drho_GR_dp_cap
double drho_GR_dp_cap
Definition
PhaseTransitionData.h:21
ProcessLib::TH2M::ConstitutiveRelations::PhaseTransitionData::drho_GR_dp_GR
double drho_GR_dp_GR
Definition
PhaseTransitionData.h:20
ProcessLib::TH2M::ConstitutiveRelations::PhaseTransitionData::drho_C_LR_dT
static constexpr double drho_C_LR_dT
Definition
PhaseTransitionData.h:39
ProcessLib::TH2M::ConstitutiveRelations::PhaseTransitionData::drho_W_LR_dT
double drho_W_LR_dT
Definition
PhaseTransitionData.h:43
ProcessLib::TH2M::ConstitutiveRelations::PhaseTransitionData::drho_W_GR_dp_cap
double drho_W_GR_dp_cap
Definition
PhaseTransitionData.h:29
ProcessLib::TH2M::ConstitutiveRelations::PhaseTransitionData::dxmWG_dpCap
double dxmWG_dpCap
Definition
PhaseTransitionData.h:48
ProcessLib::TH2M::ConstitutiveRelations::PhaseTransitionData::drho_W_LR_dp_GR
double drho_W_LR_dp_GR
Definition
PhaseTransitionData.h:42
ProcessLib::TH2M::ConstitutiveRelations::PhaseTransitionData::du_G_dT
double du_G_dT
Definition
PhaseTransitionData.h:69
ProcessLib::TH2M::ConstitutiveRelations::PhaseTransitionData::drho_C_GR_dp_cap
double drho_C_GR_dp_cap
Definition
PhaseTransitionData.h:25
ProcessLib::TH2M::ConstitutiveRelations::PhaseTransitionData::drho_C_GR_dT
double drho_C_GR_dT
Definition
PhaseTransitionData.h:26
ProcessLib::TH2M::ConstitutiveRelations::PhaseTransitionData::drho_C_LR_dp_GR
static constexpr double drho_C_LR_dp_GR
Definition
PhaseTransitionData.h:38
ProcessLib::TH2M::ConstitutiveRelations::PhaseTransitionData::drho_W_LR_dp_LR
double drho_W_LR_dp_LR
Definition
PhaseTransitionData.h:44
ProcessLib::TH2M::ConstitutiveRelations::PhaseTransitionData::dh_G_dT
double dh_G_dT
Definition
PhaseTransitionData.h:62
ProcessLib::TH2M::ConstitutiveRelations::PhaseTransitionData::uG
double uG
Definition
PhaseTransitionData.h:66
ProcessLib::TH2M::ConstitutiveRelations::PhaseTransitionData::du_L_dp_cap
static constexpr double du_L_dp_cap
Definition
PhaseTransitionData.h:77
ProcessLib::TH2M::ConstitutiveRelations::PhaseTransitionData::du_L_dT
double du_L_dT
Definition
PhaseTransitionData.h:70
ProcessLib::TH2M::ConstitutiveRelations::PhaseTransitionData::diffusion_coefficient_vapour
double diffusion_coefficient_vapour
Definition
PhaseTransitionData.h:55
ProcessLib::TH2M::ConstitutiveRelations::PhaseTransitionData::dxmWL_dT
double dxmWL_dT
Definition
PhaseTransitionData.h:53
ProcessLib
TH2M
ConstitutiveRelations
PhaseTransitionData.h
Generated by
1.12.0