Gulder.H
Go to the documentation of this file.
1 /*---------------------------------------------------------------------------*\
2  ========= |
3  \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
4  \\ / O peration | Website: https://openfoam.org
5  \\ / A nd | Copyright (C) 2011-2024 OpenFOAM Foundation
6  \\/ M anipulation |
7 -------------------------------------------------------------------------------
8 License
9  This file is part of OpenFOAM.
10 
11  OpenFOAM is free software: you can redistribute it and/or modify it
12  under the terms of the GNU General Public License as published by
13  the Free Software Foundation, either version 3 of the License, or
14  (at your option) any later version.
15 
16  OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
17  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
18  FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
19  for more details.
20 
21  You should have received a copy of the GNU General Public License
22  along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
23 
24 Class
25  Foam::laminarFlameSpeedModels::Gulder
26 
27 Description
28  Laminar flame speed obtained from Gulder's correlation
29 
30  with optional support for EGR (exhaust gas recirculation) if the \c egr
31  mass-fraction field is available.
32 
33  Reference:
34  \verbatim
35  Gülder, Ö. L. (1984).
36  Correlations of laminar combustion data for alternative SI engine fuels
37  (No. 841000). SAE technical paper.
38  \endverbatim
39 
40  Note: the EGR \c f coefficient multiplies the \c egr mass-fraction, not the
41  mole-fraction as stated in the paper so must be set accordingly.
42 
43 SourceFiles
44  Gulder.C
45 
46 \*---------------------------------------------------------------------------*/
47 
48 #ifndef Gulder_H
49 #define Gulder_H
50 
51 #include "laminarFlameSpeed.H"
52 
53 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
54 
55 namespace Foam
56 {
57 namespace laminarFlameSpeedModels
58 {
59 
60 /*---------------------------------------------------------------------------*\
61  Class Gulder Declaration
62 \*---------------------------------------------------------------------------*/
63 
64 class Gulder
65 :
66  public laminarFlameSpeed
67 {
68  // Private Data
69 
70  scalar W_;
71  scalar eta_;
72  scalar xi_;
73  scalar f_;
74  scalar alpha_;
75  scalar beta_;
76 
77 
78  // Private Member Functions
79 
80  inline scalar SuRef
81  (
82  scalar phi
83  ) const;
84 
85  inline scalar Su0pTphi
86  (
87  scalar p,
88  scalar Tu,
89  scalar phi,
90  scalar Yres
91  ) const;
92 
93  tmp<volScalarField> Su0pTphi
94  (
95  const volScalarField& p,
96  const volScalarField& Tu,
97  scalar phi
98  ) const;
99 
100  tmp<volScalarField> Su0pTphi
101  (
102  const volScalarField& p,
103  const volScalarField& Tu,
104  const volScalarField& phi
105  ) const;
106 
107  tmp<volScalarField> Su0pTphi
108  (
109  const volScalarField& p,
110  const volScalarField& Tu,
111  const volScalarField& phi,
112  const volScalarField& egr
113  ) const;
114 
115 
116 public:
117 
118  //- Runtime type information
119  TypeName("Gulder");
120 
121 
122  // Constructors
123 
124  //- Construct from dictionary and psiuMulticomponentThermo
125  Gulder
126  (
127  const dictionary& dict,
128  const dictionary& coeffDict,
130  );
131 
132  //- Disallow default bitwise copy construction
133  Gulder(const Gulder&) = delete;
134 
135 
136  //- Destructor
137  virtual ~Gulder();
138 
139 
140  // Member Operators
141 
142  //- Return the laminar flame speed [m/s]
144 
145  //- Disallow default bitwise assignment
146  void operator=(const Gulder&) = delete;
147 };
148 
149 
150 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
151 
152 } // End laminarFlameSpeedModels
153 } // End namespace Foam
154 
155 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
156 
157 #endif
158 
159 // ************************************************************************* //
Generic GeometricField class.
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
Definition: dictionary.H:162
Laminar flame speed obtained from Gulder's correlation.
Definition: Gulder.H:66
Gulder(const dictionary &dict, const dictionary &coeffDict, const psiuMulticomponentThermo &)
Construct from dictionary and psiuMulticomponentThermo.
Definition: Gulder.C:50
void operator=(const Gulder &)=delete
Disallow default bitwise assignment.
TypeName("Gulder")
Runtime type information.
tmp< volScalarField > operator()() const
Return the laminar flame speed [m/s].
Definition: Gulder.C:244
virtual ~Gulder()
Destructor.
Definition: Gulder.C:69
Abstract class for laminar flame speed.
Base-class for combustion fluid thermodynamic properties based on compressibility.
A class for managing temporary objects.
Definition: tmp.H:55
Namespace for OpenFOAM.
dictionary dict
volScalarField & p