FreeFOAM The Cross-Platform CFD Toolkit
SpalartAllmarasDDES.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 | Copyright (C) 2008-2010 OpenCFD Ltd.
6  \\/ M anipulation |
7 -------------------------------------------------------------------------------
8 License
9  This file is part of OpenFOAM.
10 
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.
15 
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.
20 
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/>.
23 
24 Class
25  Foam::LESmodels::SpalartAllmarasDDES
26 
27 Description
28  SpalartAllmaras DDES LES turbulence model for incompressible flows
29 
30  Reference:
31  P.R. Spalart, S. Deck, S., M.L.Shur, K.D. Squires, M.Kh Strelets, and
32  A. Travin. `A new version of detached-eddy simulation, resistant to
33  ambiguous grid densities'. Theor. Comp. Fluid Dyn., 20:181-195, 2006.
34 
35 SourceFiles
36  SpalartAllmarasDDES.C
37 
38 \*---------------------------------------------------------------------------*/
39 
40 #ifndef SpalartAllmarasDDES_H
41 #define SpalartAllmarasDDES_H
42 
44 
45 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
46 
47 namespace Foam
48 {
49 namespace incompressible
50 {
51 namespace LESModels
52 {
53 
54 /*---------------------------------------------------------------------------*\
55  Class SpalartAllmarasDDES Declaration
56 \*---------------------------------------------------------------------------*/
57 
59 :
60  public SpalartAllmaras
61 {
62  // Private member functions
63 
64  tmp<volScalarField> fd(const volScalarField& S) const;
65 
67  (
68  const volScalarField& visc,
69  const volScalarField& S
70  ) const;
71 
72  // Disallow default bitwise copy construct and assignment
74  SpalartAllmarasDDES& operator=(const SpalartAllmarasDDES&);
75 
76 
77 protected:
78 
79  // Protected member functions
80 
81  //- Length scale
82  virtual tmp<volScalarField> dTilda(const volScalarField& S) const;
83 
84  virtual tmp<volScalarField> S(const volTensorField& gradU) const;
85 
86 
87 public:
88 
89  //- Runtime type information
90  TypeName("SpalartAllmarasDDES");
91 
92 
93  // Constructors
94 
95  //- Construct from components
97  (
98  const volVectorField& U,
99  const surfaceScalarField& phi,
101  );
102 
103 
104  //- Destructor
106  {}
107 };
108 
109 
110 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
111 
112 } // End namespace LESModels
113 } // End namespace incompressible
114 } // End namespace Foam
115 
116 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
117 
118 #endif
119 
120 // ************************ vim: set sw=4 sts=4 et: ************************ //