1 /*---------------------------------------------------------------------------*\
3 \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
5 \\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
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
13 the Free Software Foundation, either version 3 of the License, or
14 (at your 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, see <http://www.gnu.org/licenses/>.
25 Foam::incompressible::LESModels::vanDriestDelta
28 Simple cube-root of cell volume delta used in incompressible LES models.
33 \*---------------------------------------------------------------------------*/
35 #ifndef vanDriestDelta_H
36 #define vanDriestDelta_H
40 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
44 namespace incompressible
49 /*---------------------------------------------------------------------------*\
50 Class vanDriestDelta Declaration
51 \*---------------------------------------------------------------------------*/
59 autoPtr<LESdelta> geometricDelta_;
66 // Private Member Functions
68 //- Disallow default bitwise copy construct and assignment
69 vanDriestDelta(const vanDriestDelta&);
70 void operator=(const vanDriestDelta&);
72 // Calculate the delta values
78 //- Runtime type information
79 TypeName("vanDriest");
84 //- Construct from name, mesh and IOdictionary
85 vanDriestDelta(const word& name, const fvMesh& mesh, const dictionary&);
89 virtual ~vanDriestDelta()
95 //- Read the LESdelta dictionary
96 virtual void read(const dictionary&);
99 virtual void correct();
103 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
105 } // End namespace LESModels
106 } // End namespace incompressible
107 } // End namespace Foam
109 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
113 // ************************************************************************* //