1 /*---------------------------------------------------------------------------*\
3 \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
5 \\ / A nd | Copyright (C) 2004-2011 OpenCFD Ltd.
7 -------------------------------------------------------------------------------
9 This file is part of OpenFOAM.
11 OpenFOAM is free software: you can redistribute it and/or modify it
12 under the terms of the GNU General Public License as published by
13 the Free Software Foundation, either version 3 of the License, or
14 (at your option) any later version.
16 OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
17 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
18 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
21 You should have received a copy of the GNU General Public License
22 along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
25 Foam::compressible::RASModels::PDRkEpsilon
28 Standard k-epsilon turbulence model with additional source terms
29 corresponding to PDR basic drag model (\link basic.H \endlink)
31 The default model coefficients correspond to the following:
38 C3 -0.33; // only for compressible
40 sigmak 1.0; // only for compressible
42 Prt 1.0; // only for compressible
46 The turbulence source term \f$ G_{R} \f$ appears in the
47 \f$ \kappa-\epsilon \f$ equation for the generation of turbulence due to
48 interaction with unresolved obstacles.
50 In the \f$ \epsilon \f$ equation \f$ C_{1} G_{R} \f$ is added as a source
53 In the \f$ \kappa \f$ equation \f$ G_{R} \f$ is added as a source term.
58 \*---------------------------------------------------------------------------*/
60 #ifndef compressiblePDRkEpsilon_H
61 #define compressiblePDRkEpsilon_H
66 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
70 namespace compressible
75 /*---------------------------------------------------------------------------*\
76 Class PDRkEpsilon Declaration
77 \*---------------------------------------------------------------------------*/
86 dimensionedScalar C4_;
91 //- Runtime type information
92 TypeName("PDRkEpsilon");
97 //- Construct from components
100 const volScalarField& rho,
101 const volVectorField& U,
102 const surfaceScalarField& phi,
103 const basicThermo& thermophysicalModel,
104 const word& turbulenceModelName = turbulenceModel::typeName,
105 const word& modelName = typeName
110 virtual ~PDRkEpsilon();
115 //- Solve the turbulence equations and correct the turbulence viscosity
118 //- Read turbulenceProperties dictionary
123 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
125 } // End namespace RASModels
126 } // End namespace compressible
127 } // End namespace Foam
129 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
133 // ************************************************************************* //