psiuMulticomponentThermos.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) 2011-2025 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 
27 
28 #include "homogeneousMixture.H"
30 #include "inhomogeneousMixture.H"
32 
33 #include "specie.H"
34 
35 #include "perfectGas.H"
36 
37 #include "hConstThermo.H"
38 #include "janafThermo.H"
39 
40 #include "absoluteEnthalpy.H"
41 
42 #include "constTransport.H"
43 #include "sutherlandTransport.H"
44 
45 #include "thermo.H"
46 
47 #include "forThermo.H"
48 
49 #include "makeThermo.H"
50 
51 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
52 
53 #define forAbsoluteEnthalpyGasEqns(Mu, He, Cp, Macro, Args...) \
54  forThermo(Mu, He, Cp, perfectGas, specie, Macro, Args)
55 
56 #define forAbsoluteEnthalpyGasEnergiesAndThermos(Mu, Args...) \
57  forAbsoluteEnthalpyGasEqns(Mu, absoluteEnthalpy, hConstThermo, Args); \
58  forAbsoluteEnthalpyGasEqns(Mu, absoluteEnthalpy, janafThermo, Args)
59 
60 #define forAbsoluteEnthalpyGasTransports(Macro, Args...) \
61  forAbsoluteEnthalpyGasEnergiesAndThermos(constTransport, Macro, Args); \
62  forAbsoluteEnthalpyGasEnergiesAndThermos(sutherlandTransport, Macro, Args)
63 
64 #define forAbsoluteEnthalpyGases(Macro, Args...) \
65  forAbsoluteEnthalpyGasTransports(Macro, Args)
66 
67 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
68 
69 #define makePsiuMulticomponentThermos(Mixture, ThermoPhysics) \
70  \
71  defineThermo(psiuMulticomponentThermo, Mixture, ThermoPhysics); \
72  \
73  addThermo(basicThermo, psiuMulticomponentThermo, Mixture, ThermoPhysics); \
74  addThermo(fluidThermo, psiuMulticomponentThermo, Mixture, ThermoPhysics); \
75  addThermo(psiThermo, psiuMulticomponentThermo, Mixture, ThermoPhysics); \
76  addThermo \
77  ( \
78  psiuMulticomponentThermo, \
79  psiuMulticomponentThermo, \
80  Mixture, \
81  ThermoPhysics \
82  )
83 
84 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
85 
86 namespace Foam
87 {
89  (
91  homogeneousMixture
92  );
94  (
97  );
99  (
102  );
104  (
107  );
108 }
109 
110 // ************************************************************************* //
Combustion mixture for inhomogeneous lean, stoichiometric or rich conditions with exhaust gas recircu...
Combustion mixture for inhomogeneous lean, stoichiometric or rich conditions.
Combustion mixture for inhomogeneous lean or stoichiometric conditions.
Macros for creating basic thermo packages.
Namespace for OpenFOAM.
#define forAbsoluteEnthalpyGases(Macro, Args...)
#define makePsiuMulticomponentThermos(Mixture, ThermoPhysics)