OpenFOAM
v2312
The open source CFD toolbox
psiZoneThermos.C
Go to the documentation of this file.
1
/*---------------------------------------------------------------------------*\
2
========= |
3
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
4
\\ / O peration |
5
\\ / A nd | www.openfoam.com
6
\\/ M anipulation |
7
-------------------------------------------------------------------------------
8
Copyright (C) 2021,2022 OpenCFD Ltd.
9
-------------------------------------------------------------------------------
10
License
11
This file is part of OpenFOAM.
12
13
OpenFOAM is free software: you can redistribute it and/or modify it
14
under the terms of the GNU General Public License as published by
15
the Free Software Foundation, either version 3 of the License, or
16
(at your option) any later version.
17
18
OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
19
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
20
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
21
for more details.
22
23
You should have received a copy of the GNU General Public License
24
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
25
26
\*---------------------------------------------------------------------------*/
27
28
#include "
psiThermo.H
"
29
#include "
makeThermo.H
"
30
31
#include "
specie.H
"
32
#include "
perfectGas.H
"
33
#include "
PengRobinsonGas.H
"
34
#include "
hConstThermo.H
"
35
#include "
eConstThermo.H
"
36
#include "
janafThermo.H
"
37
#include "
sensibleEnthalpy.H
"
38
#include "
sensibleInternalEnergy.H
"
39
#include "thermo.H"
40
41
#include "
constTransport.H
"
42
#include "
sutherlandTransport.H
"
43
44
#include "
hPolynomialThermo.H
"
45
#include "
polynomialTransport.H
"
46
47
#include "
hePsiThermo.H
"
48
#include "
pureZoneMixture.H
"
49
50
#include "
thermoPhysicsTypes.H
"
51
52
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
53
54
namespace
Foam
55
{
56
57
/* * * * * * * * * * * * * * * * * Enthalpy-based * * * * * * * * * * * * * */
58
59
makeThermos
60
(
61
psiThermo,
62
hePsiThermo,
63
pureZoneMixture,
64
constTransport,
65
sensibleEnthalpy,
66
hConstThermo,
67
perfectGas,
68
specie
69
);
70
71
// Note: pureZoneMixture copies mixture model for every evaluation of cell
72
// so can become expensive for complex models (e.g. with tables)
73
74
makeThermos
75
(
76
psiThermo,
77
hePsiThermo,
78
pureZoneMixture,
79
sutherlandTransport,
80
sensibleEnthalpy,
81
hConstThermo,
82
perfectGas,
83
specie
84
);
85
86
makeThermos
87
(
88
psiThermo,
89
hePsiThermo,
90
pureZoneMixture,
91
sutherlandTransport,
92
sensibleEnthalpy,
93
janafThermo,
94
perfectGas,
95
specie
96
);
97
98
makeThermos
99
(
100
psiThermo,
101
hePsiThermo,
102
pureZoneMixture,
103
sutherlandTransport,
104
sensibleEnthalpy,
105
hConstThermo,
106
PengRobinsonGas,
107
specie
108
);
109
110
makeThermos
111
(
112
psiThermo,
113
hePsiThermo,
114
pureZoneMixture,
115
polynomialTransport,
116
sensibleEnthalpy,
117
hPolynomialThermo,
118
PengRobinsonGas,
119
specie
120
);
121
122
makeThermos
123
(
124
psiThermo,
125
hePsiThermo,
126
pureZoneMixture,
127
polynomialTransport,
128
sensibleEnthalpy,
129
janafThermo,
130
PengRobinsonGas,
131
specie
132
);
133
134
makeThermos
135
(
136
psiThermo,
137
hePsiThermo,
138
pureZoneMixture,
139
sutherlandTransport,
140
sensibleEnthalpy,
141
janafThermo,
142
PengRobinsonGas,
143
specie
144
);
145
146
147
/* * * * * * * * * * * * * * Internal-energy-based * * * * * * * * * * * * * */
148
149
makeThermos
150
(
151
psiThermo,
152
hePsiThermo,
153
pureZoneMixture,
154
constTransport,
155
sensibleInternalEnergy,
156
eConstThermo,
157
perfectGas,
158
specie
159
);
160
161
makeThermos
162
(
163
psiThermo,
164
hePsiThermo,
165
pureZoneMixture,
166
sutherlandTransport,
167
sensibleInternalEnergy,
168
eConstThermo,
169
perfectGas,
170
specie
171
);
172
173
makeThermos
174
(
175
psiThermo,
176
hePsiThermo,
177
pureZoneMixture,
178
constTransport,
179
sensibleInternalEnergy,
180
hConstThermo,
181
perfectGas,
182
specie
183
);
184
185
makeThermos
186
(
187
psiThermo,
188
hePsiThermo,
189
pureZoneMixture,
190
sutherlandTransport,
191
sensibleInternalEnergy,
192
hConstThermo,
193
perfectGas,
194
specie
195
);
196
197
makeThermos
198
(
199
psiThermo,
200
hePsiThermo,
201
pureZoneMixture,
202
sutherlandTransport,
203
sensibleInternalEnergy,
204
janafThermo,
205
perfectGas,
206
specie
207
);
208
209
makeThermos
210
(
211
psiThermo,
212
hePsiThermo,
213
pureZoneMixture,
214
sutherlandTransport,
215
sensibleInternalEnergy,
216
janafThermo,
217
PengRobinsonGas,
218
specie
219
);
220
221
222
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
223
224
}
// End namespace Foam
225
226
// ************************************************************************* //
thermoPhysicsTypes.H
Type definitions for thermo-physics models.
pureZoneMixture.H
psiThermo.H
janafThermo.H
makeThermo.H
Macros for creating basic fluid thermo packages.
polynomialTransport.H
perfectGas.H
constTransport.H
sensibleInternalEnergy.H
sensibleEnthalpy.H
PengRobinsonGas.H
hePsiThermo.H
specie.H
hPolynomialThermo.H
sutherlandTransport.H
Foam::makeThermos
makeThermos(psiThermo, hePsiThermo, pureMixture, constTransport, sensibleEnthalpy, hConstThermo, perfectGas, specie)
eConstThermo.H
hConstThermo.H
Foam
Namespace for OpenFOAM.
Definition:
atmBoundaryLayer.C:26
src
thermophysicalModels
basic
psiThermo
psiZoneThermos.C
Generated by
1.8.14