hRefConstThermos.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 | Copyright (C) 2015-2017 OpenFOAM Foundation
6  \\/ M anipulation |
7 -------------------------------------------------------------------------------
8 License
9  This file is part of OpenFOAM.
10 
11  OpenFOAM is free software: you can redistribute it and/or modify it
12  under the terms of the GNU General Public License as published by
13  the Free Software Foundation, either version 3 of the License, or
14  (at your option) any later version.
15 
16  OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
17  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
18  FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
19  for more details.
20 
21  You should have received a copy of the GNU General Public License
22  along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
23 
24 \*---------------------------------------------------------------------------*/
25 
26 #include "makeReactionThermo.H"
27 #include "makeThermo.H"
28 
29 #include "rhoReactionThermo.H"
30 #include "heRhoThermo.H"
31 
32 #include "specie.H"
33 #include "perfectGas.H"
34 #include "perfectFluid.H"
35 #include "rhoConst.H"
36 
37 #include "sensibleEnthalpy.H"
38 
39 #include "hRefConstThermo.H"
40 
41 #include "constTransport.H"
42 
43 #include "pureMixture.H"
44 #include "multiComponentMixture.H"
45 
46 #include "thermoPhysicsTypes.H"
47 
48 
49 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
50 
51 namespace Foam
52 {
53 
54 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
55 
56 // Thermo type typedefs:
57 
58 typedef
59 constTransport
60 <
62  <
63  hRefConstThermo
64  <
65  perfectGas<specie>
66  >,
67  sensibleEnthalpy
68  >
69 > constRefGasHThermoPhysics;
70 
71 typedef
72 constTransport
73 <
75  <
76  hRefConstThermo
77  <
78  perfectFluid<specie>
79  >,
80  sensibleEnthalpy
81  >
82 > constRefFluidHThermoPhysics;
83 
84 typedef
85 constTransport
86 <
88  <
89  hRefConstThermo
90  <
91  perfectGas<specie>
92  >,
93  sensibleInternalEnergy
94  >
95 > constRefGasEThermoPhysics;
96 
97 typedef
98 constTransport
99 <
101  <
102  hRefConstThermo
103  <
104  perfectFluid<specie>
105  >,
106  sensibleInternalEnergy
107  >
108 > constRefFluidEThermoPhysics;
109 
110 typedef
111 constTransport
112 <
114  <
115  hRefConstThermo
116  <
117  rhoConst<specie>
118  >,
119  sensibleInternalEnergy
120  >
121 > constRefRhoConstEThermoPhysics;
122 
123 typedef
124 constTransport
125 <
127  <
128  hRefConstThermo
129  <
130  rhoConst<specie>
131  >,
132  sensibleEnthalpy
133  >
134 > constRefRhoConstHThermoPhysics;
135 
136 
137 // pureMixture, sensibleEnthalpy:
138 
140 (
141  rhoThermo,
142  heRhoThermo,
143  pureMixture,
144  constTransport,
145  sensibleEnthalpy,
146  hRefConstThermo,
147  perfectGas,
148  specie
149 );
150 
152 (
153  rhoThermo,
154  heRhoThermo,
155  pureMixture,
156  constTransport,
157  sensibleEnthalpy,
158  hRefConstThermo,
159  perfectFluid,
160  specie
161 );
162 
164 (
165  rhoThermo,
166  heRhoThermo,
167  pureMixture,
168  constTransport,
169  sensibleEnthalpy,
170  hRefConstThermo,
171  rhoConst,
172  specie
173 );
174 
175 
176 // pureMixture, sensibleInternalEnergy:
177 
179 (
180  rhoThermo,
181  heRhoThermo,
182  pureMixture,
183  constTransport,
184  sensibleInternalEnergy,
185  hRefConstThermo,
186  perfectGas,
187  specie
188 );
189 
191 (
192  rhoThermo,
193  heRhoThermo,
194  pureMixture,
195  constTransport,
196  sensibleInternalEnergy,
197  hRefConstThermo,
198  perfectFluid,
199  specie
200 );
201 
203 (
204  rhoThermo,
205  heRhoThermo,
206  pureMixture,
207  constTransport,
208  sensibleInternalEnergy,
209  hRefConstThermo,
210  rhoConst,
211  specie
212 );
213 
214 
215 // multiComponentMixture, sensibleInternalEnergy:
216 
218 (
219  rhoThermo,
220  rhoReactionThermo,
221  heRhoThermo,
222  multiComponentMixture,
223  constRefGasEThermoPhysics
224 );
225 
227 (
228  rhoThermo,
229  rhoReactionThermo,
230  heRhoThermo,
231  multiComponentMixture,
232  constRefFluidEThermoPhysics
233 );
234 
236 (
237  rhoThermo,
238  rhoReactionThermo,
239  heRhoThermo,
240  multiComponentMixture,
241  constRefRhoConstEThermoPhysics
242 );
243 
244 
245 // multiComponentMixture, sensibleEnthalpy:
246 
248 (
249  rhoThermo,
250  rhoReactionThermo,
251  heRhoThermo,
252  multiComponentMixture,
253  constRefRhoConstHThermoPhysics
254 );
255 
257 (
258  rhoThermo,
259  rhoReactionThermo,
260  heRhoThermo,
261  multiComponentMixture,
262  constRefFluidHThermoPhysics
263 );
264 
266 (
267  rhoThermo,
268  rhoReactionThermo,
269  heRhoThermo,
270  multiComponentMixture,
271  constRefGasHThermoPhysics
272 );
273 
274 
275 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
276 
277 } // End namespace Foam
278 
279 // ************************************************************************* //
Type definitions for thermo-physics models.
Macros for creating basic fluid thermo packages.
psiReactionThermo & thermo
Definition: createFields.H:31
makeReactionMixtureThermo(psiThermo, psiReactionThermo, hePsiThermo, multiComponentMixture, constGasHThermoPhysics)
makeThermo(psiThermo, hePsiThermo, pureMixture, constTransport, sensibleEnthalpy, hConstThermo, perfectGas, specie)
Namespace for OpenFOAM.