FreeFOAM The Cross-Platform CFD Toolkit
makeReactingParcelDispersionModels.H
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) 2008-2010 OpenCFD Ltd.
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 #ifndef makeReactingParcelDispersionModels_H
27 #define makeReactingParcelDispersionModels_H
28 
29 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
30 
33 
37 
38 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
39 
40 #define makeReactingDispersionModels(ParcelType) \
41  \
42  makeReactingDispersionModelThermoType \
43  ( \
44  ParcelType, \
45  constGasThermoPhysics \
46  ); \
47  \
48  makeReactingDispersionModelThermoType \
49  ( \
50  ParcelType, \
51  gasThermoPhysics \
52  ); \
53  \
54  makeReactingDispersionModelThermoType \
55  ( \
56  ParcelType, \
57  icoPoly8ThermoPhysics \
58  );
59 
60 
61 #define makeReactingDispersionModelThermoType(ParcelType, ThermoType) \
62  \
63  makeDispersionModel(KinematicCloud<ParcelType<ThermoType> >); \
64  \
65  defineNamedTemplateTypeNameAndDebug \
66  ( \
67  DispersionRASModel<KinematicCloud<ParcelType<ThermoType> > >, \
68  0 \
69  ); \
70  \
71  makeDispersionModelThermoType \
72  ( \
73  NoDispersion, \
74  KinematicCloud, \
75  ParcelType, \
76  ThermoType \
77  ); \
78  makeDispersionModelThermoType \
79  ( \
80  GradientDispersionRAS, \
81  KinematicCloud, \
82  ParcelType, \
83  ThermoType \
84  ); \
85  makeDispersionModelThermoType \
86  ( \
87  StochasticDispersionRAS, \
88  KinematicCloud, \
89  ParcelType, \
90  ThermoType \
91  );
92 
93 
94 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
95 
96 #endif
97 
98 // ************************ vim: set sw=4 sts=4 et: ************************ //