|
|
|
SCOPEBlendXiEq.HGo 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) 1991-2009 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 the 00013 Free Software Foundation; either version 2 of the License, or (at your 00014 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, write to the Free Software Foundation, 00023 Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 00024 00025 Class 00026 Foam::XiEqModels::SCOPEBlend 00027 00028 Description 00029 Simple SCOPEBlendXiEq model for XiEq based on SCOPEXiEqs correlation 00030 with a linear correction function to give a plausible profile for XiEq. 00031 See @link SCOPELaminarFlameSpeed.H @endlink for details on the SCOPE 00032 laminar flame speed model. 00033 00034 SourceFiles 00035 SCOPEBlend.C 00036 00037 \*---------------------------------------------------------------------------*/ 00038 00039 #ifndef SCOPEBlend_H 00040 #define SCOPEBlend_H 00041 00042 #include "XiEqModel.H" 00043 00044 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 00045 00046 namespace Foam 00047 { 00048 namespace XiEqModels 00049 { 00050 00051 /*---------------------------------------------------------------------------*\ 00052 Class SCOPEBlend Declaration 00053 \*---------------------------------------------------------------------------*/ 00054 00055 class SCOPEBlend 00056 : 00057 public XiEqModel 00058 { 00059 // Private data 00060 00061 //- Low turbulence intensity equilibrium Xi model 00062 autoPtr<XiEqModel> XiEqModelL_; 00063 00064 //- High turbulence intensity equilibrium Xi model 00065 autoPtr<XiEqModel> XiEqModelH_; 00066 00067 00068 // Private Member Functions 00069 00070 //- Disallow copy construct 00071 SCOPEBlend(const SCOPEBlend&); 00072 00073 //- Disallow default bitwise assignment 00074 void operator=(const SCOPEBlend&); 00075 00076 00077 public: 00078 00079 //- Runtime type information 00080 TypeName("SCOPEBlend"); 00081 00082 00083 // Constructors 00084 00085 //- Construct from components 00086 SCOPEBlend 00087 ( 00088 const dictionary& XiEqProperties, 00089 const hhuCombustionThermo& thermo, 00090 const compressible::RASModel& turbulence, 00091 const volScalarField& Su 00092 ); 00093 00094 00095 // Destructor 00096 00097 virtual ~SCOPEBlend(); 00098 00099 00100 // Member Functions 00101 00102 //- Return the flame-wrinking XiEq 00103 virtual tmp<volScalarField> XiEq() const; 00104 00105 //- Update properties from given dictionary 00106 virtual bool read(const dictionary& XiEqProperties) 00107 { 00108 return true; 00109 } 00110 }; 00111 00112 00113 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 00114 00115 } // End namespace XiEqModels 00116 } // End namespace Foam 00117 00118 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 00119 00120 #endif 00121 00122 // ************************************************************************* // |