1 /*---------------------------------------------------------------------------*\
3 \\ / F ield | foam-extend: Open Source CFD
4 \\ / O peration | Version: 3.2
5 \\ / A nd | Web: http://www.foam-extend.org
6 \\/ M anipulation | For copyright notice see file Copyright
7 -------------------------------------------------------------------------------
9 This file is part of foam-extend.
11 foam-extend is free software: you can redistribute it and/or modify it
12 under the terms of the GNU General Public License as published by the
13 Free Software Foundation, either version 3 of the License, or (at your
14 option) any later version.
16 foam-extend is distributed in the hope that it will be useful, but
17 WITHOUT ANY WARRANTY; without even the implied warranty of
18 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
19 General Public License for more details.
21 You should have received a copy of the GNU General Public License
22 along with foam-extend. 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
90 //- Return SGS kinetic energy
91 virtual tmp<volScalarField> k() const;
93 //- Return sub-grid disipation rate
94 virtual tmp<volScalarField> epsilon() const;
96 //- Return SGS viscosity
97 virtual tmp<volScalarField> nuSgs() const;
99 //- Return the effective viscosity
100 virtual tmp<volScalarField> nuEff() const;
102 //- Return the sub-grid stress tensor B.
103 virtual tmp<volSymmTensorField> B() const;
105 //- Return the deviatoric part of the effective sub-grid
106 // turbulence stress tensor including the laminar stress
107 virtual tmp<volSymmTensorField> devBeff() const;
109 //- Return the deviatoric part of the divergence of Beff
110 // i.e. the additional term in the filtered NSE.
111 virtual tmp<fvVectorMatrix> divDevBeff(volVectorField& U) const;
113 //- Read LESProperties dictionary
118 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
120 } // End namespace LESModels
121 } // End namespace incompressible
122 } // End namespace Foam
124 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
128 // ************************************************************************* //