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-2020 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 public:
65 
66  //- Runtime type information
67  TypeName("infinitelyFastChemistry");
68 
69 
70  // Constructors
71 
72  //- Construct from components
74  (
75  const word& modelType,
76  const ReactionThermo& thermo,
78  const word& combustionProperties
79  );
80 
81  //- Disallow default bitwise copy construction
83 
84 
85  //- Destructor
86  virtual ~infinitelyFastChemistry();
87 
88 
89  // Member Functions
90 
91  //- Correct combustion rate
92  virtual void correct();
93 
94  //- Update properties
95  virtual bool read();
96 
97 
98  // Member Operators
99 
100  //- Disallow default bitwise assignment
101  void operator=(const infinitelyFastChemistry&) = delete;
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 // ************************************************************************* //
virtual const ReactionThermo & thermo() const
Return const access to the thermo package.
Simple infinitely fast chemistry combustion model based on the principle mixed is burnt...
TypeName("infinitelyFastChemistry")
Runtime type information.
infinitelyFastChemistry(const word &modelType, const ReactionThermo &thermo, const compressibleMomentumTransportModel &turb, const word &combustionProperties)
Construct from components.
A class for handling words, derived from string.
Definition: word.H:59
virtual void correct()
Correct combustion rate.
void operator=(const infinitelyFastChemistry &)=delete
Disallow default bitwise assignment.
Base class for combustion models using multiComponentMixture.
Abstract base class for turbulence models (RAS, LES and laminar).
Namespace for OpenFOAM.