rhoReactionThermos.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) 2012-2017 OpenFOAM Foundation
9  Copyright (C) 2018 OpenCFD Ltd.
10 -------------------------------------------------------------------------------
11 License
12  This file is part of OpenFOAM.
13 
14  OpenFOAM is free software: you can redistribute it and/or modify it
15  under the terms of the GNU General Public License as published by
16  the Free Software Foundation, either version 3 of the License, or
17  (at your option) any later version.
18 
19  OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
20  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
21  FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
22  for more details.
23 
24  You should have received a copy of the GNU General Public License
25  along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
26 
27 \*---------------------------------------------------------------------------*/
28 
29 #include "makeReactionThermo.H"
30 
31 #include "rhoReactionThermo.H"
32 #include "heRhoThermo.H"
33 
34 #include "specie.H"
35 #include "perfectGas.H"
36 #include "PengRobinsonGas.H"
38 #include "hConstThermo.H"
39 #include "janafThermo.H"
40 #include "sensibleEnthalpy.H"
41 #include "thermo.H"
42 #include "rhoConst.H"
43 #include "rPolynomial.H"
44 #include "perfectFluid.H"
45 #include "adiabaticPerfectFluid.H"
46 #include "Boussinesq.H"
47 
48 #include "constTransport.H"
49 #include "sutherlandTransport.H"
50 #include "WLFTransport.H"
51 
52 #include "homogeneousMixture.H"
53 #include "inhomogeneousMixture.H"
55 #include "multiComponentMixture.H"
56 #include "reactingMixture.H"
58 #include "singleComponentMixture.H"
59 
60 #include "thermoPhysicsTypes.H"
61 
62 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
63 
64 namespace Foam
65 {
66 
67 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
68 
70 (
71  rhoThermo,
72  rhoReactionThermo,
73  heRhoThermo,
74  homogeneousMixture,
75  constTransport,
76  sensibleEnthalpy,
77  hConstThermo,
78  perfectGas,
79  specie
80 );
81 
83 (
84  rhoThermo,
85  rhoReactionThermo,
86  heRhoThermo,
87  inhomogeneousMixture,
88  constTransport,
89  sensibleEnthalpy,
90  hConstThermo,
91  perfectGas,
92  specie
93 );
94 
96 (
97  rhoThermo,
98  rhoReactionThermo,
99  heRhoThermo,
100  veryInhomogeneousMixture,
101  constTransport,
102  sensibleEnthalpy,
103  hConstThermo,
104  perfectGas,
105  specie
106 );
107 
109 (
110  rhoThermo,
111  rhoReactionThermo,
112  heRhoThermo,
113  homogeneousMixture,
114  sutherlandTransport,
115  sensibleEnthalpy,
116  janafThermo,
117  perfectGas,
118  specie
119 );
120 
122 (
123  rhoThermo,
124  rhoReactionThermo,
125  heRhoThermo,
126  inhomogeneousMixture,
127  sutherlandTransport,
128  sensibleEnthalpy,
129  janafThermo,
130  perfectGas,
131  specie
132 );
133 
135 (
136  rhoThermo,
137  rhoReactionThermo,
138  heRhoThermo,
139  veryInhomogeneousMixture,
140  sutherlandTransport,
141  sensibleEnthalpy,
142  janafThermo,
143  perfectGas,
144  specie
145 );
146 
147 
149 (
150  rhoThermo,
151  rhoReactionThermo,
152  heRhoThermo,
153  homogeneousMixture,
154  constTransport,
155  sensibleEnthalpy,
156  hConstThermo,
157  incompressiblePerfectGas,
158  specie
159 );
160 
162 (
163  rhoThermo,
164  rhoReactionThermo,
165  heRhoThermo,
166  inhomogeneousMixture,
167  constTransport,
168  sensibleEnthalpy,
169  hConstThermo,
170  incompressiblePerfectGas,
171  specie
172 );
173 
175 (
176  rhoThermo,
177  rhoReactionThermo,
178  heRhoThermo,
179  veryInhomogeneousMixture,
180  constTransport,
181  sensibleEnthalpy,
182  hConstThermo,
183  incompressiblePerfectGas,
184  specie
185 );
186 
188 (
189  rhoThermo,
190  rhoReactionThermo,
191  heRhoThermo,
192  homogeneousMixture,
193  sutherlandTransport,
194  sensibleEnthalpy,
195  janafThermo,
196  incompressiblePerfectGas,
197  specie
198 );
199 
201 (
202  rhoThermo,
203  rhoReactionThermo,
204  heRhoThermo,
205  inhomogeneousMixture,
206  sutherlandTransport,
207  sensibleEnthalpy,
208  janafThermo,
209  incompressiblePerfectGas,
210  specie
211 );
212 
214 (
215  rhoThermo,
216  rhoReactionThermo,
217  heRhoThermo,
218  veryInhomogeneousMixture,
219  sutherlandTransport,
220  sensibleEnthalpy,
221  janafThermo,
222  incompressiblePerfectGas,
223  specie
224 );
225 
226 // Peng Robinson
228 (
229  rhoThermo,
230  rhoReactionThermo,
231  heRhoThermo,
232  homogeneousMixture,
233  constTransport,
234  sensibleEnthalpy,
235  hConstThermo,
236  PengRobinsonGas,
237  specie
238 );
239 
241 (
242  rhoThermo,
243  rhoReactionThermo,
244  heRhoThermo,
245  inhomogeneousMixture,
246  constTransport,
247  sensibleEnthalpy,
248  hConstThermo,
249  PengRobinsonGas,
250  specie
251 );
252 
254 (
255  rhoThermo,
256  rhoReactionThermo,
257  heRhoThermo,
258  veryInhomogeneousMixture,
259  constTransport,
260  sensibleEnthalpy,
261  hConstThermo,
262  PengRobinsonGas,
263  specie
264 );
265 
266 
267 // sutherlandTransport, hConstThermo
268 
270 (
271  rhoThermo,
272  rhoReactionThermo,
273  heRhoThermo,
274  homogeneousMixture,
275  sutherlandTransport,
276  sensibleEnthalpy,
277  hConstThermo,
278  PengRobinsonGas,
279  specie
280 );
281 
283 (
284  rhoThermo,
285  rhoReactionThermo,
286  heRhoThermo,
287  inhomogeneousMixture,
288  sutherlandTransport,
289  sensibleEnthalpy,
290  hConstThermo,
291  PengRobinsonGas,
292  specie
293 );
294 
296 (
297  rhoThermo,
298  rhoReactionThermo,
299  heRhoThermo,
300  veryInhomogeneousMixture,
301  sutherlandTransport,
302  sensibleEnthalpy,
303  hConstThermo,
304  PengRobinsonGas,
305  specie
306 );
307 
308 
309 // sutherlandTransport, janafThermo
310 
312 (
313  rhoThermo,
314  rhoReactionThermo,
315  heRhoThermo,
316  homogeneousMixture,
317  sutherlandTransport,
318  sensibleEnthalpy,
319  janafThermo,
320  PengRobinsonGas,
321  specie
322 );
323 
325 (
326  rhoThermo,
327  rhoReactionThermo,
328  heRhoThermo,
329  inhomogeneousMixture,
330  sutherlandTransport,
331  sensibleEnthalpy,
332  janafThermo,
333  PengRobinsonGas,
334  specie
335 );
336 
338 (
339  rhoThermo,
340  rhoReactionThermo,
341  heRhoThermo,
342  veryInhomogeneousMixture,
343  sutherlandTransport,
344  sensibleEnthalpy,
345  janafThermo,
346  PengRobinsonGas,
347  specie
348 );
349 
350 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
351 
352 // Multi-component thermo for internal energy
353 
355 (
356  rhoThermo,
357  rhoReactionThermo,
358  heRhoThermo,
359  multiComponentMixture,
361 );
362 
364 (
365  rhoThermo,
366  rhoReactionThermo,
367  heRhoThermo,
368  multiComponentMixture,
370 );
371 
373 (
374  rhoThermo,
375  rhoReactionThermo,
376  heRhoThermo,
377  multiComponentMixture,
379 );
380 
382 (
383  rhoThermo,
384  rhoReactionThermo,
385  heRhoThermo,
386  multiComponentMixture,
388 );
389 
391 (
392  rhoThermo,
393  rhoReactionThermo,
394  heRhoThermo,
395  multiComponentMixture,
397 );
398 
400 (
401  rhoThermo,
402  rhoReactionThermo,
403  heRhoThermo,
404  multiComponentMixture,
406 );
407 
409 (
410  rhoThermo,
411  rhoReactionThermo,
412  heRhoThermo,
413  multiComponentMixture,
415 );
416 
418 (
419  rhoThermo,
420  rhoReactionThermo,
421  heRhoThermo,
422  multiComponentMixture,
424 );
425 
427 (
428  rhoThermo,
429  rhoReactionThermo,
430  heRhoThermo,
431  multiComponentMixture,
433 );
434 
435 
436 // Reaction thermo for internal energy
437 
439 (
440  rhoThermo,
441  rhoReactionThermo,
442  heRhoThermo,
443  reactingMixture,
445 );
446 
448 (
449  rhoThermo,
450  rhoReactionThermo,
451  heRhoThermo,
452  reactingMixture,
454 );
455 
457 (
458  rhoThermo,
459  rhoReactionThermo,
460  heRhoThermo,
461  reactingMixture,
463 );
464 
466 (
467  rhoThermo,
468  rhoReactionThermo,
469  heRhoThermo,
470  reactingMixture,
472 );
473 
475 (
476  rhoThermo,
477  rhoReactionThermo,
478  heRhoThermo,
479  reactingMixture,
481 );
482 
484 (
485  rhoThermo,
486  rhoReactionThermo,
487  heRhoThermo,
488  reactingMixture,
490 );
491 
493 (
494  rhoThermo,
495  rhoReactionThermo,
496  heRhoThermo,
497  reactingMixture,
499 );
500 
502 (
503  rhoThermo,
504  rhoReactionThermo,
505  heRhoThermo,
506  reactingMixture,
508 );
509 
511 (
512  rhoThermo,
513  rhoReactionThermo,
514  heRhoThermo,
515  reactingMixture,
517 );
518 
519 // Single-step reaction thermo for internal energy
520 
522 (
523  rhoThermo,
524  rhoReactionThermo,
525  heRhoThermo,
526  singleStepReactingMixture,
528 );
529 
530 // Single-component thermo for internal energy
531 
533 (
534  rhoReactionThermo,
535  heRhoThermo,
536  singleComponentMixture,
538 );
539 
541 (
542  rhoReactionThermo,
543  heRhoThermo,
544  singleComponentMixture,
546 );
547 
549 (
550  rhoReactionThermo,
551  heRhoThermo,
552  singleComponentMixture,
554 );
555 
557 (
558  rhoReactionThermo,
559  heRhoThermo,
560  singleComponentMixture,
562 );
563 
565 (
566  rhoReactionThermo,
567  heRhoThermo,
568  singleComponentMixture,
570 );
571 
573 (
574  rhoReactionThermo,
575  heRhoThermo,
576  singleComponentMixture,
578 );
579 
581 (
582  rhoReactionThermo,
583  heRhoThermo,
584  singleComponentMixture,
586 );
587 
589 (
590  rhoReactionThermo,
591  heRhoThermo,
592  singleComponentMixture,
594 );
595 
597 (
598  rhoReactionThermo,
599  heRhoThermo,
600  singleComponentMixture,
601  constTransport,
602  sensibleInternalEnergy,
603  hConstThermo,
604  Boussinesq,
605  specie
606 );
607 
609 (
610  rhoReactionThermo,
611  heRhoThermo,
612  singleComponentMixture,
613  sutherlandTransport,
614  sensibleInternalEnergy,
615  janafThermo,
616  Boussinesq,
617  specie
618 );
619 
621 (
622  rhoReactionThermo,
623  heRhoThermo,
624  singleComponentMixture,
625  WLFTransport,
626  sensibleInternalEnergy,
627  eConstThermo,
628  rhoConst,
629  specie
630 );
631 
632 
633 // Multi-component thermo for sensible enthalpy
634 
636 (
637  rhoThermo,
638  rhoReactionThermo,
639  heRhoThermo,
640  multiComponentMixture,
642 );
643 
645 (
646  rhoThermo,
647  rhoReactionThermo,
648  heRhoThermo,
649  multiComponentMixture,
651 );
652 
654 (
655  rhoThermo,
656  rhoReactionThermo,
657  heRhoThermo,
658  multiComponentMixture,
660 );
661 
663 (
664  rhoThermo,
665  rhoReactionThermo,
666  heRhoThermo,
667  multiComponentMixture,
669 );
670 
672 (
673  rhoThermo,
674  rhoReactionThermo,
675  heRhoThermo,
676  multiComponentMixture,
678 );
679 
681 (
682  rhoThermo,
683  rhoReactionThermo,
684  heRhoThermo,
685  multiComponentMixture,
687 );
688 
690 (
691  rhoThermo,
692  rhoReactionThermo,
693  heRhoThermo,
694  multiComponentMixture,
696 );
697 
699 (
700  rhoThermo,
701  rhoReactionThermo,
702  heRhoThermo,
703  multiComponentMixture,
705 );
706 
708 (
709  rhoThermo,
710  rhoReactionThermo,
711  heRhoThermo,
712  multiComponentMixture,
714 );
715 
717 (
718  rhoThermo,
719  rhoReactionThermo,
720  heRhoThermo,
721  reactingMixture,
723 );
724 
725 // Reaction thermo for sensible enthalpy
726 
728 (
729  rhoThermo,
730  rhoReactionThermo,
731  heRhoThermo,
732  reactingMixture,
734 );
735 
737 (
738  rhoThermo,
739  rhoReactionThermo,
740  heRhoThermo,
741  reactingMixture,
743 );
744 
746 (
747  rhoThermo,
748  rhoReactionThermo,
749  heRhoThermo,
750  reactingMixture,
752 );
753 
755 (
756  rhoThermo,
757  rhoReactionThermo,
758  heRhoThermo,
759  reactingMixture,
761 );
762 
764 (
765  rhoThermo,
766  rhoReactionThermo,
767  heRhoThermo,
768  reactingMixture,
770 );
771 
773 (
774  rhoThermo,
775  rhoReactionThermo,
776  heRhoThermo,
777  reactingMixture,
779 );
780 
782 (
783  rhoThermo,
784  rhoReactionThermo,
785  heRhoThermo,
786  reactingMixture,
788 );
789 
791 (
792  rhoThermo,
793  rhoReactionThermo,
794  heRhoThermo,
795  reactingMixture,
797 );
798 
799 // Single-step reaction thermo for sensible enthalpy
800 
802 (
803  rhoThermo,
804  rhoReactionThermo,
805  heRhoThermo,
806  singleStepReactingMixture,
808 );
809 
810 
811 // Single-component thermo for sensible enthalpy
812 
814 (
815  rhoReactionThermo,
816  heRhoThermo,
817  singleComponentMixture,
819 );
820 
822 (
823  rhoReactionThermo,
824  heRhoThermo,
825  singleComponentMixture,
827 );
828 
830 (
831  rhoReactionThermo,
832  heRhoThermo,
833  singleComponentMixture,
835 );
836 
838 (
839  rhoReactionThermo,
840  heRhoThermo,
841  singleComponentMixture,
843 );
844 
846 (
847  rhoReactionThermo,
848  heRhoThermo,
849  singleComponentMixture,
851 );
852 
854 (
855  rhoReactionThermo,
856  heRhoThermo,
857  singleComponentMixture,
859 );
860 
862 (
863  rhoReactionThermo,
864  heRhoThermo,
865  singleComponentMixture,
867 );
868 
870 (
871  rhoReactionThermo,
872  heRhoThermo,
873  singleComponentMixture,
875 );
876 
878 (
879  rhoReactionThermo,
880  heRhoThermo,
881  singleComponentMixture,
882  constTransport,
883  sensibleEnthalpy,
884  hConstThermo,
885  Boussinesq,
886  specie
887 );
888 
890 (
891  rhoReactionThermo,
892  heRhoThermo,
893  singleComponentMixture,
894  sutherlandTransport,
895  sensibleEnthalpy,
896  janafThermo,
897  Boussinesq,
898  specie
899 );
900 
901 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
902 
903 } // End namespace Foam
904 
905 // ************************************************************************* //
Type definitions for thermo-physics models.
constTransport< species::thermo< eConstThermo< perfectFluid< specie > >, sensibleInternalEnergy > > constFluidEThermoPhysics
polynomialTransport< species::thermo< janafThermo< perfectGas< specie > >, sensibleInternalEnergy >, 8 > icoPoly8TranspJanafEThermoPhysics
constTransport< species::thermo< eConstThermo< incompressiblePerfectGas< specie > >, sensibleInternalEnergy > > constIncompressibleGasEThermoPhysics
sutherlandTransport< species::thermo< janafThermo< perfectGas< specie > >, sensibleInternalEnergy > > gasEThermoPhysics
constTransport< species::thermo< hConstThermo< perfectGas< specie > >, sensibleEnthalpy > > constGasHThermoPhysics
sutherlandTransport< species::thermo< janafThermo< incompressiblePerfectGas< specie > >, sensibleEnthalpy > > incompressibleGasHThermoPhysics
sutherlandTransport< species::thermo< janafThermo< PengRobinsonGas< specie > >, sensibleInternalEnergy > > PengRobinsonGasEThermoPhysics
constTransport< species::thermo< eConstThermo< rhoConst< specie > >, sensibleInternalEnergy > > constEThermoPhysics
constTransport< species::thermo< hConstThermo< rhoConst< specie > >, sensibleEnthalpy > > constHThermoPhysics
polynomialTransport< species::thermo< janafThermo< perfectGas< specie > >, sensibleEnthalpy >, 8 > icoPoly8TranspJanafHThermoPhysics
makeReactionThermo(rhoReactionThermo, heRhoThermo, singleComponentMixture, constTransport, sensibleInternalEnergy, hConstThermo, Boussinesq, specie)
sutherlandTransport< species::thermo< janafThermo< incompressiblePerfectGas< specie > >, sensibleInternalEnergy > > incompressibleGasEThermoPhysics
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
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
makeThermoPhysicsReactionThermo(psiReactionThermo, hePsiThermo, singleComponentMixture, constGasHThermoPhysics)
makeThermoPhysicsReactionThermos(psiThermo, psiReactionThermo, hePsiThermo, multiComponentMixture, constGasHThermoPhysics)
Namespace for OpenFOAM.
constTransport< species::thermo< eConstThermo< adiabaticPerfectFluid< specie > >, sensibleInternalEnergy > > constAdiabaticFluidEThermoPhysics
sutherlandTransport< species::thermo< janafThermo< perfectGas< specie > >, sensibleEnthalpy > > gasHThermoPhysics