1 /*---------------------------------------------------------------------------*\
3 \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
5 \\ / A nd | Copyright (C) 2004-2010 OpenCFD Ltd.
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::laminar
28 LES model for laminar incompressible flow.
29 It simply returns laminar properties.
34 \*---------------------------------------------------------------------------*/
40 #include "volFields.H"
42 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
46 namespace incompressible
51 /*---------------------------------------------------------------------------*\
52 Class laminar Declaration
53 \*---------------------------------------------------------------------------*/
59 // Private Member Functions
61 // Disallow default bitwise copy construct and assignment
62 laminar(const laminar&);
63 laminar& operator=(const laminar&);
68 //- Runtime type information
74 //- Construct from components
77 const volVectorField& U,
78 const surfaceScalarField& phi,
79 transportModel& transport,
80 const word& turbulenceModelName = turbulenceModel::typeName,
81 const word& modelName = typeName
92 //- Return SGS kinetic energy
93 virtual tmp<volScalarField> k() const;
95 //- Return sub-grid disipation rate
96 virtual tmp<volScalarField> epsilon() const;
98 //- Return SGS viscosity
99 virtual tmp<volScalarField> nuSgs() const;
101 //- Return the effective viscosity
102 virtual tmp<volScalarField> nuEff() const;
104 //- Return the sub-grid stress tensor B.
105 virtual tmp<volSymmTensorField> B() const;
107 //- Return the deviatoric part of the effective sub-grid
108 // turbulence stress tensor including the laminar stress
109 virtual tmp<volSymmTensorField> devBeff() const;
111 //- Return the deviatoric part of the divergence of Beff
112 // i.e. the additional term in the filtered NSE.
113 virtual tmp<fvVectorMatrix> divDevBeff(volVectorField& U) const;
115 //- Read LESProperties dictionary
120 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
122 } // End namespace LESModels
123 } // End namespace incompressible
124 } // End namespace Foam
126 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
130 // ************************************************************************* //