1 /*---------------------------------------------------------------------------*\
3 \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
5 \\ / A nd | Copyright (C) 2008-2009 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 the
13 Free Software Foundation; either version 2 of the License, or (at your
14 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, write to the Free Software Foundation,
23 Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
26 Foam::LESmodels::SpalartAllmarasDDES
29 SpalartAllmaras DDES LES turbulence model for incompressible flows
32 P.R. Spalart, S. Deck, S., M.L.Shur, K.D. Squires, M.Kh Strelets, and
33 A. Travin. `A new version of detached-eddy simulation, resistant to
34 ambiguous grid densities'. Theor. Comp. Fluid Dyn., 20:181-195, 2006.
39 \*---------------------------------------------------------------------------*/
41 #ifndef SpalartAllmarasDDES_H
42 #define SpalartAllmarasDDES_H
44 #include "SpalartAllmaras.H"
46 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
50 namespace incompressible
55 /*---------------------------------------------------------------------------*\
56 Class SpalartAllmarasDDES Declaration
57 \*---------------------------------------------------------------------------*/
59 class SpalartAllmarasDDES
61 public SpalartAllmaras
63 // Private member functions
65 tmp<volScalarField> fd(const volScalarField& S) const;
67 tmp<volScalarField> rd
69 const volScalarField& visc,
70 const volScalarField& S
73 // Disallow default bitwise copy construct and assignment
74 SpalartAllmarasDDES(const SpalartAllmarasDDES&);
75 SpalartAllmarasDDES& operator=(const SpalartAllmarasDDES&);
80 // Protected member functions
83 virtual tmp<volScalarField> dTilda(const volScalarField& S) const;
88 //- Runtime type information
89 TypeName("SpalartAllmarasDDES");
94 //- Construct from components
97 const volVectorField& U,
98 const surfaceScalarField& phi,
99 transportModel& transport
104 virtual ~SpalartAllmarasDDES()
109 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
111 } // End namespace LESModels
112 } // End namespace incompressible
113 } // End namespace Foam
115 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
119 // ************************************************************************* //