VoFphaseCompressibleTurbulenceModels.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) 2017 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 
29 #include "fluidThermo.H"
31 #include "makeTurbulenceModel.H"
32 
33 #include "ThermalDiffusivity.H"
34 #include "EddyDiffusivity.H"
35 
36 #include "laminarModel.H"
37 #include "RASModel.H"
38 #include "LESModel.H"
39 
40 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
41 
43 (
46  compressibleTurbulenceModel,
47  PhaseCompressibleTurbulenceModel,
48  ThermalDiffusivity,
49  fluidThermo
50 );
51 
53 (
56  compressibleTurbulenceModel,
57  PhaseCompressibleTurbulenceModel,
58  ThermalDiffusivity,
59  fluidThermo
60 );
61 
62 #define makeLaminarModel(Type) \
63  makeTemplatedLaminarModel \
64  (fluidThermoPhaseCompressibleTurbulenceModel, laminar, Type)
65 
66 #define makeRASModel(Type) \
67  makeTemplatedTurbulenceModel \
68  (fluidThermoPhaseCompressibleTurbulenceModel, RAS, Type)
69 
70 #define makeLESModel(Type) \
71  makeTemplatedTurbulenceModel \
72  (fluidThermoPhaseCompressibleTurbulenceModel, LES, Type)
73 
74 
75 // -------------------------------------------------------------------------- //
76 // Laminar models
77 // -------------------------------------------------------------------------- //
78 
79 #include "Stokes.H"
80 makeLaminarModel(Stokes);
81 
82 #include "Maxwell.H"
83 makeLaminarModel(Maxwell);
84 
85 
86 // -------------------------------------------------------------------------- //
87 // RAS models
88 // -------------------------------------------------------------------------- //
89 
90 #include "kEpsilon.H"
91 makeRASModel(kEpsilon);
92 
93 #include "kOmegaSST.H"
94 makeRASModel(kOmegaSST);
95 
96 
97 // -------------------------------------------------------------------------- //
98 // LES models
99 // -------------------------------------------------------------------------- //
100 
101 #include "Smagorinsky.H"
102 makeLESModel(Smagorinsky);
103 
104 #include "kEqn.H"
105 makeLESModel(kEqn);
106 
107 
108 // ************************************************************************* //
ThermalDiffusivity.H
fluidThermo.H
makeLaminarModel
#define makeLaminarModel(Type)
Definition: compressibleMultiPhaseTurbulenceModels.C:62
defineTurbulenceModelTypes
#define defineTurbulenceModelTypes( Alpha, Rho, baseModel, BaseModel, TDModel, Transport)
Define turbulence model typedefs, with EddyDiffusivity.
Definition: makeTurbulenceModel.H:34
PhaseCompressibleTurbulenceModel.H
LESModel.H
Foam::volScalarField
GeometricField< scalar, fvPatchField, volMesh > volScalarField
Definition: volFieldsFwd.H:57
kEqn.H
RASModel.H
addToRunTimeSelectionTable.H
Macros for easy insertion into run-time selection tables.
Stokes.H
laminarModel.H
makeBaseTurbulenceModel
#define makeBaseTurbulenceModel( Alpha, Rho, baseModel, BaseModel, TDModel, Transport)
Definition: makeTurbulenceModel.H:65
makeLESModel
#define makeLESModel(Type)
Definition: compressibleMultiPhaseTurbulenceModels.C:70
Smagorinsky.H
makeRASModel
#define makeRASModel(Type)
Definition: compressibleMultiPhaseTurbulenceModels.C:66
Maxwell.H
EddyDiffusivity.H