twoPhaseCompressibleTurbulenceModels.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 Copyright (C) 2020 OpenCFD Ltd.
10-------------------------------------------------------------------------------
11License
12 This file is part of OpenFOAM.
13
14 OpenFOAM is free software: you can redistribute it and/or modify it
15 under the terms of the GNU General Public License as published by
16 the Free Software Foundation, either version 3 of the License, or
17 (at your option) any later version.
18
19 OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
20 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
21 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
22 for more details.
23
24 You should have received a copy of the GNU General Public License
25 along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
26
27\*---------------------------------------------------------------------------*/
28
29#include "phaseCompressibleTurbulenceModel.H"
31#include "makeTurbulenceModel.H"
32
33#include "laminarModel.H"
34#include "RASModel.H"
35#include "LESModel.H"
36
37// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
38
39// Base models defined in multiphaseCompressibleTurbulenceModels.C
40//
41// Additional two-phase only models
42
43// Typedefs
45(
46 volScalarField,
47 volScalarField,
48 compressibleTurbulenceModel,
49 PhaseCompressibleTurbulenceModel,
50 ThermalDiffusivity,
51 phaseModel
52);
53
54#define makeRASModel(Type) \
55 makeTemplatedTurbulenceModel \
56 (phaseModelPhaseCompressibleTurbulenceModel, RAS, Type)
57
58#define makeLESModel(Type) \
59 makeTemplatedTurbulenceModel \
60 (phaseModelPhaseCompressibleTurbulenceModel, LES, Type)
61
62
63// -------------------------------------------------------------------------- //
64// Laminar models
65// -------------------------------------------------------------------------- //
66
67// "Stokes.H"
68
69
70// -------------------------------------------------------------------------- //
71// RAS models
72// -------------------------------------------------------------------------- //
73
74// "kEpsilon.H"
75// "kOmegaSST.H"
76
77#include "kOmegaSSTSato.H"
78makeRASModel(kOmegaSSTSato);
79
80#include "mixtureKEpsilon.H"
81makeRASModel(mixtureKEpsilon);
82
83#include "LaheyKEpsilon.H"
84makeRASModel(LaheyKEpsilon);
85
87makeRASModel(continuousGasKEpsilon);
88
89
90// -------------------------------------------------------------------------- //
91// LES models
92// -------------------------------------------------------------------------- //
93
94// "Smagorinsky.H"
95// "kEqn.H"
96
97#include "SmagorinskyZhang.H"
98makeLESModel(SmagorinskyZhang);
99
100#include "NicenoKEqn.H"
101makeLESModel(NicenoKEqn);
102
103#include "continuousGasKEqn.H"
104makeLESModel(continuousGasKEqn);
105
106
107// -------------------------------------------------------------------------- //
108// Additional models
109// -------------------------------------------------------------------------- //
110
111#include "kineticTheoryModel.H"
113(phaseModelPhaseCompressibleTurbulenceModel, RAS, kineticTheoryModel);
114
115#include "phasePressureModel.H"
117(phaseModelPhaseCompressibleTurbulenceModel, RAS, phasePressureModel);
118
119
120// ************************************************************************* //
Macros for easy insertion into run-time selection tables.
Kinetic theory particle phase RAS model.
Particle-particle phase-pressure RAS model.
#define defineTurbulenceModelTypes( Alpha, Rho, baseModel, BaseModel, TDModel, Transport)
Define turbulence model typedefs, with EddyDiffusivity.
#define makeTurbulenceModel(BaseModel, SType, Type)
#define makeRASModel(Type)
#define makeLESModel(Type)