Merge /u/wyldckat/foam-extend32/ branch master into master
[foam-extend-3.2.git] / src / lagrangian / intermediate / parcels / include / makeReactingParcelDispersionModels.H
blob3a396f951864fb3e27e27e3d01cb1bd4fd6da882
1 /*---------------------------------------------------------------------------*\
2   =========                 |
3   \\      /  F ield         | foam-extend: Open Source CFD
4    \\    /   O peration     | Version:     3.2
5     \\  /    A nd           | Web:         http://www.foam-extend.org
6      \\/     M anipulation  | For copyright notice see file Copyright
7 -------------------------------------------------------------------------------
8 License
9     This file is part of foam-extend.
11     foam-extend is free software: you can redistribute it and/or modify it
12     under the terms of the GNU General Public License as published by the
13     Free Software Foundation, either version 3 of the License, or (at your
14     option) any later version.
16     foam-extend is distributed in the hope that it will be useful, but
17     WITHOUT ANY WARRANTY; without even the implied warranty of
18     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
19     General Public License for more details.
21     You should have received a copy of the GNU General Public License
22     along with foam-extend.  If not, see <http://www.gnu.org/licenses/>.
24 \*---------------------------------------------------------------------------*/
26 #ifndef makeReactingParcelDispersionModels_H
27 #define makeReactingParcelDispersionModels_H
29 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
31 #include "thermoPhysicsTypes.H"
32 #include "KinematicCloudTemplate.H"
34 #include "NoDispersion.H"
35 #include "GradientDispersionRAS.H"
36 #include "StochasticDispersionRAS.H"
38 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
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     );
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     );
94 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
96 #endif
98 // ************************************************************************* //