makeDummyTurbulenceModelCompressible.C
Go to the documentation of this file.
1 /*---------------------------------------------------------------------------*\
2 
3  DAFoam : Discrete Adjoint with OpenFOAM
4  Version : v3
5 
6 \*---------------------------------------------------------------------------*/
7 
8 #include "CompressibleTurbulenceModel.H"
9 #include "compressibleTransportModel.H"
10 #include "fluidThermo.H"
11 #include "addToRunTimeSelectionTable.H"
12 #include "makeTurbulenceModel.H"
13 
14 #include "ThermalDiffusivity.H"
15 #include "EddyDiffusivity.H"
16 
17 #include "RASModel.H"
18 
19 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
20 #define createBaseTurbulenceModel( \
21  Alpha, Rho, baseModel, BaseModel, TDModel, Transport) \
22  \
23  namespace Foam \
24  { \
25  typedef TDModel<BaseModel<Transport>> \
26  Transport##BaseModel; \
27  typedef RASModel<EddyDiffusivity<Transport##BaseModel>> \
28  RAS##Transport##BaseModel; \
29  }
30 
32  geometricOneField,
33  volScalarField,
34  compressibleTurbulenceModel,
35  CompressibleTurbulenceModel,
36  ThermalDiffusivity,
37  fluidThermo);
38 
39 #define makeRASModel(Type) \
40  makeTemplatedTurbulenceModel(fluidThermoCompressibleTurbulenceModel, RAS, Type)
41 
42 #include "dummyTurbulenceModel.H"
43 makeRASModel(dummyTurbulenceModel);
44 
45 // ************************************************************************* //
createBaseTurbulenceModel
#define createBaseTurbulenceModel( Alpha, Rho, baseModel, BaseModel, TDModel, Transport)
Definition: makeDummyTurbulenceModelCompressible.C:20
makeRASModel
#define makeRASModel(Type)
Definition: makeDummyTurbulenceModelCompressible.C:39
dummyTurbulenceModel.H