BasicChemistryModels.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 InClass
25  Foam::psiChemistryModel
26 
27 Description
28  Creates chemistry model instances templated on the type of thermodynamics
29 
30 \*---------------------------------------------------------------------------*/
31 
32 #include "makeChemistryModel.H"
33 
34 #include "psiReactionThermo.H"
35 #include "rhoReactionThermo.H"
36 
37 #include "StandardChemistryModel.H"
38 #include "TDACChemistryModel.H"
39 #include "thermoPhysicsTypes.H"
40 
41 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
42 
43 namespace Foam
44 {
45  // Make base types
46  makeChemistryModel(psiReactionThermo);
47  makeChemistryModel(rhoReactionThermo);
48 
49  // Chemistry moldels based on sensibleEnthalpy
51  (
52  StandardChemistryModel,
53  psiReactionThermo,
55  );
56 
58  (
59  StandardChemistryModel,
60  psiReactionThermo,
62  );
63 
65  (
66  StandardChemistryModel,
67  psiReactionThermo,
69  );
70 
72  (
73  StandardChemistryModel,
74  psiReactionThermo,
76  );
77 
79  (
80  StandardChemistryModel,
81  psiReactionThermo,
83  );
84 
86  (
87  StandardChemistryModel,
88  psiReactionThermo,
90  );
91 
93  (
94  StandardChemistryModel,
95  psiReactionThermo,
97  );
98 
100  (
101  StandardChemistryModel,
102  psiReactionThermo,
104  );
105 
106 
108  (
109  StandardChemistryModel,
110  rhoReactionThermo,
112  );
113 
115  (
116  StandardChemistryModel,
117  rhoReactionThermo,
119  );
120 
122  (
123  StandardChemistryModel,
124  rhoReactionThermo,
126  );
127 
129  (
130  StandardChemistryModel,
131  rhoReactionThermo,
133  );
134 
136  (
137  StandardChemistryModel,
138  rhoReactionThermo,
140  );
141 
143  (
144  StandardChemistryModel,
145  rhoReactionThermo,
147  );
148 
150  (
151  StandardChemistryModel,
152  rhoReactionThermo,
154  );
155 
157  (
158  StandardChemistryModel,
159  rhoReactionThermo,
161  );
162 
163 
165  (
166  TDACChemistryModel,
167  psiReactionThermo,
169  );
170 
172  (
173  TDACChemistryModel,
174  psiReactionThermo,
176  );
177 
179  (
180  TDACChemistryModel,
181  psiReactionThermo,
183  );
184 
186  (
187  TDACChemistryModel,
188  psiReactionThermo,
190  );
191 
193  (
194  TDACChemistryModel,
195  psiReactionThermo,
197  );
198 
200  (
201  TDACChemistryModel,
202  psiReactionThermo,
204  );
205 
207  (
208  TDACChemistryModel,
209  psiReactionThermo,
211  );
212 
214  (
215  TDACChemistryModel,
216  psiReactionThermo,
218  );
219 
220 
222  (
223  TDACChemistryModel,
224  rhoReactionThermo,
226  );
227 
229  (
230  TDACChemistryModel,
231  rhoReactionThermo,
233  );
234 
236  (
237  TDACChemistryModel,
238  rhoReactionThermo,
240  );
241 
243  (
244  TDACChemistryModel,
245  rhoReactionThermo,
247  );
248 
250  (
251  TDACChemistryModel,
252  rhoReactionThermo,
254  );
255 
257  (
258  TDACChemistryModel,
259  rhoReactionThermo,
261  );
262 
264  (
265  TDACChemistryModel,
266  rhoReactionThermo,
268  );
269 
271  (
272  TDACChemistryModel,
273  rhoReactionThermo,
275  );
276 
277 
278  // Chemistry moldels based on sensibleInternalEnergy
280  (
281  StandardChemistryModel,
282  psiReactionThermo,
284  );
285 
287  (
288  StandardChemistryModel,
289  psiReactionThermo,
291  );
292 
294  (
295  StandardChemistryModel,
296  psiReactionThermo,
298  );
299 
301  (
302  StandardChemistryModel,
303  psiReactionThermo,
305  );
306 
308  (
309  StandardChemistryModel,
310  psiReactionThermo,
312  );
313 
315  (
316  StandardChemistryModel,
317  psiReactionThermo,
319  );
320 
322  (
323  StandardChemistryModel,
324  psiReactionThermo,
326  );
327 
329  (
330  StandardChemistryModel,
331  psiReactionThermo,
333  );
334 
335 
336 
338  (
339  StandardChemistryModel,
340  rhoReactionThermo,
342  );
343 
345  (
346  StandardChemistryModel,
347  rhoReactionThermo,
349  );
350 
352  (
353  StandardChemistryModel,
354  rhoReactionThermo,
356  );
357 
359  (
360  StandardChemistryModel,
361  rhoReactionThermo,
363  );
364 
366  (
367  StandardChemistryModel,
368  rhoReactionThermo,
370  );
371 
373  (
374  StandardChemistryModel,
375  rhoReactionThermo,
377  );
378 
380  (
381  StandardChemistryModel,
382  rhoReactionThermo,
384  );
385 
387  (
388  StandardChemistryModel,
389  rhoReactionThermo,
391  );
392 
393 
395  (
396  TDACChemistryModel,
397  psiReactionThermo,
399  );
400 
402  (
403  TDACChemistryModel,
404  psiReactionThermo,
406  );
407 
409  (
410  TDACChemistryModel,
411  psiReactionThermo,
413  );
414 
416  (
417  TDACChemistryModel,
418  psiReactionThermo,
420  );
421 
423  (
424  TDACChemistryModel,
425  psiReactionThermo,
427  );
428 
430  (
431  TDACChemistryModel,
432  psiReactionThermo,
434  );
435 
437  (
438  TDACChemistryModel,
439  psiReactionThermo,
441  );
442 
444  (
445  TDACChemistryModel,
446  psiReactionThermo,
448  );
449 
450 
452  (
453  TDACChemistryModel,
454  rhoReactionThermo,
456  );
457 
459  (
460  TDACChemistryModel,
461  rhoReactionThermo,
463  );
464 
466  (
467  TDACChemistryModel,
468  rhoReactionThermo,
470  );
471 
473  (
474  TDACChemistryModel,
475  rhoReactionThermo,
477  );
478 
480  (
481  TDACChemistryModel,
482  rhoReactionThermo,
484  );
485 
487  (
488  TDACChemistryModel,
489  rhoReactionThermo,
491  );
492 
494  (
495  TDACChemistryModel,
496  rhoReactionThermo,
498  );
499 
501  (
502  TDACChemistryModel,
503  rhoReactionThermo,
505  );
506 }
507 
508 // ************************************************************************* //
Type definitions for thermo-physics models.
makeChemistryModelType(StandardChemistryModel, psiReactionThermo, constGasHThermoPhysics)
Macros for instantiating chemistry models based on compressibility and transport types.
sutherlandTransport< species::thermo< janafThermo< perfectGas< specie > >, sensibleInternalEnergy > > gasEThermoPhysics
constTransport< species::thermo< hConstThermo< perfectGas< specie > >, sensibleEnthalpy > > constGasHThermoPhysics
sutherlandTransport< species::thermo< janafThermo< incompressiblePerfectGas< specie > >, sensibleEnthalpy > > incompressibleGasHThermoPhysics
constTransport< species::thermo< hConstThermo< rhoConst< specie > >, sensibleInternalEnergy > > constEThermoPhysics
makeChemistryModel(psiReactionThermo)
constTransport< species::thermo< hConstThermo< rhoConst< specie > >, sensibleEnthalpy > > constHThermoPhysics
constTransport< species::thermo< hConstThermo< incompressiblePerfectGas< specie > >, sensibleInternalEnergy > > constIncompressibleGasEThermoPhysics
sutherlandTransport< species::thermo< janafThermo< incompressiblePerfectGas< specie > >, sensibleInternalEnergy > > incompressibleGasEThermoPhysics
constTransport< species::thermo< hConstThermo< perfectFluid< specie > >, sensibleInternalEnergy > > constFluidEThermoPhysics
constTransport< species::thermo< hConstThermo< perfectFluid< specie > >, sensibleEnthalpy > > constFluidHThermoPhysics
polynomialTransport< species::thermo< hPolynomialThermo< icoPolynomial< specie, 8 >, 8 >, sensibleEnthalpy >, 8 > icoPoly8HThermoPhysics
constTransport< species::thermo< hConstThermo< incompressiblePerfectGas< specie > >, sensibleEnthalpy > > constIncompressibleGasHThermoPhysics
polynomialTransport< species::thermo< hPolynomialThermo< icoPolynomial< specie, 8 >, 8 >, sensibleInternalEnergy >, 8 > icoPoly8EThermoPhysics
constTransport< species::thermo< hConstThermo< adiabaticPerfectFluid< specie > >, sensibleEnthalpy > > constAdiabaticFluidHThermoPhysics
constTransport< species::thermo< hConstThermo< adiabaticPerfectFluid< specie > >, sensibleInternalEnergy > > constAdiabaticFluidEThermoPhysics
Namespace for OpenFOAM.
constTransport< species::thermo< hConstThermo< perfectGas< specie > >, sensibleInternalEnergy > > constGasEThermoPhysics
sutherlandTransport< species::thermo< janafThermo< perfectGas< specie > >, sensibleEnthalpy > > gasHThermoPhysics