All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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-2020 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 "multiComponentMixture.H"
27 #include "singleComponentMixture.H"
28 
29 #include "rhoThermo.H"
30 #include "rhoReactionThermo.H"
31 #include "heRhoThermo.H"
32 
33 #include "forGases.H"
34 #include "forLiquids.H"
35 #include "forPolynomials.H"
36 #include "makeReactionThermo.H"
37 
38 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
39 
40 #define makeRhoReactionThermos(Mixture, ThermoPhysics) \
41  makeReactionThermos \
42  ( \
43  rhoThermo, \
44  rhoReactionThermo, \
45  heRhoThermo, \
46  Mixture, \
47  ThermoPhysics \
48  )
49 
50 #define makeRhoReactionThermo(Mixture, ThermoPhysics) \
51  makeReactionThermo \
52  ( \
53  rhoReactionThermo, \
54  heRhoThermo, \
55  Mixture, \
56  ThermoPhysics \
57  )
58 
59 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
60 
61 namespace Foam
62 {
63  forGases(makeRhoReactionThermos, multiComponentMixture);
64  forGases(makeRhoReactionThermo, singleComponentMixture);
65 
66  forLiquids(makeRhoReactionThermos, multiComponentMixture);
67  forLiquids(makeRhoReactionThermo, singleComponentMixture);
68 
69  forPolynomials(makeRhoReactionThermos, multiComponentMixture);
70  forPolynomials(makeRhoReactionThermo, singleComponentMixture);
71 }
72 
73 // ************************************************************************* //
#define makeRhoReactionThermo(Mixture, ThermoPhysics)
forLiquids(makeThermos, rhoThermo, heRhoThermo, pureMixture)
#define makeRhoReactionThermos(Mixture, ThermoPhysics)
forPolynomials(makeThermos, rhoThermo, heRhoThermo, pureMixture)
forGases(makeThermos, psiThermo, hePsiThermo, pureMixture)
Namespace for OpenFOAM.