fixed writing out entries in advective bc
[OpenFOAM-1.6-ext.git] / src / lagrangian / intermediate / parcels / include / makeReactingParcelDragModels.H
blob0cb0b978e9721bcddff667e69d50572daf9f181d
1 /*---------------------------------------------------------------------------*\
2   =========                 |
3   \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
4    \\    /   O peration     |
5     \\  /    A nd           | Copyright held by original author
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 makeReactingParcelDragModels_H
28 #define makeReactingParcelDragModels_H
30 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
32 #include "thermoPhysicsTypes.H"
33 #include "KinematicCloud.H"
35 #include "NoDrag.H"
36 #include "SphereDrag.H"
38 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
40 #define makeReactingDragModels(ParcelType)                                    \
41                                                                               \
42     makeReactingDragModelThermoType                                           \
43     (                                                                         \
44         ParcelType,                                                           \
45         constGasThermoPhysics                                                 \
46     );                                                                        \
47     makeReactingDragModelThermoType                                           \
48     (                                                                         \
49         ParcelType,                                                           \
50         gasThermoPhysics                                                      \
51     );                                                                        \
52     makeReactingDragModelThermoType                                           \
53     (                                                                         \
54         ParcelType,                                                           \
55         icoPoly8ThermoPhysics                                                 \
56     );
59 #define makeReactingDragModelThermoType(ParcelType, ThermoType)               \
60                                                                               \
61     makeDragModel(KinematicCloud<ParcelType<ThermoType> >);                   \
62                                                                               \
63     makeDragModelThermoType                                                   \
64     (                                                                         \
65         NoDrag,                                                               \
66         KinematicCloud,                                                       \
67         ParcelType,                                                           \
68         ThermoType                                                            \
69     );                                                                        \
70     makeDragModelThermoType                                                   \
71     (                                                                         \
72         SphereDrag,                                                           \
73         KinematicCloud,                                                       \
74         ParcelType,                                                           \
75         ThermoType                                                            \
76     );
79 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
81 #endif
83 // ************************************************************************* //