OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

SpalartAllmarasDDES.H

Go to the documentation of this file.
00001 /*---------------------------------------------------------------------------*\
00002   =========                 |
00003   \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
00004    \\    /   O peration     |
00005     \\  /    A nd           | Copyright (C) 2008-2009 OpenCFD Ltd.
00006      \\/     M anipulation  |
00007 -------------------------------------------------------------------------------
00008 License
00009     This file is part of OpenFOAM.
00010 
00011     OpenFOAM is free software; you can redistribute it and/or modify it
00012     under the terms of the GNU General Public License as published by the
00013     Free Software Foundation; either version 2 of the License, or (at your
00014     option) any later version.
00015 
00016     OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
00017     ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
00018     FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
00019     for more details.
00020 
00021     You should have received a copy of the GNU General Public License
00022     along with OpenFOAM; if not, write to the Free Software Foundation,
00023     Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
00024 
00025 Class
00026     Foam::LESmodels::SpalartAllmarasDDES
00027 
00028 Description
00029     SpalartAllmaras DDES LES turbulence model for incompressible flows
00030 
00031     Reference:
00032     P.R. Spalart, S. Deck, S., M.L.Shur, K.D. Squires, M.Kh Strelets, and
00033     A. Travin. `A new version of detached-eddy simulation, resistant to
00034     ambiguous grid densities'. Theor. Comp. Fluid Dyn., 20:181-195, 2006.
00035 
00036 SourceFiles
00037     SpalartAllmarasDDES.C
00038 
00039 \*---------------------------------------------------------------------------*/
00040 
00041 #ifndef SpalartAllmarasDDES_H
00042 #define SpalartAllmarasDDES_H
00043 
00044 #include "SpalartAllmaras.H"
00045 
00046 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
00047 
00048 namespace Foam
00049 {
00050 namespace incompressible
00051 {
00052 namespace LESModels
00053 {
00054 
00055 /*---------------------------------------------------------------------------*\
00056                         Class SpalartAllmarasDDES Declaration
00057 \*---------------------------------------------------------------------------*/
00058 
00059 class SpalartAllmarasDDES
00060 :
00061     public SpalartAllmaras
00062 {
00063     // Private member functions
00064 
00065         tmp<volScalarField> fd(const volScalarField& S) const;
00066 
00067         tmp<volScalarField> rd
00068         (
00069             const volScalarField& visc,
00070             const volScalarField& S
00071         ) const;
00072 
00073         // Disallow default bitwise copy construct and assignment
00074         SpalartAllmarasDDES(const SpalartAllmarasDDES&);
00075         SpalartAllmarasDDES& operator=(const SpalartAllmarasDDES&);
00076 
00077 
00078 protected:
00079 
00080     // Protected member functions
00081 
00082         //- Length scale
00083         virtual tmp<volScalarField> dTilda(const volScalarField& S) const;
00084 
00085 
00086 public:
00087 
00088     //- Runtime type information
00089     TypeName("SpalartAllmarasDDES");
00090 
00091 
00092     // Constructors
00093 
00094         //- Construct from components
00095         SpalartAllmarasDDES
00096         (
00097             const volVectorField& U,
00098             const surfaceScalarField& phi,
00099             transportModel& transport
00100         );
00101 
00102 
00103     //- Destructor
00104     virtual ~SpalartAllmarasDDES()
00105     {}
00106 };
00107 
00108 
00109 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
00110 
00111 } // End namespace LESModels
00112 } // End namespace incompressible
00113 } // End namespace Foam
00114 
00115 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
00116 
00117 #endif
00118 
00119 // ************************************************************************* //
Copyright © 2000-2009 OpenCFD Ltd