|
|
|
Gulders.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::Gulders 00027 00028 Description 00029 Laminar flame speed obtained from Gulder's correlation. 00030 00031 SourceFiles 00032 Gulders.C 00033 00034 \*---------------------------------------------------------------------------*/ 00035 00036 #ifndef Gulders_H 00037 #define Gulders_H 00038 00039 #include "laminarFlameSpeed.H" 00040 00041 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 00042 00043 namespace Foam 00044 { 00045 namespace laminarFlameSpeedModels 00046 { 00047 00048 /*---------------------------------------------------------------------------*\ 00049 Class Gulders Declaration 00050 \*---------------------------------------------------------------------------*/ 00051 00052 class Gulders 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; 00096 00097 //- Construct as copy (not implemented) 00098 Gulders(const Gulders&); 00099 00100 void operator=(const Gulders&); 00101 00102 00103 public: 00104 00105 //- Runtime type information 00106 TypeName("Gulders"); 00107 00108 // Constructors 00109 00110 //- Construct from dictionary and hhuCombustionThermo 00111 Gulders 00112 ( 00113 const dictionary&, 00114 const hhuCombustionThermo& 00115 ); 00116 00117 00118 // Destructor 00119 00120 ~Gulders(); 00121 00122 00123 // Member functions 00124 00125 //- Return the laminar flame speed [m/s] 00126 tmp<volScalarField> operator()() const; 00127 }; 00128 00129 00130 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 00131 00132 } // End laminarFlameSpeedModels 00133 } // End namespace Foam 00134 00135 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 00136 00137 #endif 00138 00139 // ************************************************************************* // |