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 
54 :
56 {
57  // Private Data
58 
59  //- Model constant
60  scalar C_;
61 
62 
63 public:
64 
65  //- Runtime type information
66  TypeName("infinitelyFastChemistry");
67 
68 
69  // Constructors
70 
71  //- Construct from components
73  (
74  const word& modelType,
77  const word& combustionProperties
78  );
79 
80  //- Disallow default bitwise copy construction
82 
83 
84  //- Destructor
85  virtual ~infinitelyFastChemistry();
86 
87 
88  // Member Functions
89 
90  //- Correct combustion rate
91  virtual void correct();
92 
93  //- Update properties
94  virtual bool read();
95 
96 
97  // Member Operators
98 
99  //- Disallow default bitwise assignment
100  void operator=(const infinitelyFastChemistry&) = delete;
101 };
102 
103 
104 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
105 
106 } // End namespace combustionModels
107 } // End namespace Foam
108 
109 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
110 
111 #endif
112 
113 // ************************************************************************* //
Simple infinitely fast chemistry combustion model based on the principle mixed is burnt...
TypeName("infinitelyFastChemistry")
Runtime type information.
Base-class for multi-component fluid thermodynamic properties.
infinitelyFastChemistry(const word &modelType, const fluidReactionThermo &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 basicSpecieMixture.
Base class for single-phase compressible turbulence models.
Namespace for OpenFOAM.
const fluidReactionThermo & thermo() const
Return const access to the thermo.