phaseModels.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 | Copyright (C) 2015 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 "rhoThermo.H"
29 #include "rhoReactionThermo.H"
30 
31 #include "rhoCombustionModel.H"
32 
33 #include "phaseModel.H"
34 #include "ThermoPhaseModel.H"
35 #include "IsothermalPhaseModel.H"
36 #include "AnisothermalPhaseModel.H"
37 #include "PurePhaseModel.H"
39 #include "InertPhaseModel.H"
40 #include "ReactingPhaseModel.H"
41 #include "MovingPhaseModel.H"
42 
43 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
44 
45 namespace Foam
46 {
47  typedef
48  MovingPhaseModel
49  <
50  AnisothermalPhaseModel
51  <
52  PurePhaseModel
53  <
54  InertPhaseModel
55  <
56  ThermoPhaseModel<phaseModel, rhoThermo>
57  >
58  >
59  >
60  >
61  purePhaseModel;
62 
64  (
65  phaseModel,
66  purePhaseModel,
67  phaseSystem,
68  purePhaseModel
69  );
70 
71  typedef
72  MovingPhaseModel
73  <
74  IsothermalPhaseModel
75  <
76  PurePhaseModel
77  <
78  InertPhaseModel
79  <
80  ThermoPhaseModel<phaseModel, rhoThermo>
81  >
82  >
83  >
84  >
85  pureIsothermalPhaseModel;
86 
88  (
89  phaseModel,
90  pureIsothermalPhaseModel,
91  phaseSystem,
92  pureIsothermalPhaseModel
93  );
94 
95  typedef
96  MovingPhaseModel
97  <
98  AnisothermalPhaseModel
99  <
100  MultiComponentPhaseModel
101  <
102  InertPhaseModel
103  <
104  ThermoPhaseModel<phaseModel, rhoReactionThermo>
105  >
106  >
107  >
108  >
109  multiComponentPhaseModel;
110 
112  (
113  phaseModel,
114  multiComponentPhaseModel,
115  phaseSystem,
116  multiComponentPhaseModel
117  );
118 
119  typedef
120  MovingPhaseModel
121  <
122  AnisothermalPhaseModel
123  <
124  MultiComponentPhaseModel
125  <
126  ReactingPhaseModel
127  <
128  ThermoPhaseModel<phaseModel, rhoReactionThermo>,
129  combustionModels::rhoCombustionModel
130  >
131  >
132  >
133  >
134  reactingPhaseModel;
135 
137  (
138  phaseModel,
139  reactingPhaseModel,
140  phaseSystem,
141  reactingPhaseModel
142  );
143 }
144 
145 // ************************************************************************* //
Namespace for OpenFOAM.
Macros for easy insertion into run-time selection tables.
addNamedToRunTimeSelectionTable(GAMGProcAgglomeration, noneGAMGProcAgglomeration, GAMGAgglomeration, none)