infinitelyFastChemistry.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::combustionModels::infinitelyFastChemistry
26 
27 Description
28  Simple infinitely fast chemistry combustion model based on the principle
29  mixed is burnt. Additional parameter C is used to distribute the heat
30  release rate.in time
31 
32 SourceFiles
33  infinitelyFastChemistry.C
34 
35 \*---------------------------------------------------------------------------*/
36 
37 #ifndef infinitelyFastChemistry_H
38 #define infinitelyFastChemistry_H
39 
40 #include "singleStepCombustion.H"
41 
42 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
43 
44 namespace Foam
45 {
46 namespace combustionModels
47 {
48 
49 /*---------------------------------------------------------------------------*\
50  Class infinitelyFastChemistry Declaration
51 \*---------------------------------------------------------------------------*/
52 
53 template<class ReactionThermo, class ThermoType>
55 :
56  public singleStepCombustion<ReactionThermo, ThermoType>
57 {
58  // Private data
59 
60  //- Model constant
61  scalar C_;
62 
63 
64  // Private Member Functions
65 
66  //- Disallow copy construct
68 
69  //- Disallow default bitwise assignment
70  void operator=(const infinitelyFastChemistry&);
71 
72 
73 public:
74 
75  //- Runtime type information
76  TypeName("infinitelyFastChemistry");
77 
78 
79  // Constructors
80 
81  //- Construct from components
83  (
84  const word& modelType,
85  ReactionThermo& thermo,
86  const compressibleTurbulenceModel& turb,
87  const word& combustionProperties
88  );
89 
90 
91  //- Destructor
92  virtual ~infinitelyFastChemistry();
93 
94 
95  // Member Functions
96 
97  //- Correct combustion rate
98  virtual void correct();
99 
100  //- Update properties
101  virtual bool read();
102 };
103 
104 
105 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
106 
107 } // End namespace combustionModels
108 } // End namespace Foam
109 
110 
111 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
112 
113 #ifdef NoRepository
114  #include "infinitelyFastChemistry.C"
115 #endif
116 
117 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
118 
119 #endif
120 
121 // ************************************************************************* //
Simple infinitely fast chemistry combustion model based on the principle mixed is burnt...
TypeName("infinitelyFastChemistry")
Runtime type information.
A class for handling words, derived from string.
Definition: word.H:59
virtual ReactionThermo & thermo()
Return access to the thermo package.
virtual void correct()
Correct combustion rate.
Abstract base class for turbulence models (RAS, LES and laminar).
Base class for combustion models using singleStepReactingMixture.
Namespace for OpenFOAM.