psiReactionThermos.C
Go to the documentation of this file.
1 /*---------------------------------------------------------------------------*\
2  ========= |
3  \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
4  \\ / O peration | Website: https://openfoam.org
5  \\ / A nd | Copyright (C) 2011-2018 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 
28 #include "psiReactionThermo.H"
29 #include "hePsiThermo.H"
30 
31 #include "specie.H"
32 #include "perfectGas.H"
33 #include "hConstThermo.H"
34 #include "janafThermo.H"
35 #include "sensibleEnthalpy.H"
36 #include "thermo.H"
37 #include "constTransport.H"
38 #include "sutherlandTransport.H"
39 
40 #include "homogeneousMixture.H"
41 #include "inhomogeneousMixture.H"
43 #include "multiComponentMixture.H"
44 #include "reactingMixture.H"
46 #include "singleComponentMixture.H"
47 
48 #include "thermoPhysicsTypes.H"
49 
50 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
51 
52 namespace Foam
53 {
54 
55 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
56 
57 // constTransport, hConstThermo
58 
60 (
61  psiThermo,
62  psiReactionThermo,
63  hePsiThermo,
64  homogeneousMixture,
65  constTransport,
66  sensibleEnthalpy,
67  hConstThermo,
68  perfectGas,
69  specie
70 );
71 
73 (
74  psiThermo,
75  psiReactionThermo,
76  hePsiThermo,
77  inhomogeneousMixture,
78  constTransport,
79  sensibleEnthalpy,
80  hConstThermo,
81  perfectGas,
82  specie
83 );
84 
86 (
87  psiThermo,
88  psiReactionThermo,
89  hePsiThermo,
90  veryInhomogeneousMixture,
91  constTransport,
92  sensibleEnthalpy,
93  hConstThermo,
94  perfectGas,
95  specie
96 );
97 
98 
99 // sutherlandTransport, hConstThermo
100 
102 (
103  psiThermo,
104  psiReactionThermo,
105  hePsiThermo,
106  homogeneousMixture,
107  sutherlandTransport,
108  sensibleEnthalpy,
109  hConstThermo,
110  perfectGas,
111  specie
112 );
113 
115 (
116  psiThermo,
117  psiReactionThermo,
118  hePsiThermo,
119  inhomogeneousMixture,
120  sutherlandTransport,
121  sensibleEnthalpy,
122  hConstThermo,
123  perfectGas,
124  specie
125 );
126 
128 (
129  psiThermo,
130  psiReactionThermo,
131  hePsiThermo,
132  veryInhomogeneousMixture,
133  sutherlandTransport,
134  sensibleEnthalpy,
135  hConstThermo,
136  perfectGas,
137  specie
138 );
139 
140 
141 // sutherlandTransport, janafThermo
142 
144 (
145  psiThermo,
146  psiReactionThermo,
147  hePsiThermo,
148  homogeneousMixture,
149  sutherlandTransport,
150  sensibleEnthalpy,
151  janafThermo,
152  perfectGas,
153  specie
154 );
155 
157 (
158  psiThermo,
159  psiReactionThermo,
160  hePsiThermo,
161  inhomogeneousMixture,
162  sutherlandTransport,
163  sensibleEnthalpy,
164  janafThermo,
165  perfectGas,
166  specie
167 );
168 
170 (
171  psiThermo,
172  psiReactionThermo,
173  hePsiThermo,
174  veryInhomogeneousMixture,
175  sutherlandTransport,
176  sensibleEnthalpy,
177  janafThermo,
178  perfectGas,
179  specie
180 );
181 
182 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
183 
184 // Multi-component thermo for sensible enthalpy
185 
187 (
188  psiThermo,
189  psiReactionThermo,
190  hePsiThermo,
191  multiComponentMixture,
193 );
194 
196 (
197  psiThermo,
198  psiReactionThermo,
199  hePsiThermo,
200  multiComponentMixture,
202 );
203 
204 
205 // Multi-component thermo for internal energy
206 
208 (
209  psiThermo,
210  psiReactionThermo,
211  hePsiThermo,
212  multiComponentMixture,
214 );
215 
217 (
218  psiThermo,
219  psiReactionThermo,
220  hePsiThermo,
221  multiComponentMixture,
223 );
224 
225 
226 // Reaction thermo for sensible enthalpy
227 
229 (
230  psiThermo,
231  psiReactionThermo,
232  hePsiThermo,
233  reactingMixture,
235 );
236 
238 (
239  psiThermo,
240  psiReactionThermo,
241  hePsiThermo,
242  reactingMixture,
244 );
245 
246 
247 // Single-step reaction thermo for sensible enthalpy
248 
250 (
251  psiThermo,
252  psiReactionThermo,
253  hePsiThermo,
254  singleStepReactingMixture,
256 );
257 
258 
259 // Reaction thermo for internal energy
260 
262 (
263  psiThermo,
264  psiReactionThermo,
265  hePsiThermo,
266  reactingMixture,
268 );
269 
271 (
272  psiThermo,
273  psiReactionThermo,
274  hePsiThermo,
275  reactingMixture,
277 );
278 
279 
280 // Single-step reaction thermo for internal energy
281 
283 (
284  psiThermo,
285  psiReactionThermo,
286  hePsiThermo,
287  singleStepReactingMixture,
289 );
290 
291 
292 // Single-component thermo for sensible enthalpy
293 
295 (
296  psiReactionThermo,
297  hePsiThermo,
298  singleComponentMixture,
300 );
301 
303 (
304  psiReactionThermo,
305  hePsiThermo,
306  singleComponentMixture,
308 );
309 
310 
311 // Single-component thermo for internal energy
312 
314 (
315  psiReactionThermo,
316  hePsiThermo,
317  singleComponentMixture,
319 );
320 
322 (
323  psiReactionThermo,
324  hePsiThermo,
325  singleComponentMixture,
327 );
328 
329 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
330 
331 } // End namespace Foam
332 
333 // ************************************************************************* //
Type definitions for thermo-physics models.
sutherlandTransport< species::thermo< janafThermo< perfectGas< specie > >, sensibleInternalEnergy > > gasEThermoPhysics
constTransport< species::thermo< hConstThermo< perfectGas< specie > >, sensibleEnthalpy > > constGasHThermoPhysics
makeReactionThermos(psiThermo, psiReactionThermo, hePsiThermo, homogeneousMixture, constTransport, sensibleEnthalpy, hConstThermo, perfectGas, specie)
constTransport< species::thermo< eConstThermo< perfectGas< specie > >, sensibleInternalEnergy > > constGasEThermoPhysics
makeThermoPhysicsReactionThermo(psiReactionThermo, hePsiThermo, singleComponentMixture, constGasHThermoPhysics)
makeThermoPhysicsReactionThermos(psiThermo, psiReactionThermo, hePsiThermo, multiComponentMixture, constGasHThermoPhysics)
Namespace for OpenFOAM.
sutherlandTransport< species::thermo< janafThermo< perfectGas< specie > >, sensibleEnthalpy > > gasHThermoPhysics