|
|
|
GuldersEGR.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::laminarFlameSpeedModels::GuldersEGR 00027 00028 Description 00029 Laminar flame speed obtained from Gulder's correlation with EGR modelling. 00030 00031 SourceFiles 00032 GuldersEGR.C 00033 00034 \*---------------------------------------------------------------------------*/ 00035 00036 #ifndef GuldersEGR_H 00037 #define GuldersEGR_H 00038 00039 #include "laminarFlameSpeed.H" 00040 00041 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 00042 00043 namespace Foam 00044 { 00045 namespace laminarFlameSpeedModels 00046 { 00047 00048 /*---------------------------------------------------------------------------*\ 00049 Class GuldersEGR Declaration 00050 \*---------------------------------------------------------------------------*/ 00051 00052 class GuldersEGR 00053 : 00054 public laminarFlameSpeed 00055 { 00056 // Private Data 00057 00058 dictionary coeffsDict_; 00059 00060 scalar W_; 00061 scalar eta_; 00062 scalar xi_; 00063 scalar f_; 00064 scalar alpha_; 00065 scalar beta_; 00066 00067 00068 // Private member functions 00069 00070 inline scalar SuRef 00071 ( 00072 scalar phi 00073 ) const; 00074 00075 inline scalar Su0pTphi 00076 ( 00077 scalar p, 00078 scalar Tu, 00079 scalar phi, 00080 scalar Yres 00081 ) const; 00082 00083 tmp<volScalarField> Su0pTphi 00084 ( 00085 const volScalarField& p, 00086 const volScalarField& Tu, 00087 scalar phi 00088 ) const; 00089 00090 tmp<volScalarField> Su0pTphi 00091 ( 00092 const volScalarField& p, 00093 const volScalarField& Tu, 00094 const volScalarField& phi, 00095 const volScalarField& egr 00096 ) const; 00097 00098 //- Construct as copy (not implemented) 00099 GuldersEGR(const GuldersEGR&); 00100 00101 void operator=(const GuldersEGR&); 00102 00103 00104 public: 00105 00106 //- Runtime type information 00107 TypeName("GuldersEGR"); 00108 00109 // Constructors 00110 00111 //- Construct from dictionary and hhuCombustionThermo 00112 GuldersEGR 00113 ( 00114 const dictionary&, 00115 const hhuCombustionThermo& 00116 ); 00117 00118 00119 // Destructor 00120 00121 ~GuldersEGR(); 00122 00123 00124 // Member functions 00125 00126 //- Return the laminar flame speed [m/s] 00127 tmp<volScalarField> operator()() const; 00128 }; 00129 00130 00131 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 00132 00133 } // End laminarFlameSpeedModels 00134 } // End namespace Foam 00135 00136 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 00137 00138 #endif 00139 00140 // ************************************************************************* // |