OpenFOAM: API Guide
v2112
The open source CFD toolbox
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
-------------------------------------------------------------------------------
11
License
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"
30
#include "
addToRunTimeSelectionTable.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
44
defineTurbulenceModelTypes
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
"
78
makeRASModel
(kOmegaSSTSato);
79
80
#include "
mixtureKEpsilon.H
"
81
makeRASModel
(mixtureKEpsilon);
82
83
#include "
LaheyKEpsilon.H
"
84
makeRASModel
(LaheyKEpsilon);
85
86
#include "
continuousGasKEpsilon.H
"
87
makeRASModel
(continuousGasKEpsilon);
88
89
90
// -------------------------------------------------------------------------- //
91
// LES models
92
// -------------------------------------------------------------------------- //
93
94
// "Smagorinsky.H"
95
// "kEqn.H"
96
97
#include "
SmagorinskyZhang.H
"
98
makeLESModel
(SmagorinskyZhang);
99
100
#include "
NicenoKEqn.H
"
101
makeLESModel
(NicenoKEqn);
102
103
#include "
continuousGasKEqn.H
"
104
makeLESModel
(continuousGasKEqn);
105
106
107
// -------------------------------------------------------------------------- //
108
// Additional models
109
// -------------------------------------------------------------------------- //
110
111
#include "kineticTheoryModel.H"
112
makeTurbulenceModel
113
(phaseModelPhaseCompressibleTurbulenceModel, RAS,
kineticTheoryModel
);
114
115
#include "phasePressureModel.H"
116
makeTurbulenceModel
117
(phaseModelPhaseCompressibleTurbulenceModel, RAS,
phasePressureModel
);
118
119
120
// ************************************************************************* //
LaheyKEpsilon.H
makeRASModel
#define makeRASModel(Type)
Definition:
twoPhaseCompressibleTurbulenceModels.C:54
mixtureKEpsilon.H
defineTurbulenceModelTypes
defineTurbulenceModelTypes(volScalarField, volScalarField, compressibleTurbulenceModel, PhaseCompressibleTurbulenceModel, ThermalDiffusivity, phaseModel)
continuousGasKEqn.H
NicenoKEqn.H
kOmegaSSTSato.H
LESModel.H
Foam::volScalarField
GeometricField< scalar, fvPatchField, volMesh > volScalarField
Definition:
volFieldsFwd.H:57
makeTurbulenceModel
makeTurbulenceModel(phaseModelPhaseCompressibleTurbulenceModel, RAS, kineticTheoryModel)
RASModel.H
addToRunTimeSelectionTable.H
Macros for easy insertion into run-time selection tables.
SmagorinskyZhang.H
continuousGasKEpsilon.H
phasePressureModel
Particle-particle phase-pressure RAS model.
kineticTheoryModel
Kinetic theory particle phase RAS model.
laminarModel.H
makeLESModel
#define makeLESModel(Type)
Definition:
twoPhaseCompressibleTurbulenceModels.C:58
src
phaseSystemModels
reactingEuler
twoPhaseCompressibleTurbulenceModels
twoPhaseCompressibleTurbulenceModels.C
Generated by
1.8.17
OPENFOAM® is a registered
trademark
of OpenCFD Ltd.