initial commit for version 1.6.x patch release
[OpenFOAM-1.6.x.git] / src / turbulenceModels / incompressible / LES / SpalartAllmarasDDES / SpalartAllmarasDDES.H
blobad1f3069b6c55fe94048f969919c7e2360a64c8d
1 /*---------------------------------------------------------------------------*\
2   =========                 |
3   \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
4    \\    /   O peration     |
5     \\  /    A nd           | Copyright (C) 2008-2009 OpenCFD Ltd.
6      \\/     M anipulation  |
7 -------------------------------------------------------------------------------
8 License
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
19     for more details.
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
25 Class
26     Foam::LESmodels::SpalartAllmarasDDES
28 Description
29     SpalartAllmaras DDES LES turbulence model for incompressible flows
31     Reference:
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.
36 SourceFiles
37     SpalartAllmarasDDES.C
39 \*---------------------------------------------------------------------------*/
41 #ifndef SpalartAllmarasDDES_H
42 #define SpalartAllmarasDDES_H
44 #include "SpalartAllmaras.H"
46 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
48 namespace Foam
50 namespace incompressible
52 namespace LESModels
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
68         (
69             const volScalarField& visc,
70             const volScalarField& S
71         ) const;
73         // Disallow default bitwise copy construct and assignment
74         SpalartAllmarasDDES(const SpalartAllmarasDDES&);
75         SpalartAllmarasDDES& operator=(const SpalartAllmarasDDES&);
78 protected:
80     // Protected member functions
82         //- Length scale
83         virtual tmp<volScalarField> dTilda(const volScalarField& S) const;
86 public:
88     //- Runtime type information
89     TypeName("SpalartAllmarasDDES");
92     // Constructors
94         //- Construct from components
95         SpalartAllmarasDDES
96         (
97             const volVectorField& U,
98             const surfaceScalarField& phi,
99             transportModel& transport
100         );
103     //- Destructor
104     virtual ~SpalartAllmarasDDES()
105     {}
109 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
111 } // End namespace LESModels
112 } // End namespace incompressible
113 } // End namespace Foam
115 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
117 #endif
119 // ************************************************************************* //