OGS
PhaseTransitionData.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) OpenGeoSys Community (opengeosys.org)
2// SPDX-License-Identifier: BSD-3-Clause
3
4#pragma once
5
6#include "Base.h"
7
8namespace ProcessLib::TH2M
9{
11{
13{
16 double drho_GR_dT = nan;
17
20 double drho_C_GR_dT = nan;
21
24 double drho_W_GR_dT = nan;
25
26 double drho_LR_dT = nan;
28
29 // TODO (naumov) These three are zero in both models but used in the
30 // assembly. Remove them and simplify assembly or correct the expressions in
31 // the phase transition models?
32 static constexpr double drho_C_LR_dp_GR = 0.;
33 static constexpr double drho_C_LR_dT = 0.;
34 static constexpr double drho_C_LR_dp_LR = 0.;
35
37 double drho_W_LR_dT = nan;
39
40 // mass fraction derivatives
41 double dxmWG_dpGR = nan;
42 double dxmWG_dpCap = nan;
43 double dxmWG_dT = nan;
44
45 double dxmWL_dpGR = nan;
46 double dxmWL_dpCap = nan;
47 double dxmWL_dT = nan;
48
51
52 // specific enthalpies
53 double hCG = nan;
54 double hWG = nan;
55
56 double dh_G_dT = nan;
57 double dh_L_dT = nan;
58
59 // specific inner energies
60 double uG = nan;
61 double uL = nan;
62
63 double du_G_dT = nan;
64 double du_L_dT = nan;
65 double du_G_dp_GR = nan;
66
67 // TODO (naumov) These two are zero in both models but used in the assembly.
68 // Remove them and simplify assembly or correct the expressions in the phase
69 // transition models?
70 static constexpr double du_L_dp_GR = 0;
71 static constexpr double du_L_dp_cap = 0;
72};
73
74} // namespace ConstitutiveRelations
75} // namespace ProcessLib::TH2M
static constexpr double nan
Convenience alias for not a number.