turbulentTransportModels.C
Go to the documentation of this file.
1 /*---------------------------------------------------------------------------*\
2  ========= |
3  \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
4  \\ / O peration |
5  \\ / A nd | Copyright (C) 2013-2016 OpenFOAM Foundation
6  \\/ M anipulation |
7 -------------------------------------------------------------------------------
8 License
9  This file is part of OpenFOAM.
10 
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
13  the Free Software Foundation, either version 3 of the License, or
14  (at your option) any later version.
15 
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.
20 
21  You should have received a copy of the GNU General Public License
22  along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
23 
24 \*---------------------------------------------------------------------------*/
25 
29 #include "makeTurbulenceModel.H"
30 
31 #include "laminar.H"
32 #include "RASModel.H"
33 #include "LESModel.H"
34 
35 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
36 
38 (
39  geometricOneField,
40  geometricOneField,
41  incompressibleTurbulenceModel,
42  IncompressibleTurbulenceModel,
43  transportModel
44 );
45 
46 #define makeRASModel(Type) \
47  makeTemplatedTurbulenceModel \
48  (transportModelIncompressibleTurbulenceModel, RAS, Type)
49 
50 #define makeLESModel(Type) \
51  makeTemplatedTurbulenceModel \
52  (transportModelIncompressibleTurbulenceModel, LES, Type)
53 
54 
55 // -------------------------------------------------------------------------- //
56 // RAS models
57 // -------------------------------------------------------------------------- //
58 
59 #include "SpalartAllmaras.H"
60 makeRASModel(SpalartAllmaras);
61 
62 #include "kEpsilon.H"
63 makeRASModel(kEpsilon);
64 
65 #include "RNGkEpsilon.H"
66 makeRASModel(RNGkEpsilon);
67 
68 #include "realizableKE.H"
69 makeRASModel(realizableKE);
70 
71 #include "LaunderSharmaKE.H"
72 makeRASModel(LaunderSharmaKE);
73 
74 #include "kOmega.H"
75 makeRASModel(kOmega);
76 
77 #include "kOmegaSST.H"
78 makeRASModel(kOmegaSST);
79 
80 #include "kOmegaSSTSAS.H"
81 makeRASModel(kOmegaSSTSAS);
82 
83 #include "v2f.H"
84 makeRASModel(v2f);
85 
86 #include "LRR.H"
87 makeRASModel(LRR);
88 
89 #include "SSG.H"
90 makeRASModel(SSG);
91 
92 
93 // -------------------------------------------------------------------------- //
94 // LES models
95 // -------------------------------------------------------------------------- //
96 
97 #include "Smagorinsky.H"
98 makeLESModel(Smagorinsky);
99 
100 #include "WALE.H"
101 makeLESModel(WALE);
102 
103 #include "kEqn.H"
104 makeLESModel(kEqn);
105 
106 #include "dynamicKEqn.H"
107 makeLESModel(dynamicKEqn);
108 
109 #include "dynamicLagrangian.H"
110 makeLESModel(dynamicLagrangian);
111 
112 #include "kOmegaSSTDES.H"
113 makeLESModel(kOmegaSSTDES);
114 
115 #include "SpalartAllmarasDES.H"
116 makeLESModel(SpalartAllmarasDES);
117 
118 #include "SpalartAllmarasDDES.H"
119 makeLESModel(SpalartAllmarasDDES);
120 
121 #include "SpalartAllmarasIDDES.H"
122 makeLESModel(SpalartAllmarasIDDES);
123 
124 #include "DeardorffDiffStress.H"
125 makeLESModel(DeardorffDiffStress);
126 
127 
128 // ************************************************************************* //
#define makeRASModel(Type)
#define makeLESModel(Type)
Macros for easy insertion into run-time selection tables.
makeBaseTurbulenceModel(geometricOneField, geometricOneField, incompressibleTurbulenceModel, IncompressibleTurbulenceModel, transportModel)