rhoZoneThermos.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) 2021,2022 OpenCFD Ltd.
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 \*---------------------------------------------------------------------------*/
27 
28 #include "rhoThermo.H"
29 #include "makeThermo.H"
30 
31 #include "specie.H"
32 #include "perfectGas.H"
34 #include "Boussinesq.H"
35 #include "rhoConst.H"
36 #include "rPolynomial.H"
37 #include "perfectFluid.H"
38 #include "PengRobinsonGas.H"
39 #include "adiabaticPerfectFluid.H"
40 #include "icoTabulated.H"
41 
42 #include "hConstThermo.H"
43 #include "eConstThermo.H"
44 #include "janafThermo.H"
45 #include "hTabulatedThermo.H"
46 #include "sensibleEnthalpy.H"
47 #include "sensibleInternalEnergy.H"
48 #include "thermo.H"
49 
50 #include "constTransport.H"
51 #include "sutherlandTransport.H"
52 #include "WLFTransport.H"
53 
54 #include "icoPolynomial.H"
55 #include "hPolynomialThermo.H"
56 #include "polynomialTransport.H"
57 #include "tabulatedTransport.H"
58 
59 #include "heRhoThermo.H"
60 #include "pureZoneMixture.H"
61 
62 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
63 
64 namespace Foam
65 {
66 
67 /* * * * * * * * * * * * * * * Private Static Data * * * * * * * * * * * * * */
68 
70 (
71  rhoThermo,
72  heRhoThermo,
73  pureZoneMixture,
74  constTransport,
75  sensibleEnthalpy,
76  hConstThermo,
77  perfectGas,
78  specie
79 );
80 
81 // Note: pureZoneMixture copies mixture model for every evaluation of cell
82 // so can become expensive for complex models (e.g. with tables)
83 
85 (
86  rhoThermo,
87  heRhoThermo,
88  pureZoneMixture,
89  sutherlandTransport,
90  sensibleEnthalpy,
91  hConstThermo,
92  perfectGas,
93  specie
94 );
95 
97 (
98  rhoThermo,
99  heRhoThermo,
100  pureZoneMixture,
101  sutherlandTransport,
102  sensibleEnthalpy,
103  janafThermo,
104  perfectGas,
105  specie
106 );
107 
109 (
110  rhoThermo,
111  heRhoThermo,
112  pureZoneMixture,
113  tabulatedTransport,
114  sensibleEnthalpy,
115  hTabulatedThermo,
116  perfectGas,
117  specie
118 );
119 
121 (
122  rhoThermo,
123  heRhoThermo,
124  pureZoneMixture,
125  constTransport,
126  sensibleEnthalpy,
127  hConstThermo,
128  rhoConst,
129  specie
130 );
131 
133 (
134  rhoThermo,
135  heRhoThermo,
136  pureZoneMixture,
137  constTransport,
138  sensibleEnthalpy,
139  hConstThermo,
140  perfectFluid,
141  specie
142 );
143 
145 (
146  rhoThermo,
147  heRhoThermo,
148  pureZoneMixture,
149  constTransport,
150  sensibleEnthalpy,
151  hConstThermo,
152  rPolynomial,
153  specie
154 );
155 
157 (
158  rhoThermo,
159  heRhoThermo,
160  pureZoneMixture,
161  tabulatedTransport,
162  sensibleEnthalpy,
163  hTabulatedThermo,
164  icoTabulated,
165  specie
166 );
167 
169 (
170  rhoThermo,
171  heRhoThermo,
172  pureZoneMixture,
173  constTransport,
174  sensibleEnthalpy,
175  hConstThermo,
176  icoTabulated,
177  specie
178 );
179 
181 (
182  rhoThermo,
183  heRhoThermo,
184  pureZoneMixture,
185  constTransport,
186  sensibleEnthalpy,
187  hConstThermo,
188  adiabaticPerfectFluid,
189  specie
190 );
191 
193 (
194  rhoThermo,
195  heRhoThermo,
196  pureZoneMixture,
197  polynomialTransport,
198  sensibleEnthalpy,
199  hPolynomialThermo,
200  icoPolynomial,
201  specie
202 );
203 
205 (
206  rhoThermo,
207  heRhoThermo,
208  pureZoneMixture,
209  tabulatedTransport,
210  sensibleEnthalpy,
211  hPolynomialThermo,
212  icoPolynomial,
213  specie
214 );
215 
217 (
218  rhoThermo,
219  heRhoThermo,
220  pureZoneMixture,
221  polynomialTransport,
222  sensibleEnthalpy,
223  hPolynomialThermo,
224  rPolynomial,
225  specie
226 );
227 
229 (
230  rhoThermo,
231  heRhoThermo,
232  pureZoneMixture,
233  constTransport,
234  sensibleEnthalpy,
235  hConstThermo,
236  incompressiblePerfectGas,
237  specie
238 );
239 
241 (
242  rhoThermo,
243  heRhoThermo,
244  pureZoneMixture,
245  sutherlandTransport,
246  sensibleEnthalpy,
247  hConstThermo,
248  incompressiblePerfectGas,
249  specie
250 );
251 
253 (
254  rhoThermo,
255  heRhoThermo,
256  pureZoneMixture,
257  sutherlandTransport,
258  sensibleEnthalpy,
259  hConstThermo,
260  icoTabulated,
261  specie
262 );
263 
265 (
266  rhoThermo,
267  heRhoThermo,
268  pureZoneMixture,
269  sutherlandTransport,
270  sensibleEnthalpy,
271  janafThermo,
272  incompressiblePerfectGas,
273  specie
274 );
275 
277 (
278  rhoThermo,
279  heRhoThermo,
280  pureZoneMixture,
281  sutherlandTransport,
282  sensibleEnthalpy,
283  janafThermo,
284  icoTabulated,
285  specie
286 );
287 
289 (
290  rhoThermo,
291  heRhoThermo,
292  pureZoneMixture,
293  tabulatedTransport,
294  sensibleEnthalpy,
295  janafThermo,
296  icoTabulated,
297  specie
298 );
299 
301 (
302  rhoThermo,
303  heRhoThermo,
304  pureZoneMixture,
305  constTransport,
306  sensibleEnthalpy,
307  hConstThermo,
308  Boussinesq,
309  specie
310 );
311 
313 (
314  rhoThermo,
315  heRhoThermo,
316  pureZoneMixture,
317  sutherlandTransport,
318  sensibleEnthalpy,
319  hConstThermo,
320  Boussinesq,
321  specie
322 );
323 
325 (
326  rhoThermo,
327  heRhoThermo,
328  pureZoneMixture,
329  sutherlandTransport,
330  sensibleEnthalpy,
331  janafThermo,
332  Boussinesq,
333  specie
334 );
335 
337 (
338  rhoThermo,
339  heRhoThermo,
340  pureZoneMixture,
341  sutherlandTransport,
342  sensibleEnthalpy,
343  hConstThermo,
344  PengRobinsonGas,
345  specie
346 );
347 
349 (
350  rhoThermo,
351  heRhoThermo,
352  pureZoneMixture,
353  polynomialTransport,
354  sensibleEnthalpy,
355  hPolynomialThermo,
356  PengRobinsonGas,
357  specie
358 );
359 
361 (
362  rhoThermo,
363  heRhoThermo,
364  pureZoneMixture,
365  polynomialTransport,
366  sensibleEnthalpy,
367  hPolynomialThermo,
368  icoTabulated,
369  specie
370 );
371 
373 (
374  rhoThermo,
375  heRhoThermo,
376  pureZoneMixture,
377  polynomialTransport,
378  sensibleEnthalpy,
379  janafThermo,
380  PengRobinsonGas,
381  specie
382 );
383 
384 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
385 
387 (
388  rhoThermo,
389  heRhoThermo,
390  pureZoneMixture,
391  constTransport,
392  sensibleInternalEnergy,
393  hConstThermo,
394  perfectGas,
395  specie
396 );
397 
399 (
400  rhoThermo,
401  heRhoThermo,
402  pureZoneMixture,
403  tabulatedTransport,
404  sensibleInternalEnergy,
405  hTabulatedThermo,
406  icoTabulated,
407  specie
408 );
409 
411 (
412  rhoThermo,
413  heRhoThermo,
414  pureZoneMixture,
415  sutherlandTransport,
416  sensibleInternalEnergy,
417  hConstThermo,
418  perfectGas,
419  specie
420 );
421 
423 (
424  rhoThermo,
425  heRhoThermo,
426  pureZoneMixture,
427  sutherlandTransport,
428  sensibleInternalEnergy,
429  hConstThermo,
430  icoTabulated,
431  specie
432 );
433 
435 (
436  rhoThermo,
437  heRhoThermo,
438  pureZoneMixture,
439  sutherlandTransport,
440  sensibleInternalEnergy,
441  janafThermo,
442  perfectGas,
443  specie
444 );
445 
447 (
448  rhoThermo,
449  heRhoThermo,
450  pureZoneMixture,
451  sutherlandTransport,
452  sensibleInternalEnergy,
453  janafThermo,
454  icoTabulated,
455  specie
456 );
457 
459 (
460  rhoThermo,
461  heRhoThermo,
462  pureZoneMixture,
463  constTransport,
464  sensibleInternalEnergy,
465  hConstThermo,
466  rhoConst,
467  specie
468 );
469 
471 (
472  rhoThermo,
473  heRhoThermo,
474  pureZoneMixture,
475  constTransport,
476  sensibleInternalEnergy,
477  eConstThermo,
478  rhoConst,
479  specie
480 );
481 
483 (
484  rhoThermo,
485  heRhoThermo,
486  pureZoneMixture,
487  constTransport,
488  sensibleInternalEnergy,
489  hConstThermo,
490  perfectFluid,
491  specie
492 );
493 
495 (
496  rhoThermo,
497  heRhoThermo,
498  pureZoneMixture,
499  constTransport,
500  sensibleInternalEnergy,
501  hConstThermo,
502  rPolynomial,
503  specie
504 );
505 
507 (
508  rhoThermo,
509  heRhoThermo,
510  pureZoneMixture,
511  constTransport,
512  sensibleInternalEnergy,
513  eConstThermo,
514  perfectFluid,
515  specie
516 );
517 
519 (
520  rhoThermo,
521  heRhoThermo,
522  pureZoneMixture,
523  constTransport,
524  sensibleInternalEnergy,
525  eConstThermo,
526  perfectGas,
527  specie
528 );
529 
531 (
532  rhoThermo,
533  heRhoThermo,
534  pureZoneMixture,
535  constTransport,
536  sensibleInternalEnergy,
537  eConstThermo,
538  rPolynomial,
539  specie
540 );
541 
543 (
544  rhoThermo,
545  heRhoThermo,
546  pureZoneMixture,
547  constTransport,
548  sensibleInternalEnergy,
549  hConstThermo,
550  adiabaticPerfectFluid,
551  specie
552 );
553 
554 
556 (
557  rhoThermo,
558  heRhoThermo,
559  pureZoneMixture,
560  constTransport,
561  sensibleInternalEnergy,
562  eConstThermo,
563  adiabaticPerfectFluid,
564  specie
565 );
566 
567 
569 (
570  rhoThermo,
571  heRhoThermo,
572  pureZoneMixture,
573  polynomialTransport,
574  sensibleInternalEnergy,
575  hPolynomialThermo,
576  icoPolynomial,
577  specie
578 );
579 
581 (
582  rhoThermo,
583  heRhoThermo,
584  pureZoneMixture,
585  tabulatedTransport,
586  sensibleInternalEnergy,
587  hPolynomialThermo,
588  icoPolynomial,
589  specie
590 );
591 
593 (
594  rhoThermo,
595  heRhoThermo,
596  pureZoneMixture,
597  polynomialTransport,
598  sensibleInternalEnergy,
599  hPolynomialThermo,
600  icoTabulated,
601  specie
602 );
603 
605 (
606  rhoThermo,
607  heRhoThermo,
608  pureZoneMixture,
609  constTransport,
610  sensibleInternalEnergy,
611  hConstThermo,
612  incompressiblePerfectGas,
613  specie
614 );
615 
617 (
618  rhoThermo,
619  heRhoThermo,
620  pureZoneMixture,
621  sutherlandTransport,
622  sensibleInternalEnergy,
623  hConstThermo,
624  incompressiblePerfectGas,
625  specie
626 );
627 
629 (
630  rhoThermo,
631  heRhoThermo,
632  pureZoneMixture,
633  sutherlandTransport,
634  sensibleInternalEnergy,
635  janafThermo,
636  incompressiblePerfectGas,
637  specie
638 );
639 
641 (
642  rhoThermo,
643  heRhoThermo,
644  pureZoneMixture,
645  constTransport,
646  sensibleInternalEnergy,
647  hConstThermo,
648  Boussinesq,
649  specie
650 );
651 
653 (
654  rhoThermo,
655  heRhoThermo,
656  pureZoneMixture,
657  sutherlandTransport,
658  sensibleInternalEnergy,
659  hConstThermo,
660  Boussinesq,
661  specie
662 );
663 
665 (
666  rhoThermo,
667  heRhoThermo,
668  pureZoneMixture,
669  sutherlandTransport,
670  sensibleInternalEnergy,
671  janafThermo,
672  Boussinesq,
673  specie
674 );
675 
676 
678 (
679  rhoThermo,
680  heRhoThermo,
681  pureZoneMixture,
682  WLFTransport,
683  sensibleInternalEnergy,
684  eConstThermo,
685  rhoConst,
686  specie
687 );
688 
690 (
691  rhoThermo,
692  heRhoThermo,
693  pureZoneMixture,
694  polynomialTransport,
695  sensibleEnthalpy,
696  hPolynomialThermo,
697  perfectGas,
698  specie
699 );
700 
702 (
703  rhoThermo,
704  heRhoThermo,
705  pureZoneMixture,
706  polynomialTransport,
707  sensibleEnthalpy,
708  hPolynomialThermo,
709  incompressiblePerfectGas,
710  specie
711 );
712 
713 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
714 
715 } // End namespace Foam
716 
717 // ************************************************************************* //
Macros for creating basic fluid thermo packages.
makeThermos(psiThermo, hePsiThermo, pureMixture, constTransport, sensibleEnthalpy, hConstThermo, perfectGas, specie)
Namespace for OpenFOAM.