VoFphaseCompressibleTurbulenceModels.C
Go to the documentation of this file.
1 /*---------------------------------------------------------------------------*\
2  ========= |
3  \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
4  \\ / O peration | Website: https://openfoam.org
5  \\ / A nd | Copyright (C) 2017-2019 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 
27 #include "fluidThermo.H"
29 #include "makeTurbulenceModel.H"
30 
31 #include "ThermalDiffusivity.H"
32 #include "EddyDiffusivity.H"
33 
34 #include "laminarModel.H"
35 #include "RASModel.H"
36 #include "LESModel.H"
37 
38 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
39 
41 (
44  compressibleTurbulenceModel,
45  PhaseCompressibleTurbulenceModel,
46  ThermalDiffusivity,
47  fluidThermo
48 );
49 
51 (
54  compressibleTurbulenceModel,
55  PhaseCompressibleTurbulenceModel,
56  ThermalDiffusivity,
57  fluidThermo
58 );
59 
60 #define makeLaminarModel(Type) \
61  makeTemplatedLaminarModel \
62  (fluidThermoPhaseCompressibleTurbulenceModel, laminar, Type)
63 
64 #define makeRASModel(Type) \
65  makeTemplatedTurbulenceModel \
66  (fluidThermoPhaseCompressibleTurbulenceModel, RAS, Type)
67 
68 #define makeLESModel(Type) \
69  makeTemplatedTurbulenceModel \
70  (fluidThermoPhaseCompressibleTurbulenceModel, LES, Type)
71 
72 #include "Stokes.H"
73 makeLaminarModel(Stokes);
74 
75 #include "Maxwell.H"
76 makeLaminarModel(Maxwell);
77 
78 #include "Giesekus.H"
79 makeLaminarModel(Giesekus);
80 
81 #include "kEpsilon.H"
82 makeRASModel(kEpsilon);
83 
84 #include "kOmegaSST.H"
85 makeRASModel(kOmegaSST);
86 
87 #include "Smagorinsky.H"
88 makeLESModel(Smagorinsky);
89 
90 #include "kEqn.H"
91 makeLESModel(kEqn);
92 
93 // ************************************************************************* //
makeTurbulenceModelTypes(geometricOneField, geometricOneField, incompressibleTurbulenceModel, IncompressibleTurbulenceModel, transportModel)
Macros for easy insertion into run-time selection tables.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
Definition: volFieldsFwd.H:52
makeRASModel(kEpsilonLopesdaCosta)
makeBaseTurbulenceModel(geometricOneField, geometricOneField, incompressibleTurbulenceModel, IncompressibleTurbulenceModel, transportModel)
#define makeLESModel(Type)
#define makeLaminarModel(Type)