FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

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-2010 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
00013     the Free Software Foundation, either version 3 of the License, or
00014     (at your 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, see <http://www.gnu.org/licenses/>.
00023 
00024 Class
00025     Foam::LESmodels::SpalartAllmarasDDES
00026 
00027 Description
00028     SpalartAllmaras DDES LES turbulence model for incompressible flows
00029 
00030     Reference:
00031     P.R. Spalart, S. Deck, S., M.L.Shur, K.D. Squires, M.Kh Strelets, and
00032     A. Travin. `A new version of detached-eddy simulation, resistant to
00033     ambiguous grid densities'. Theor. Comp. Fluid Dyn., 20:181-195, 2006.
00034 
00035 SourceFiles
00036     SpalartAllmarasDDES.C
00037 
00038 \*---------------------------------------------------------------------------*/
00039 
00040 #ifndef SpalartAllmarasDDES_H
00041 #define SpalartAllmarasDDES_H
00042 
00043 #include <incompressibleLESModels/SpalartAllmaras.H>
00044 
00045 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
00046 
00047 namespace Foam
00048 {
00049 namespace incompressible
00050 {
00051 namespace LESModels
00052 {
00053 
00054 /*---------------------------------------------------------------------------*\
00055                         Class SpalartAllmarasDDES Declaration
00056 \*---------------------------------------------------------------------------*/
00057 
00058 class SpalartAllmarasDDES
00059 :
00060     public SpalartAllmaras
00061 {
00062     // Private member functions
00063 
00064         tmp<volScalarField> fd(const volScalarField& S) const;
00065 
00066         tmp<volScalarField> rd
00067         (
00068             const volScalarField& visc,
00069             const volScalarField& S
00070         ) const;
00071 
00072         // Disallow default bitwise copy construct and assignment
00073         SpalartAllmarasDDES(const SpalartAllmarasDDES&);
00074         SpalartAllmarasDDES& operator=(const SpalartAllmarasDDES&);
00075 
00076 
00077 protected:
00078 
00079     // Protected member functions
00080 
00081         //- Length scale
00082         virtual tmp<volScalarField> dTilda(const volScalarField& S) const;
00083 
00084         virtual tmp<volScalarField> S(const volTensorField& gradU) const;
00085 
00086 
00087 public:
00088 
00089     //- Runtime type information
00090     TypeName("SpalartAllmarasDDES");
00091 
00092 
00093     // Constructors
00094 
00095         //- Construct from components
00096         SpalartAllmarasDDES
00097         (
00098             const volVectorField& U,
00099             const surfaceScalarField& phi,
00100             transportModel& transport
00101         );
00102 
00103 
00104     //- Destructor
00105     virtual ~SpalartAllmarasDDES()
00106     {}
00107 };
00108 
00109 
00110 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
00111 
00112 } // End namespace LESModels
00113 } // End namespace incompressible
00114 } // End namespace Foam
00115 
00116 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
00117 
00118 #endif
00119 
00120 // ************************ vim: set sw=4 sts=4 et: ************************ //
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines