chemistryReductionMethods.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) 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 "noChemistryReduction.H"
27 #include "DAC.H"
28 #include "DRG.H"
29 #include "DRGEP.H"
30 #include "EFA.H"
31 #include "PFA.H"
32 
33 #include "psiReactionThermo.H"
34 #include "rhoReactionThermo.H"
35 
36 #include "forCommonGases.H"
37 #include "forCommonLiquids.H"
38 #include "forPolynomials.H"
40 
41 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
42 
43 namespace Foam
44 {
47 
48  forCommonGases(makeChemistryReductionMethod, none, psiReactionThermo);
49  forCommonGases(makeChemistryReductionMethod, none, rhoReactionThermo);
50  forCommonGases(makeChemistryReductionMethod, DAC, psiReactionThermo);
51  forCommonGases(makeChemistryReductionMethod, DAC, rhoReactionThermo);
52  forCommonGases(makeChemistryReductionMethod, DRG, psiReactionThermo);
53  forCommonGases(makeChemistryReductionMethod, DRG, rhoReactionThermo);
54  forCommonGases(makeChemistryReductionMethod, DRGEP, psiReactionThermo);
55  forCommonGases(makeChemistryReductionMethod, DRGEP, rhoReactionThermo);
56  forCommonGases(makeChemistryReductionMethod, EFA, psiReactionThermo);
57  forCommonGases(makeChemistryReductionMethod, EFA, rhoReactionThermo);
58  forCommonGases(makeChemistryReductionMethod, PFA, psiReactionThermo);
59  forCommonGases(makeChemistryReductionMethod, PFA, rhoReactionThermo);
60 
62 
63  forCommonLiquids(makeChemistryReductionMethod, none, rhoReactionThermo);
64  forCommonLiquids(makeChemistryReductionMethod, DAC, rhoReactionThermo);
65  forCommonLiquids(makeChemistryReductionMethod, DRG, rhoReactionThermo);
66  forCommonLiquids(makeChemistryReductionMethod, DRGEP, rhoReactionThermo);
67  forCommonLiquids(makeChemistryReductionMethod, EFA, rhoReactionThermo);
68  forCommonLiquids(makeChemistryReductionMethod, PFA, rhoReactionThermo);
69 
71 
72  forPolynomials(makeChemistryReductionMethod, none, rhoReactionThermo);
73  forPolynomials(makeChemistryReductionMethod, DAC, rhoReactionThermo);
74  forPolynomials(makeChemistryReductionMethod, DRG, rhoReactionThermo);
75  forPolynomials(makeChemistryReductionMethod, DRGEP, rhoReactionThermo);
76  forPolynomials(makeChemistryReductionMethod, EFA, rhoReactionThermo);
77  forPolynomials(makeChemistryReductionMethod, PFA, rhoReactionThermo);
78 }
79 
80 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
forCommonGases(makeThermoCombustionModel, diffusion, psiReactionThermo)
#define defineChemistryReductionMethod(ReactionThermo, ThermoPhysics)
forPolynomials(makeThermos, rhoThermo, heRhoThermo, pureMixture)
forCommonLiquids(defineChemistryReductionMethod, rhoReactionThermo)
#define makeChemistryReductionMethod(Method, ReactionThermo, ThermoPhysics)
Namespace for OpenFOAM.