BasicChemistryModels.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) 2011-2018 OpenFOAM Foundation
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 InClass
27  Foam::psiChemistryModel
28 
29 Description
30  Creates chemistry model instances templated on the type of thermodynamics
31 
32 \*---------------------------------------------------------------------------*/
33 
34 #include "makeChemistryModel.H"
35 
36 #include "psiReactionThermo.H"
37 #include "rhoReactionThermo.H"
38 
39 #include "StandardChemistryModel.H"
40 #include "TDACChemistryModel.H"
41 #include "thermoPhysicsTypes.H"
42 
43 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
44 
45 namespace Foam
46 {
47  // Make base types
48  makeChemistryModel(psiReactionThermo);
49  makeChemistryModel(rhoReactionThermo);
50 
51  // Chemistry moldels based on sensibleEnthalpy
53  (
54  StandardChemistryModel,
55  psiReactionThermo,
57  );
58 
60  (
61  StandardChemistryModel,
62  psiReactionThermo,
64  );
65 
67  (
68  StandardChemistryModel,
69  psiReactionThermo,
71  );
72 
74  (
75  StandardChemistryModel,
76  psiReactionThermo,
78  );
79 
81  (
82  StandardChemistryModel,
83  psiReactionThermo,
85  );
86 
88  (
89  StandardChemistryModel,
90  psiReactionThermo,
92  );
93 
95  (
96  StandardChemistryModel,
97  psiReactionThermo,
99  );
100 
102  (
103  StandardChemistryModel,
104  psiReactionThermo,
106  );
107 
109  (
110  StandardChemistryModel,
111  psiReactionThermo,
113  );
114 
115 
117  (
118  StandardChemistryModel,
119  rhoReactionThermo,
121  );
122 
124  (
125  StandardChemistryModel,
126  rhoReactionThermo,
128  );
129 
131  (
132  StandardChemistryModel,
133  rhoReactionThermo,
135  );
136 
138  (
139  StandardChemistryModel,
140  rhoReactionThermo,
142  );
143 
145  (
146  StandardChemistryModel,
147  rhoReactionThermo,
149  );
150 
152  (
153  StandardChemistryModel,
154  rhoReactionThermo,
156  );
157 
159  (
160  StandardChemistryModel,
161  rhoReactionThermo,
163  );
164 
166  (
167  StandardChemistryModel,
168  rhoReactionThermo,
170  );
171 
173  (
174  StandardChemistryModel,
175  rhoReactionThermo,
177  );
178 
179 
181  (
182  TDACChemistryModel,
183  psiReactionThermo,
185  );
186 
188  (
189  TDACChemistryModel,
190  psiReactionThermo,
192  );
193 
195  (
196  TDACChemistryModel,
197  psiReactionThermo,
199  );
200 
202  (
203  TDACChemistryModel,
204  psiReactionThermo,
206  );
207 
209  (
210  TDACChemistryModel,
211  psiReactionThermo,
213  );
214 
216  (
217  TDACChemistryModel,
218  psiReactionThermo,
220  );
221 
223  (
224  TDACChemistryModel,
225  psiReactionThermo,
227  );
228 
230  (
231  TDACChemistryModel,
232  psiReactionThermo,
234  );
235 
237  (
238  TDACChemistryModel,
239  psiReactionThermo,
241  );
242 
243 
245  (
246  TDACChemistryModel,
247  rhoReactionThermo,
249  );
250 
252  (
253  TDACChemistryModel,
254  rhoReactionThermo,
256  );
257 
259  (
260  TDACChemistryModel,
261  rhoReactionThermo,
263  );
264 
266  (
267  TDACChemistryModel,
268  rhoReactionThermo,
270  );
271 
273  (
274  TDACChemistryModel,
275  rhoReactionThermo,
277  );
278 
280  (
281  TDACChemistryModel,
282  rhoReactionThermo,
284  );
285 
287  (
288  TDACChemistryModel,
289  rhoReactionThermo,
291  );
292 
294  (
295  TDACChemistryModel,
296  rhoReactionThermo,
298  );
299 
301  (
302  TDACChemistryModel,
303  rhoReactionThermo,
305  );
306 
307 
308  // Chemistry moldels based on sensibleInternalEnergy
310  (
311  StandardChemistryModel,
312  psiReactionThermo,
314  );
315 
317  (
318  StandardChemistryModel,
319  psiReactionThermo,
321  );
322 
324  (
325  StandardChemistryModel,
326  psiReactionThermo,
328  );
329 
331  (
332  StandardChemistryModel,
333  psiReactionThermo,
335  );
336 
338  (
339  StandardChemistryModel,
340  psiReactionThermo,
342  );
343 
345  (
346  StandardChemistryModel,
347  psiReactionThermo,
349  );
350 
352  (
353  StandardChemistryModel,
354  psiReactionThermo,
356  );
357 
359  (
360  StandardChemistryModel,
361  psiReactionThermo,
363  );
364 
366  (
367  StandardChemistryModel,
368  psiReactionThermo,
370  );
371 
372 
373 
375  (
376  StandardChemistryModel,
377  rhoReactionThermo,
379  );
380 
382  (
383  StandardChemistryModel,
384  rhoReactionThermo,
386  );
387 
389  (
390  StandardChemistryModel,
391  rhoReactionThermo,
393  );
394 
396  (
397  StandardChemistryModel,
398  rhoReactionThermo,
400  );
401 
403  (
404  StandardChemistryModel,
405  rhoReactionThermo,
407  );
408 
410  (
411  StandardChemistryModel,
412  rhoReactionThermo,
414  );
415 
417  (
418  StandardChemistryModel,
419  rhoReactionThermo,
421  );
422 
424  (
425  StandardChemistryModel,
426  rhoReactionThermo,
428  );
429 
431  (
432  StandardChemistryModel,
433  rhoReactionThermo,
435  );
436 
437 
439  (
440  TDACChemistryModel,
441  psiReactionThermo,
443  );
444 
446  (
447  TDACChemistryModel,
448  psiReactionThermo,
450  );
451 
453  (
454  TDACChemistryModel,
455  psiReactionThermo,
457  );
458 
460  (
461  TDACChemistryModel,
462  psiReactionThermo,
464  );
465 
467  (
468  TDACChemistryModel,
469  psiReactionThermo,
471  );
472 
474  (
475  TDACChemistryModel,
476  psiReactionThermo,
478  );
479 
481  (
482  TDACChemistryModel,
483  psiReactionThermo,
485  );
486 
488  (
489  TDACChemistryModel,
490  psiReactionThermo,
492  );
493 
495  (
496  TDACChemistryModel,
497  psiReactionThermo,
499  );
500 
501 
503  (
504  TDACChemistryModel,
505  rhoReactionThermo,
507  );
508 
510  (
511  TDACChemistryModel,
512  rhoReactionThermo,
514  );
515 
517  (
518  TDACChemistryModel,
519  rhoReactionThermo,
521  );
522 
524  (
525  TDACChemistryModel,
526  rhoReactionThermo,
528  );
529 
531  (
532  TDACChemistryModel,
533  rhoReactionThermo,
535  );
536 
538  (
539  TDACChemistryModel,
540  rhoReactionThermo,
542  );
543 
545  (
546  TDACChemistryModel,
547  rhoReactionThermo,
549  );
550 
552  (
553  TDACChemistryModel,
554  rhoReactionThermo,
556  );
557 
559  (
560  TDACChemistryModel,
561  rhoReactionThermo,
563  );
564 }
565 
566 // ************************************************************************* //
Type definitions for thermo-physics models.
makeChemistryModelType(StandardChemistryModel, psiReactionThermo, constGasHThermoPhysics)
constTransport< species::thermo< eConstThermo< perfectFluid< specie > >, sensibleInternalEnergy > > constFluidEThermoPhysics
constTransport< species::thermo< eConstThermo< incompressiblePerfectGas< specie > >, sensibleInternalEnergy > > constIncompressibleGasEThermoPhysics
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
makeChemistryModel(psiReactionThermo)
sutherlandTransport< species::thermo< janafThermo< PengRobinsonGas< specie > >, sensibleInternalEnergy > > PengRobinsonGasEThermoPhysics
constTransport< species::thermo< eConstThermo< rhoConst< specie > >, sensibleInternalEnergy > > constEThermoPhysics
constTransport< species::thermo< hConstThermo< rhoConst< specie > >, sensibleEnthalpy > > constHThermoPhysics
sutherlandTransport< species::thermo< janafThermo< incompressiblePerfectGas< specie > >, sensibleInternalEnergy > > incompressibleGasEThermoPhysics
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
sutherlandTransport< species::thermo< janafThermo< PengRobinsonGas< specie > >, sensibleEnthalpy > > PengRobinsonGasHThermoPhysics
polynomialTransport< species::thermo< hPolynomialThermo< icoPolynomial< specie, 8 >, 8 >, sensibleInternalEnergy >, 8 > icoPoly8EThermoPhysics
constTransport< species::thermo< eConstThermo< perfectGas< specie > >, sensibleInternalEnergy > > constGasEThermoPhysics
constTransport< species::thermo< hConstThermo< adiabaticPerfectFluid< specie > >, sensibleEnthalpy > > constAdiabaticFluidHThermoPhysics
Namespace for OpenFOAM.
constTransport< species::thermo< eConstThermo< adiabaticPerfectFluid< specie > >, sensibleInternalEnergy > > constAdiabaticFluidEThermoPhysics
sutherlandTransport< species::thermo< janafThermo< perfectGas< specie > >, sensibleEnthalpy > > gasHThermoPhysics