multiphaseCompressibleTurbulenceModels.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 | www.openfoam.com
6  \\/ M anipulation |
7 -------------------------------------------------------------------------------
8  Copyright (C) 2014-2018 OpenFOAM Foundation
9 -------------------------------------------------------------------------------
10 License
11  This file is part of OpenFOAM.
12 
13  OpenFOAM is free software: you can redistribute it and/or modify it
14  under the terms of the GNU General Public License as published by
15  the Free Software Foundation, either version 3 of the License, or
16  (at your option) any later version.
17 
18  OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
19  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
20  FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
21  for more details.
22 
23  You should have received a copy of the GNU General Public License
24  along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
25 
26 \*---------------------------------------------------------------------------*/
27 
30 #include "makeTurbulenceModel.H"
31 
32 #include "laminarModel.H"
33 #include "RASModel.H"
34 #include "LESModel.H"
35 
36 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
37 
39 (
42  compressibleTurbulenceModel,
43  PhaseCompressibleTurbulenceModel,
44  ThermalDiffusivity,
45  phaseModel
46 );
47 
49 (
52  compressibleTurbulenceModel,
53  PhaseCompressibleTurbulenceModel,
54  ThermalDiffusivity,
55  phaseModel
56 );
57 
58 #define makeLaminarModel(Type) \
59  makeTemplatedLaminarModel \
60  (phaseModelPhaseCompressibleTurbulenceModel, laminar, Type)
61 
62 #define makeRASModel(Type) \
63  makeTemplatedTurbulenceModel \
64  (phaseModelPhaseCompressibleTurbulenceModel, RAS, Type)
65 
66 #define makeLESModel(Type) \
67  makeTemplatedTurbulenceModel \
68  (phaseModelPhaseCompressibleTurbulenceModel, LES, Type)
69 
70 
71 // -------------------------------------------------------------------------- //
72 // Laminar models
73 // -------------------------------------------------------------------------- //
74 
75 #include "Stokes.H"
76 makeLaminarModel(Stokes);
77 
78 
79 // -------------------------------------------------------------------------- //
80 // RAS models
81 // -------------------------------------------------------------------------- //
82 
83 #include "kEpsilon.H"
84 makeRASModel(kEpsilon);
85 
86 #include "kOmegaSST.H"
87 makeRASModel(kOmegaSST);
88 
89 
90 // -------------------------------------------------------------------------- //
91 // LES models
92 // -------------------------------------------------------------------------- //
93 
94 #include "Smagorinsky.H"
95 makeLESModel(Smagorinsky);
96 
97 #include "kEqn.H"
98 makeLESModel(kEqn);
99 
100 
101 // ************************************************************************* //
defineTurbulenceModelTypes(volScalarField, volScalarField, compressibleTurbulenceModel, PhaseCompressibleTurbulenceModel, ThermalDiffusivity, phaseModel)
Macros for easy insertion into run-time selection tables.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
Definition: volFieldsFwd.H:72
#define makeLESModel(Type)
#define makeLaminarModel(Type)
#define makeRASModel(Type)
makeBaseTurbulenceModel(volScalarField, volScalarField, compressibleTurbulenceModel, PhaseCompressibleTurbulenceModel, ThermalDiffusivity, phaseModel)