PDRkEpsilon.H
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) 2011-2015 OpenFOAM Foundation
9-------------------------------------------------------------------------------
10License
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
26Class
27 Foam::compressible::RASModels::PDRkEpsilon
28
29Description
30 Standard k-epsilon turbulence model with additional source terms
31 corresponding to PDR basic drag model (\link basic.H \endlink)
32
33 The default model coefficients correspond to the following:
34 \verbatim
35 PDRkEpsilonCoeffs
36 {
37 Cmu 0.09;
38 C1 1.44;
39 C2 1.92;
40 C3 -0.33; // only for compressible
41 C4 0.1;
42 sigmak 1.0; // only for compressible
43 sigmaEps 1.3;
44 Prt 1.0; // only for compressible
45 }
46 \endverbatim
47
48 The turbulence source term \f$ G_{R} \f$ appears in the
49 \f$ \kappa-\epsilon \f$ equation for the generation of turbulence due to
50 interaction with unresolved obstacles.
51
52 In the \f$ \epsilon \f$ equation \f$ C_{1} G_{R} \f$ is added as a source
53 term.
54
55 In the \f$ \kappa \f$ equation \f$ G_{R} \f$ is added as a source term.
56
57SourceFiles
58 PDRkEpsilon.C
59
60\*---------------------------------------------------------------------------*/
61
62#ifndef compressiblePDRkEpsilon_H
63#define compressiblePDRkEpsilon_H
64
65#include "kEpsilon.H"
67
68// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
69
70namespace Foam
71{
72namespace compressible
73{
74namespace RASModels
75{
76
77/*---------------------------------------------------------------------------*\
78 Class PDRkEpsilon Declaration
79\*---------------------------------------------------------------------------*/
81class PDRkEpsilon
82:
84 <
85 EddyDiffusivity
86 <
87 compressible::turbulenceModel
88 >
89 >
90{
91 // Private data
92
93 // Model coefficients
95
96
97public:
98
99 //- Runtime type information
100 TypeName("PDRkEpsilon");
101
102
103 // Constructors
104
105 //- Construct from components
107 (
109 const volScalarField& rho,
110 const volVectorField& U,
111 const surfaceScalarField& alphaRhoPhi,
112 const surfaceScalarField& phi,
113 const fluidThermo& thermophysicalModel,
114 const word& turbulenceModelName = turbulenceModel::typeName,
115 const word& modelName = typeName
116 );
117
118
119 //- Destructor
120 virtual ~PDRkEpsilon();
121
122
123 // Member Functions
124
125 //- Solve the turbulence equations and correct the turbulence viscosity
126 void correct();
127
128 //- Read turbulenceProperties dictionary
129 bool read();
130};
131
132
133// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
134
135} // End namespace RASModels
136} // End namespace compressible
137} // End namespace Foam
138
139// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
140
141#endif
142
143// ************************************************************************* //
surfaceScalarField & phi
Standard k-epsilon turbulence model for incompressible and compressible flows including rapid distort...
Definition: kEpsilon.H:92
Standard k-epsilon turbulence model with additional source terms corresponding to PDR basic drag mode...
Definition: PDRkEpsilon.H:89
TypeName("PDRkEpsilon")
Runtime type information.
void correct()
Solve the turbulence equations and correct the turbulence viscosity.
PDRkEpsilon(const geometricOneField &alpha, const volScalarField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const fluidThermo &thermophysicalModel, const word &turbulenceModelName=turbulenceModel::typeName, const word &modelName=typeName)
Construct from components.
bool read()
Read turbulenceProperties dictionary.
Fundamental fluid thermodynamic properties.
Definition: fluidThermo.H:56
A class representing the concept of a GeometricField of 1 used to avoid unnecessary manipulations for...
A class for handling words, derived from Foam::string.
Definition: word.H:68
U
Definition: pEqn.H:72
bool compressible
Definition: pEqn.H:2
Namespace for OpenFOAM.
volScalarField & alpha
static const char *const typeName
The type name used in ensight case files.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.
Definition: typeInfo.H:73