consumptionSpeed.H
Go to the documentation of this file.
1 /*---------------------------------------------------------------------------*\
2  ========= |
3  \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
4  \\ / O peration |
5  \\ / A nd | Copyright (C) 2011-2015 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::reactionRateFlameAreaModels::consumptionSpeed
26 
27 Description
28  Correlation function for laminar consumption speed obtained from flamelet
29  solution at increasing strain rates.
30 
31 SourceFiles
32  consumptionSpeed.C
33 
34 \*---------------------------------------------------------------------------*/
35 
36 #ifndef consumptionSpeed_H
37 #define consumptionSpeed_H
38 
39 #include "IOdictionary.H"
40 #include "volFields.H"
41 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
42 
43 namespace Foam
44 {
45 
46 /*---------------------------------------------------------------------------*\
47  Class consumptionSpeed Declaration
48 \*---------------------------------------------------------------------------*/
49 
50 class consumptionSpeed
51 {
52  // Private Data
53 
54  //- Maximum consumption speed
55  scalar omega0_;
56 
57  //- Exponential factor
58  scalar eta_;
59 
60  //- Extinction strain
61  scalar sigmaExt_;
62 
63  //- Minimum consumption speed
64  scalar omegaMin_;
65 
66 
67  // Private member functions
68 
69  //- Return consumption rate
70  scalar omega0Sigma(scalar sigma, scalar a) const;
71 
72  //- Disallow copy construct
74 
75  //- Disallow default bitwise assignment
76  void operator=(const consumptionSpeed&);
77 
78 
79 public:
80 
81  //- Runtime type information
82  TypeName("consumptionSpeed");
83 
84 
85  // Constructors
86 
87  //- Construct from dictionary
89 
90 
91  //- Destructor
92  virtual ~consumptionSpeed();
93 
94 
95  // Member functions
96 
97  //- Return speed consumption rate temp
98  tmp<volScalarField> omega0Sigma(const volScalarField& sigma);
99 
100 
101  // Access functions
103  scalar omega0() const
104  {
105  return omega0_;
106  }
108  scalar eta() const
109  {
110  return eta_;
111  }
113  scalar sigmaExt() const
114  {
115  return sigmaExt_;
116  }
118  scalar omegaMin() const
119  {
120  return omegaMin_;
121  }
122 
123 
124  // IO
125 
126  //- Update properties
127  void read(const dictionary& dict);
128 };
129 
130 
131 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
132 
133 } // End namespace Foam
134 
135 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
136 
137 #endif
138 
139 // ************************************************************************* //
dictionary dict
A list of keyword definitions, which are a keyword followed by any number of values (e...
Definition: dictionary.H:137
const dimensionedScalar sigma
Stefan-Boltzmann constant: default SI units: [W/m2/K4].
scalar sigmaExt() const
void read(const dictionary &dict)
Update properties.
scalar omegaMin() const
virtual ~consumptionSpeed()
Destructor.
TypeName("consumptionSpeed")
Runtime type information.
A class for managing temporary objects.
Definition: PtrList.H:54
Namespace for OpenFOAM.