00001 /*---------------------------------------------------------------------------*\ 00002 ========= | 00003 \\ / F ield | OpenFOAM: The Open Source CFD Toolbox 00004 \\ / O peration | 00005 \\ / A nd | Copyright (C) 1991-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::incompressible::LESModels::laminar 00026 00027 Description 00028 LES model for laminar incompressible flow. 00029 It simply returns laminar properties. 00030 00031 SourceFiles 00032 laminar.C 00033 00034 \*---------------------------------------------------------------------------*/ 00035 00036 #ifndef lesLaminar_H 00037 #define lesLaminar_H 00038 00039 #include <incompressibleLESModels/LESModel.H> 00040 #include <finiteVolume/volFields.H> 00041 00042 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 00043 00044 namespace Foam 00045 { 00046 namespace incompressible 00047 { 00048 namespace LESModels 00049 { 00050 00051 /*---------------------------------------------------------------------------*\ 00052 Class laminar Declaration 00053 \*---------------------------------------------------------------------------*/ 00054 00055 class laminar 00056 : 00057 public LESModel 00058 { 00059 // Private member functions 00060 00061 // Disallow default bitwise copy construct and assignment 00062 laminar(const laminar&); 00063 laminar& operator=(const laminar&); 00064 00065 00066 public: 00067 00068 //- Runtime type information 00069 TypeName("laminar"); 00070 00071 00072 // Constructors 00073 00074 //- Construct from components 00075 laminar 00076 ( 00077 const volVectorField& U, 00078 const surfaceScalarField& phi, 00079 transportModel& transport 00080 ); 00081 00082 00083 //- Destructor 00084 virtual ~laminar() 00085 {} 00086 00087 00088 // Member Functions 00089 00090 //- Return SGS kinetic energy 00091 virtual tmp<volScalarField> k() const; 00092 00093 //- Return sub-grid disipation rate 00094 virtual tmp<volScalarField> epsilon() const; 00095 00096 //- Return SGS viscosity 00097 virtual tmp<volScalarField> nuSgs() const; 00098 00099 //- Return the effective viscosity 00100 virtual tmp<volScalarField> nuEff() const; 00101 00102 //- Return the sub-grid stress tensor B. 00103 virtual tmp<volSymmTensorField> B() const; 00104 00105 //- Return the deviatoric part of the effective sub-grid 00106 // turbulence stress tensor including the laminar stress 00107 virtual tmp<volSymmTensorField> devBeff() const; 00108 00109 //- Return the deviatoric part of the divergence of Beff 00110 // i.e. the additional term in the filtered NSE. 00111 virtual tmp<fvVectorMatrix> divDevBeff(volVectorField& U) const; 00112 00113 //- Read LESProperties dictionary 00114 bool read(); 00115 }; 00116 00117 00118 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 00119 00120 } // End namespace LESModels 00121 } // End namespace incompressible 00122 } // End namespace Foam 00123 00124 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 00125 00126 #endif 00127 00128 // ************************ vim: set sw=4 sts=4 et: ************************ //