|
|
|
SCOPEXiEq.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::XiEqModel::SCOPEXiEq 00027 00028 Description 00029 Simple SCOPEXiEq 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 laminar 00032 flame speed model. 00033 00034 SourceFiles 00035 SCOPEXiEq.C 00036 00037 \*---------------------------------------------------------------------------*/ 00038 00039 #ifndef SCOPEXiEq_H 00040 #define SCOPEXiEq_H 00041 00042 #include "XiEqModel.H" 00043 #include "SCOPELaminarFlameSpeed.H" 00044 00045 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 00046 00047 namespace Foam 00048 { 00049 namespace XiEqModels 00050 { 00051 00052 /*---------------------------------------------------------------------------*\ 00053 Class SCOPEXiEq Declaration 00054 \*---------------------------------------------------------------------------*/ 00055 00056 class SCOPEXiEq 00057 : 00058 public XiEqModel 00059 { 00060 // Private data 00061 00062 scalar XiEqCoef; 00063 scalar XiEqExp; 00064 scalar lCoef; 00065 dimensionedScalar SuMin; 00066 00067 //- The SCOPE laminar flame speed model used to obtain the 00068 // Marstein number. Note: the laminar flame speed need not be 00069 // obtained form the same model. 00070 laminarFlameSpeedModels::SCOPE MaModel; 00071 00072 00073 // Private Member Functions 00074 00075 //- Disallow copy construct 00076 SCOPEXiEq(const SCOPEXiEq&); 00077 00078 //- Disallow default bitwise assignment 00079 void operator=(const SCOPEXiEq&); 00080 00081 00082 public: 00083 00084 //- Runtime type information 00085 TypeName("SCOPEXiEq"); 00086 00087 00088 // Constructors 00089 00090 //- Construct from components 00091 SCOPEXiEq 00092 ( 00093 const dictionary& XiEqProperties, 00094 const hhuCombustionThermo& thermo, 00095 const compressible::RASModel& turbulence, 00096 const volScalarField& Su 00097 ); 00098 00099 00100 // Destructor 00101 00102 virtual ~SCOPEXiEq(); 00103 00104 00105 // Member Functions 00106 00107 //- Return the flame-wrinking XiEq 00108 virtual tmp<volScalarField> XiEq() const; 00109 00110 //- Update properties from given dictionary 00111 virtual bool read(const dictionary& XiEqProperties); 00112 }; 00113 00114 00115 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 00116 00117 } // End namespace XiEqModels 00118 } // End namespace Foam 00119 00120 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 00121 00122 #endif 00123 00124 // ************************************************************************* // |