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 #include "WLFTransport.H"
46 
47 #include "homogeneousMixture.H"
48 #include "inhomogeneousMixture.H"
50 #include "multiComponentMixture.H"
51 #include "reactingMixture.H"
53 #include "singleComponentMixture.H"
54 
55 #include "thermoPhysicsTypes.H"
56 
57 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
58 
59 namespace Foam
60 {
61 
62 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
63 
65 (
66  rhoThermo,
67  rhoReactionThermo,
68  heRhoThermo,
69  homogeneousMixture,
70  constTransport,
71  sensibleEnthalpy,
72  hConstThermo,
73  perfectGas,
74  specie
75 );
76 
78 (
79  rhoThermo,
80  rhoReactionThermo,
81  heRhoThermo,
82  inhomogeneousMixture,
83  constTransport,
84  sensibleEnthalpy,
85  hConstThermo,
86  perfectGas,
87  specie
88 );
89 
91 (
92  rhoThermo,
93  rhoReactionThermo,
94  heRhoThermo,
95  veryInhomogeneousMixture,
96  constTransport,
97  sensibleEnthalpy,
98  hConstThermo,
99  perfectGas,
100  specie
101 );
102 
104 (
105  rhoThermo,
106  rhoReactionThermo,
107  heRhoThermo,
108  homogeneousMixture,
109  sutherlandTransport,
110  sensibleEnthalpy,
111  janafThermo,
112  perfectGas,
113  specie
114 );
115 
117 (
118  rhoThermo,
119  rhoReactionThermo,
120  heRhoThermo,
121  inhomogeneousMixture,
122  sutherlandTransport,
123  sensibleEnthalpy,
124  janafThermo,
125  perfectGas,
126  specie
127 );
128 
130 (
131  rhoThermo,
132  rhoReactionThermo,
133  heRhoThermo,
134  veryInhomogeneousMixture,
135  sutherlandTransport,
136  sensibleEnthalpy,
137  janafThermo,
138  perfectGas,
139  specie
140 );
141 
142 
144 (
145  rhoThermo,
146  rhoReactionThermo,
147  heRhoThermo,
148  homogeneousMixture,
149  constTransport,
150  sensibleEnthalpy,
151  hConstThermo,
152  incompressiblePerfectGas,
153  specie
154 );
155 
157 (
158  rhoThermo,
159  rhoReactionThermo,
160  heRhoThermo,
161  inhomogeneousMixture,
162  constTransport,
163  sensibleEnthalpy,
164  hConstThermo,
165  incompressiblePerfectGas,
166  specie
167 );
168 
170 (
171  rhoThermo,
172  rhoReactionThermo,
173  heRhoThermo,
174  veryInhomogeneousMixture,
175  constTransport,
176  sensibleEnthalpy,
177  hConstThermo,
178  incompressiblePerfectGas,
179  specie
180 );
181 
183 (
184  rhoThermo,
185  rhoReactionThermo,
186  heRhoThermo,
187  homogeneousMixture,
188  sutherlandTransport,
189  sensibleEnthalpy,
190  janafThermo,
191  incompressiblePerfectGas,
192  specie
193 );
194 
196 (
197  rhoThermo,
198  rhoReactionThermo,
199  heRhoThermo,
200  inhomogeneousMixture,
201  sutherlandTransport,
202  sensibleEnthalpy,
203  janafThermo,
204  incompressiblePerfectGas,
205  specie
206 );
207 
209 (
210  rhoThermo,
211  rhoReactionThermo,
212  heRhoThermo,
213  veryInhomogeneousMixture,
214  sutherlandTransport,
215  sensibleEnthalpy,
216  janafThermo,
217  incompressiblePerfectGas,
218  specie
219 );
220 
221 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
222 
223 // Multi-component thermo for internal energy
224 
226 (
227  rhoThermo,
228  rhoReactionThermo,
229  heRhoThermo,
230  multiComponentMixture,
232 );
233 
235 (
236  rhoThermo,
237  rhoReactionThermo,
238  heRhoThermo,
239  multiComponentMixture,
241 );
242 
244 (
245  rhoThermo,
246  rhoReactionThermo,
247  heRhoThermo,
248  multiComponentMixture,
250 );
251 
253 (
254  rhoThermo,
255  rhoReactionThermo,
256  heRhoThermo,
257  multiComponentMixture,
259 );
260 
262 (
263  rhoThermo,
264  rhoReactionThermo,
265  heRhoThermo,
266  multiComponentMixture,
268 );
269 
271 (
272  rhoThermo,
273  rhoReactionThermo,
274  heRhoThermo,
275  multiComponentMixture,
277 );
278 
280 (
281  rhoThermo,
282  rhoReactionThermo,
283  heRhoThermo,
284  multiComponentMixture,
286 );
287 
289 (
290  rhoThermo,
291  rhoReactionThermo,
292  heRhoThermo,
293  multiComponentMixture,
295 );
296 
297 
298 // Reaction thermo for internal energy
299 
301 (
302  rhoThermo,
303  rhoReactionThermo,
304  heRhoThermo,
305  reactingMixture,
307 );
308 
310 (
311  rhoThermo,
312  rhoReactionThermo,
313  heRhoThermo,
314  reactingMixture,
316 );
317 
319 (
320  rhoThermo,
321  rhoReactionThermo,
322  heRhoThermo,
323  reactingMixture,
325 );
326 
328 (
329  rhoThermo,
330  rhoReactionThermo,
331  heRhoThermo,
332  reactingMixture,
334 );
335 
337 (
338  rhoThermo,
339  rhoReactionThermo,
340  heRhoThermo,
341  reactingMixture,
343 );
344 
346 (
347  rhoThermo,
348  rhoReactionThermo,
349  heRhoThermo,
350  reactingMixture,
352 );
353 
355 (
356  rhoThermo,
357  rhoReactionThermo,
358  heRhoThermo,
359  reactingMixture,
361 );
362 
364 (
365  rhoThermo,
366  rhoReactionThermo,
367  heRhoThermo,
368  reactingMixture,
370 );
371 
372 
373 // Single-step reaction thermo for internal energy
374 
376 (
377  rhoThermo,
378  rhoReactionThermo,
379  heRhoThermo,
380  singleStepReactingMixture,
382 );
383 
384 
385 // Single-component thermo for internal energy
386 
388 (
389  rhoReactionThermo,
390  heRhoThermo,
391  singleComponentMixture,
393 );
394 
396 (
397  rhoReactionThermo,
398  heRhoThermo,
399  singleComponentMixture,
401 );
402 
404 (
405  rhoReactionThermo,
406  heRhoThermo,
407  singleComponentMixture,
409 );
410 
412 (
413  rhoReactionThermo,
414  heRhoThermo,
415  singleComponentMixture,
417 );
418 
420 (
421  rhoReactionThermo,
422  heRhoThermo,
423  singleComponentMixture,
425 );
426 
428 (
429  rhoReactionThermo,
430  heRhoThermo,
431  singleComponentMixture,
433 );
434 
436 (
437  rhoReactionThermo,
438  heRhoThermo,
439  singleComponentMixture,
441 );
442 
444 (
445  rhoReactionThermo,
446  heRhoThermo,
447  singleComponentMixture,
449 );
450 
452 (
453  rhoReactionThermo,
454  heRhoThermo,
455  singleComponentMixture,
456  constTransport,
457  sensibleInternalEnergy,
458  hConstThermo,
459  Boussinesq,
460  specie
461 );
462 
464 (
465  rhoReactionThermo,
466  heRhoThermo,
467  singleComponentMixture,
468  sutherlandTransport,
469  sensibleInternalEnergy,
470  janafThermo,
471  Boussinesq,
472  specie
473 );
474 
476 (
477  rhoReactionThermo,
478  heRhoThermo,
479  singleComponentMixture,
480  WLFTransport,
481  sensibleInternalEnergy,
482  eConstThermo,
483  rhoConst,
484  specie
485 );
486 
487 
488 
489 // Multi-component thermo for sensible enthalpy
490 
492 (
493  rhoThermo,
494  rhoReactionThermo,
495  heRhoThermo,
496  multiComponentMixture,
498 );
499 
501 (
502  rhoThermo,
503  rhoReactionThermo,
504  heRhoThermo,
505  multiComponentMixture,
507 );
508 
510 (
511  rhoThermo,
512  rhoReactionThermo,
513  heRhoThermo,
514  multiComponentMixture,
516 );
517 
519 (
520  rhoThermo,
521  rhoReactionThermo,
522  heRhoThermo,
523  multiComponentMixture,
525 );
526 
528 (
529  rhoThermo,
530  rhoReactionThermo,
531  heRhoThermo,
532  multiComponentMixture,
534 );
535 
537 (
538  rhoThermo,
539  rhoReactionThermo,
540  heRhoThermo,
541  multiComponentMixture,
543 );
544 
546 (
547  rhoThermo,
548  rhoReactionThermo,
549  heRhoThermo,
550  multiComponentMixture,
552 );
553 
555 (
556  rhoThermo,
557  rhoReactionThermo,
558  heRhoThermo,
559  multiComponentMixture,
561 );
562 
563 
564 // Reaction thermo for sensible enthalpy
565 
567 (
568  rhoThermo,
569  rhoReactionThermo,
570  heRhoThermo,
571  reactingMixture,
573 );
574 
576 (
577  rhoThermo,
578  rhoReactionThermo,
579  heRhoThermo,
580  reactingMixture,
582 );
583 
585 (
586  rhoThermo,
587  rhoReactionThermo,
588  heRhoThermo,
589  reactingMixture,
591 );
592 
594 (
595  rhoThermo,
596  rhoReactionThermo,
597  heRhoThermo,
598  reactingMixture,
600 );
601 
603 (
604  rhoThermo,
605  rhoReactionThermo,
606  heRhoThermo,
607  reactingMixture,
609 );
610 
612 (
613  rhoThermo,
614  rhoReactionThermo,
615  heRhoThermo,
616  reactingMixture,
618 );
619 
621 (
622  rhoThermo,
623  rhoReactionThermo,
624  heRhoThermo,
625  reactingMixture,
627 );
628 
630 (
631  rhoThermo,
632  rhoReactionThermo,
633  heRhoThermo,
634  reactingMixture,
636 );
637 
638 
639 // Single-step reaction thermo for sensible enthalpy
640 
642 (
643  rhoThermo,
644  rhoReactionThermo,
645  heRhoThermo,
646  singleStepReactingMixture,
648 );
649 
650 
651 // Single-component thermo for sensible enthalpy
652 
654 (
655  rhoReactionThermo,
656  heRhoThermo,
657  singleComponentMixture,
659 );
660 
662 (
663  rhoReactionThermo,
664  heRhoThermo,
665  singleComponentMixture,
667 );
668 
670 (
671  rhoReactionThermo,
672  heRhoThermo,
673  singleComponentMixture,
675 );
676 
678 (
679  rhoReactionThermo,
680  heRhoThermo,
681  singleComponentMixture,
683 );
684 
686 (
687  rhoReactionThermo,
688  heRhoThermo,
689  singleComponentMixture,
691 );
692 
694 (
695  rhoReactionThermo,
696  heRhoThermo,
697  singleComponentMixture,
699 );
700 
702 (
703  rhoReactionThermo,
704  heRhoThermo,
705  singleComponentMixture,
707 );
708 
710 (
711  rhoReactionThermo,
712  heRhoThermo,
713  singleComponentMixture,
715 );
716 
718 (
719  rhoReactionThermo,
720  heRhoThermo,
721  singleComponentMixture,
722  constTransport,
723  sensibleEnthalpy,
724  hConstThermo,
725  Boussinesq,
726  specie
727 );
728 
730 (
731  rhoReactionThermo,
732  heRhoThermo,
733  singleComponentMixture,
734  sutherlandTransport,
735  sensibleEnthalpy,
736  janafThermo,
737  Boussinesq,
738  specie
739 );
740 
741 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
742 
743 } // End namespace Foam
744 
745 // ************************************************************************* //
Type definitions for thermo-physics models.
constTransport< species::thermo< eConstThermo< perfectFluid< specie > >, sensibleInternalEnergy > > constFluidEThermoPhysics
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
constTransport< species::thermo< eConstThermo< rhoConst< specie > >, sensibleInternalEnergy > > constEThermoPhysics
constTransport< species::thermo< hConstThermo< rhoConst< specie > >, sensibleEnthalpy > > constHThermoPhysics
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
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