consumptionSpeed.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-2018 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::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 
44 namespace Foam
45 {
46 
47 /*---------------------------------------------------------------------------*\
48  Class consumptionSpeed Declaration
49 \*---------------------------------------------------------------------------*/
50 
51 class consumptionSpeed
52 {
53  // Private Data
54 
55  //- Maximum consumption speed
56  scalar omega0_;
57 
58  //- Exponential factor
59  scalar eta_;
60 
61  //- Extinction strain
62  scalar sigmaExt_;
63 
64  //- Minimum consumption speed
65  scalar omegaMin_;
66 
67 
68  // Private member functions
69 
70  //- Return consumption rate
71  scalar omega0Sigma(scalar sigma, scalar a) const;
72 
73  //- Disallow copy construct
75 
76  //- Disallow default bitwise assignment
77  void operator=(const consumptionSpeed&);
78 
79 
80 public:
81 
82  //- Runtime type information
83  TypeName("consumptionSpeed");
84 
85 
86  // Constructors
87 
88  //- Construct from dictionary
90 
91 
92  //- Destructor
93  virtual ~consumptionSpeed();
94 
95 
96  // Member functions
97 
98  //- Return speed consumption rate temp
99  tmp<volScalarField> omega0Sigma(const volScalarField& sigma);
100 
101 
102  // Access functions
104  scalar omega0() const
105  {
106  return omega0_;
107  }
109  scalar eta() const
110  {
111  return eta_;
112  }
114  scalar sigmaExt() const
115  {
116  return sigmaExt_;
117  }
119  scalar omegaMin() const
120  {
121  return omegaMin_;
122  }
123 
124 
125  // IO
126 
127  //- Update properties
128  void read(const dictionary& dict);
129 };
130 
131 
132 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
133 
134 } // End namespace Foam
135 
136 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
137 
138 #endif
139 
140 // ************************************************************************* //
Correlation function for laminar consumption speed obtained from flamelet solution at increasing stra...
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].
void read(const dictionary &dict)
Update properties.
virtual ~consumptionSpeed()
Destructor.
TypeName("consumptionSpeed")
Runtime type information.
A class for managing temporary objects.
Definition: PtrList.H:53
Namespace for OpenFOAM.