makeDummyTurbulenceModelIncompressible.C
Go to the documentation of this file.
1 /*---------------------------------------------------------------------------*\
2 
3  DAFoam : Discrete Adjoint with OpenFOAM
4  Version : v3
5 
6 \*---------------------------------------------------------------------------*/
7 
8 #include "IncompressibleTurbulenceModel.H"
9 #include "transportModel.H"
10 #include "addToRunTimeSelectionTable.H"
11 #include "makeTurbulenceModel.H"
12 
13 #include "RASModel.H"
14 #include "LESModel.H"
15 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
16 #define createBaseTurbulenceModel(Alpha, Rho, baseModel, BaseModel, Transport) \
17  \
18  namespace Foam \
19  { \
20  typedef BaseModel<Transport> Transport##BaseModel; \
21  typedef RASModel<Transport##BaseModel> RAS##Transport##BaseModel; \
22  typedef LESModel<Transport##BaseModel> LES##Transport##BaseModel; \
23  }
25  geometricOneField,
26  geometricOneField,
27  incompressibleTurbulenceModel,
28  IncompressibleTurbulenceModel,
29  transportModel);
30 #define makeRASModel(Type) \
31  makeTemplatedTurbulenceModel(transportModelIncompressibleTurbulenceModel, RAS, Type)
32 #define makeLESModel(Type) \
33  makeTemplatedTurbulenceModel(transportModelIncompressibleTurbulenceModel, LES, Type)
34 
35 #include "dummyTurbulenceModel.H"
36 makeRASModel(dummyTurbulenceModel);
37 
38 // ************************************************************************* //
makeRASModel
#define makeRASModel(Type)
Definition: makeDummyTurbulenceModelIncompressible.C:30
dummyTurbulenceModel.H
createBaseTurbulenceModel
#define createBaseTurbulenceModel(Alpha, Rho, baseModel, BaseModel, Transport)
Definition: makeDummyTurbulenceModelIncompressible.C:16