initial commit for version 1.6.x patch release
[OpenFOAM-1.6.x.git] / src / lagrangian / intermediate / parcels / include / makeReactingParcelPhaseChangeModels.H
blob57a067198eef490da220569e5544684aa4c3abc4
1 /*---------------------------------------------------------------------------*\
2   =========                 |
3   \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
4    \\    /   O peration     |
5     \\  /    A nd           | Copyright (C) 2008-2009 OpenCFD Ltd.
6      \\/     M anipulation  |
7 -------------------------------------------------------------------------------
8 License
9     This file is part of OpenFOAM.
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 the
13     Free Software Foundation; either version 2 of the License, or (at your
14     option) any later version.
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.
21     You should have received a copy of the GNU General Public License
22     along with OpenFOAM; if not, write to the Free Software Foundation,
23     Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
25 \*---------------------------------------------------------------------------*/
27 #ifndef makeReactingParcelPhaseChangeModels_H
28 #define makeReactingParcelPhaseChangeModels_H
30 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
32 #include "thermoPhysicsTypes.H"
33 #include "ReactingCloud.H"
35 #include "NoPhaseChange.H"
36 #include "LiquidEvaporation.H"
38 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
40 #define makeReactingPhaseChangeModels(ParcelType)                             \
41                                                                               \
42     makeReactingPhaseChangeModelThermoType                                    \
43     (                                                                         \
44         ParcelType,                                                           \
45         constGasThermoPhysics                                                 \
46     );                                                                        \
47                                                                               \
48     makeReactingPhaseChangeModelThermoType                                    \
49     (                                                                         \
50         ParcelType,                                                           \
51         gasThermoPhysics                                                      \
52     );                                                                        \
53                                                                               \
54     makeReactingPhaseChangeModelThermoType                                    \
55     (                                                                         \
56         ParcelType,                                                           \
57         icoPoly8ThermoPhysics                                                 \
58     );
61 #define makeReactingPhaseChangeModelThermoType(ParcelType, ThermoType)        \
62                                                                               \
63     makePhaseChangeModel(ReactingCloud<ParcelType<ThermoType> >);             \
64                                                                               \
65     makePhaseChangeModelThermoType                                            \
66     (                                                                         \
67         NoPhaseChange,                                                        \
68         ReactingCloud,                                                        \
69         ParcelType,                                                           \
70         ThermoType                                                            \
71     );                                                                        \
72     makePhaseChangeModelThermoType                                            \
73     (                                                                         \
74         LiquidEvaporation,                                                    \
75         ReactingCloud,                                                        \
76         ParcelType,                                                           \
77         ThermoType                                                            \
78     );
81 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
83 #endif
85 // ************************************************************************* //