rhoReactionThermos.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) 2012-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 "rhoReactionThermo.H"
29 #include "heRhoThermo.H"
30 
31 #include "specie.H"
32 #include "perfectGas.H"
34 #include "hConstThermo.H"
35 #include "janafThermo.H"
36 #include "sensibleEnthalpy.H"
37 #include "thermo.H"
38 #include "rhoConst.H"
39 #include "perfectFluid.H"
40 #include "adiabaticPerfectFluid.H"
41 #include "Boussinesq.H"
42 
43 #include "constTransport.H"
44 #include "sutherlandTransport.H"
45 
46 #include "homogeneousMixture.H"
47 #include "inhomogeneousMixture.H"
49 #include "multiComponentMixture.H"
50 #include "reactingMixture.H"
52 #include "singleComponentMixture.H"
53 
54 #include "thermoPhysicsTypes.H"
55 
56 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
57 
58 namespace Foam
59 {
60 
61 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
62 
64 (
65  rhoThermo,
66  rhoReactionThermo,
67  heRhoThermo,
68  homogeneousMixture,
69  constTransport,
70  sensibleEnthalpy,
71  hConstThermo,
72  perfectGas,
73  specie
74 );
75 
77 (
78  rhoThermo,
79  rhoReactionThermo,
80  heRhoThermo,
81  inhomogeneousMixture,
82  constTransport,
83  sensibleEnthalpy,
84  hConstThermo,
85  perfectGas,
86  specie
87 );
88 
90 (
91  rhoThermo,
92  rhoReactionThermo,
93  heRhoThermo,
94  veryInhomogeneousMixture,
95  constTransport,
96  sensibleEnthalpy,
97  hConstThermo,
98  perfectGas,
99  specie
100 );
101 
103 (
104  rhoThermo,
105  rhoReactionThermo,
106  heRhoThermo,
107  homogeneousMixture,
108  sutherlandTransport,
109  sensibleEnthalpy,
110  janafThermo,
111  perfectGas,
112  specie
113 );
114 
116 (
117  rhoThermo,
118  rhoReactionThermo,
119  heRhoThermo,
120  inhomogeneousMixture,
121  sutherlandTransport,
122  sensibleEnthalpy,
123  janafThermo,
124  perfectGas,
125  specie
126 );
127 
129 (
130  rhoThermo,
131  rhoReactionThermo,
132  heRhoThermo,
133  veryInhomogeneousMixture,
134  sutherlandTransport,
135  sensibleEnthalpy,
136  janafThermo,
137  perfectGas,
138  specie
139 );
140 
141 
143 (
144  rhoThermo,
145  rhoReactionThermo,
146  heRhoThermo,
147  homogeneousMixture,
148  constTransport,
149  sensibleEnthalpy,
150  hConstThermo,
151  incompressiblePerfectGas,
152  specie
153 );
154 
156 (
157  rhoThermo,
158  rhoReactionThermo,
159  heRhoThermo,
160  inhomogeneousMixture,
161  constTransport,
162  sensibleEnthalpy,
163  hConstThermo,
164  incompressiblePerfectGas,
165  specie
166 );
167 
169 (
170  rhoThermo,
171  rhoReactionThermo,
172  heRhoThermo,
173  veryInhomogeneousMixture,
174  constTransport,
175  sensibleEnthalpy,
176  hConstThermo,
177  incompressiblePerfectGas,
178  specie
179 );
180 
182 (
183  rhoThermo,
184  rhoReactionThermo,
185  heRhoThermo,
186  homogeneousMixture,
187  sutherlandTransport,
188  sensibleEnthalpy,
189  janafThermo,
190  incompressiblePerfectGas,
191  specie
192 );
193 
195 (
196  rhoThermo,
197  rhoReactionThermo,
198  heRhoThermo,
199  inhomogeneousMixture,
200  sutherlandTransport,
201  sensibleEnthalpy,
202  janafThermo,
203  incompressiblePerfectGas,
204  specie
205 );
206 
208 (
209  rhoThermo,
210  rhoReactionThermo,
211  heRhoThermo,
212  veryInhomogeneousMixture,
213  sutherlandTransport,
214  sensibleEnthalpy,
215  janafThermo,
216  incompressiblePerfectGas,
217  specie
218 );
219 
220 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
221 
222 // Multi-component thermo for internal energy
223 
225 (
226  rhoThermo,
227  rhoReactionThermo,
228  heRhoThermo,
229  multiComponentMixture,
231 );
232 
234 (
235  rhoThermo,
236  rhoReactionThermo,
237  heRhoThermo,
238  multiComponentMixture,
240 );
241 
243 (
244  rhoThermo,
245  rhoReactionThermo,
246  heRhoThermo,
247  multiComponentMixture,
249 );
250 
252 (
253  rhoThermo,
254  rhoReactionThermo,
255  heRhoThermo,
256  multiComponentMixture,
258 );
259 
261 (
262  rhoThermo,
263  rhoReactionThermo,
264  heRhoThermo,
265  multiComponentMixture,
267 );
268 
270 (
271  rhoThermo,
272  rhoReactionThermo,
273  heRhoThermo,
274  multiComponentMixture,
276 );
277 
279 (
280  rhoThermo,
281  rhoReactionThermo,
282  heRhoThermo,
283  multiComponentMixture,
285 );
286 
288 (
289  rhoThermo,
290  rhoReactionThermo,
291  heRhoThermo,
292  multiComponentMixture,
294 );
295 
296 
297 // Reaction thermo for internal energy
298 
300 (
301  rhoThermo,
302  rhoReactionThermo,
303  heRhoThermo,
304  reactingMixture,
306 );
307 
309 (
310  rhoThermo,
311  rhoReactionThermo,
312  heRhoThermo,
313  reactingMixture,
315 );
316 
318 (
319  rhoThermo,
320  rhoReactionThermo,
321  heRhoThermo,
322  reactingMixture,
324 );
325 
327 (
328  rhoThermo,
329  rhoReactionThermo,
330  heRhoThermo,
331  reactingMixture,
333 );
334 
336 (
337  rhoThermo,
338  rhoReactionThermo,
339  heRhoThermo,
340  reactingMixture,
342 );
343 
345 (
346  rhoThermo,
347  rhoReactionThermo,
348  heRhoThermo,
349  reactingMixture,
351 );
352 
354 (
355  rhoThermo,
356  rhoReactionThermo,
357  heRhoThermo,
358  reactingMixture,
360 );
361 
363 (
364  rhoThermo,
365  rhoReactionThermo,
366  heRhoThermo,
367  reactingMixture,
369 );
370 
371 
372 // Single-step reaction thermo for internal energy
373 
375 (
376  rhoThermo,
377  rhoReactionThermo,
378  heRhoThermo,
379  singleStepReactingMixture,
381 );
382 
383 
384 // Single-component thermo for internal energy
385 
387 (
388  rhoReactionThermo,
389  heRhoThermo,
390  singleComponentMixture,
392 );
393 
395 (
396  rhoReactionThermo,
397  heRhoThermo,
398  singleComponentMixture,
400 );
401 
403 (
404  rhoReactionThermo,
405  heRhoThermo,
406  singleComponentMixture,
408 );
409 
411 (
412  rhoReactionThermo,
413  heRhoThermo,
414  singleComponentMixture,
416 );
417 
419 (
420  rhoReactionThermo,
421  heRhoThermo,
422  singleComponentMixture,
424 );
425 
427 (
428  rhoReactionThermo,
429  heRhoThermo,
430  singleComponentMixture,
432 );
433 
435 (
436  rhoReactionThermo,
437  heRhoThermo,
438  singleComponentMixture,
440 );
441 
443 (
444  rhoReactionThermo,
445  heRhoThermo,
446  singleComponentMixture,
448 );
449 
451 (
452  rhoReactionThermo,
453  heRhoThermo,
454  singleComponentMixture,
455  constTransport,
456  sensibleInternalEnergy,
457  hConstThermo,
458  Boussinesq,
459  specie
460 );
461 
463 (
464  rhoReactionThermo,
465  heRhoThermo,
466  singleComponentMixture,
467  sutherlandTransport,
468  sensibleInternalEnergy,
469  janafThermo,
470  Boussinesq,
471  specie
472 );
473 
474 
475 
476 // Multi-component thermo for sensible enthalpy
477 
479 (
480  rhoThermo,
481  rhoReactionThermo,
482  heRhoThermo,
483  multiComponentMixture,
485 );
486 
488 (
489  rhoThermo,
490  rhoReactionThermo,
491  heRhoThermo,
492  multiComponentMixture,
494 );
495 
497 (
498  rhoThermo,
499  rhoReactionThermo,
500  heRhoThermo,
501  multiComponentMixture,
503 );
504 
506 (
507  rhoThermo,
508  rhoReactionThermo,
509  heRhoThermo,
510  multiComponentMixture,
512 );
513 
515 (
516  rhoThermo,
517  rhoReactionThermo,
518  heRhoThermo,
519  multiComponentMixture,
521 );
522 
524 (
525  rhoThermo,
526  rhoReactionThermo,
527  heRhoThermo,
528  multiComponentMixture,
530 );
531 
533 (
534  rhoThermo,
535  rhoReactionThermo,
536  heRhoThermo,
537  multiComponentMixture,
539 );
540 
542 (
543  rhoThermo,
544  rhoReactionThermo,
545  heRhoThermo,
546  multiComponentMixture,
548 );
549 
550 
551 // Reaction thermo for sensible enthalpy
552 
554 (
555  rhoThermo,
556  rhoReactionThermo,
557  heRhoThermo,
558  reactingMixture,
560 );
561 
563 (
564  rhoThermo,
565  rhoReactionThermo,
566  heRhoThermo,
567  reactingMixture,
569 );
570 
572 (
573  rhoThermo,
574  rhoReactionThermo,
575  heRhoThermo,
576  reactingMixture,
578 );
579 
581 (
582  rhoThermo,
583  rhoReactionThermo,
584  heRhoThermo,
585  reactingMixture,
587 );
588 
590 (
591  rhoThermo,
592  rhoReactionThermo,
593  heRhoThermo,
594  reactingMixture,
596 );
597 
599 (
600  rhoThermo,
601  rhoReactionThermo,
602  heRhoThermo,
603  reactingMixture,
605 );
606 
608 (
609  rhoThermo,
610  rhoReactionThermo,
611  heRhoThermo,
612  reactingMixture,
614 );
615 
617 (
618  rhoThermo,
619  rhoReactionThermo,
620  heRhoThermo,
621  reactingMixture,
623 );
624 
625 
626 // Single-step reaction thermo for sensible enthalpy
627 
629 (
630  rhoThermo,
631  rhoReactionThermo,
632  heRhoThermo,
633  singleStepReactingMixture,
635 );
636 
637 
638 // Single-component thermo for sensible enthalpy
639 
641 (
642  rhoReactionThermo,
643  heRhoThermo,
644  singleComponentMixture,
646 );
647 
649 (
650  rhoReactionThermo,
651  heRhoThermo,
652  singleComponentMixture,
654 );
655 
657 (
658  rhoReactionThermo,
659  heRhoThermo,
660  singleComponentMixture,
662 );
663 
665 (
666  rhoReactionThermo,
667  heRhoThermo,
668  singleComponentMixture,
670 );
671 
673 (
674  rhoReactionThermo,
675  heRhoThermo,
676  singleComponentMixture,
678 );
679 
681 (
682  rhoReactionThermo,
683  heRhoThermo,
684  singleComponentMixture,
686 );
687 
689 (
690  rhoReactionThermo,
691  heRhoThermo,
692  singleComponentMixture,
694 );
695 
697 (
698  rhoReactionThermo,
699  heRhoThermo,
700  singleComponentMixture,
702 );
703 
705 (
706  rhoReactionThermo,
707  heRhoThermo,
708  singleComponentMixture,
709  constTransport,
710  sensibleEnthalpy,
711  hConstThermo,
712  Boussinesq,
713  specie
714 );
715 
717 (
718  rhoReactionThermo,
719  heRhoThermo,
720  singleComponentMixture,
721  sutherlandTransport,
722  sensibleEnthalpy,
723  janafThermo,
724  Boussinesq,
725  specie
726 );
727 
728 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
729 
730 } // End namespace Foam
731 
732 // ************************************************************************* //
Type definitions for thermo-physics models.
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
constTransport< species::thermo< hConstThermo< rhoConst< specie > >, sensibleEnthalpy > > constHThermoPhysics
constTransport< species::thermo< hConstThermo< incompressiblePerfectGas< specie > >, sensibleInternalEnergy > > constIncompressibleGasEThermoPhysics
makeReactionThermo(rhoReactionThermo, heRhoThermo, singleComponentMixture, constTransport, sensibleInternalEnergy, hConstThermo, Boussinesq, specie)
sutherlandTransport< species::thermo< janafThermo< incompressiblePerfectGas< specie > >, sensibleInternalEnergy > > incompressibleGasEThermoPhysics
constTransport< species::thermo< hConstThermo< perfectFluid< specie > >, sensibleInternalEnergy > > constFluidEThermoPhysics
constTransport< species::thermo< hConstThermo< perfectFluid< specie > >, sensibleEnthalpy > > constFluidHThermoPhysics
makeReactionThermos(psiThermo, psiReactionThermo, hePsiThermo, homogeneousMixture, constTransport, sensibleEnthalpy, hConstThermo, perfectGas, specie)
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
makeThermoPhysicsReactionThermo(psiReactionThermo, hePsiThermo, singleComponentMixture, constGasHThermoPhysics)
makeThermoPhysicsReactionThermos(psiThermo, psiReactionThermo, hePsiThermo, multiComponentMixture, constGasHThermoPhysics)
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