infinitelyFastChemistry.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 | www.openfoam.com
6  \\/ M anipulation |
7 -------------------------------------------------------------------------------
8  Copyright (C) 2011-2017 OpenFOAM Foundation
9 -------------------------------------------------------------------------------
10 License
11  This file is part of OpenFOAM.
12 
13  OpenFOAM is free software: you can redistribute it and/or modify it
14  under the terms of the GNU General Public License as published by
15  the Free Software Foundation, either version 3 of the License, or
16  (at your option) any later version.
17 
18  OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
19  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
20  FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
21  for more details.
22 
23  You should have received a copy of the GNU General Public License
24  along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
25 
26 Class
27  Foam::combustionModels::infinitelyFastChemistry
28 
29 Group
30  grpCombustionModels
31 
32 Description
33  Simple infinitely fast chemistry combustion model based on the principle
34  mixed is burnt. Additional parameter C is used to distribute the heat
35  release rate.in time
36 
37 SourceFiles
38  infinitelyFastChemistry.C
39 
40 \*---------------------------------------------------------------------------*/
41 
42 #ifndef infinitelyFastChemistry_H
43 #define infinitelyFastChemistry_H
44 
45 #include "singleStepCombustion.H"
46 
47 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
48 
49 namespace Foam
50 {
51 namespace combustionModels
52 {
53 
54 /*---------------------------------------------------------------------------*\
55  Class infinitelyFastChemistry Declaration
56 \*---------------------------------------------------------------------------*/
57 
58 template<class ReactionThermo, class ThermoType>
60 :
61  public singleStepCombustion<ReactionThermo, ThermoType>
62 {
63  // Private data
64 
65  //- Model constant
66  scalar C_;
67 
68 
69  // Private Member Functions
70 
71  //- No copy construct
73 
74  //- No copy assignment
75  void operator=(const infinitelyFastChemistry&) = delete;
76 
77 
78 public:
79 
80  //- Runtime type information
81  TypeName("infinitelyFastChemistry");
82 
83 
84  // Constructors
85 
86  //- Construct from components
88  (
89  const word& modelType,
90  ReactionThermo& thermo,
92  const word& combustionProperties
93  );
94 
95 
96  //- Destructor
97  virtual ~infinitelyFastChemistry();
98 
99 
100  // Member Functions
101 
102  //- Correct combustion rate
103  virtual void correct();
104 
105  //- Update properties
106  virtual bool read();
107 };
108 
109 
110 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
111 
112 } // End namespace combustionModels
113 } // End namespace Foam
114 
115 
116 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
117 
118 #ifdef NoRepository
119  #include "infinitelyFastChemistry.C"
120 #endif
121 
122 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
123 
124 #endif
125 
126 // ************************************************************************* //
Foam::word
A class for handling words, derived from Foam::string.
Definition: word.H:65
singleStepCombustion.H
Foam::combustionModels::infinitelyFastChemistry::~infinitelyFastChemistry
virtual ~infinitelyFastChemistry()
Destructor.
Definition: infinitelyFastChemistry.C:61
thermo
Basic thermodynamics type based on the use of fitting functions for cp, h, s obtained from the templa...
Foam::combustionModels::infinitelyFastChemistry
Simple infinitely fast chemistry combustion model based on the principle mixed is burnt....
Definition: infinitelyFastChemistry.H:58
Foam::combustionModels::singleStepCombustion
Base class for combustion models using singleStepReactingMixture.
Definition: singleStepCombustion.H:58
Foam
Namespace for OpenFOAM.
Definition: atmBoundaryLayer.C:33
Foam::combustionModels::infinitelyFastChemistry::TypeName
TypeName("infinitelyFastChemistry")
Runtime type information.
Foam::combustionModels::infinitelyFastChemistry::read
virtual bool read()
Update properties.
Definition: infinitelyFastChemistry.C:96
Foam::combustionModels::infinitelyFastChemistry::correct
virtual void correct()
Correct combustion rate.
Definition: infinitelyFastChemistry.C:68
turb
compressible::turbulenceModel & turb
Definition: setRegionFluidFields.H:10
infinitelyFastChemistry.C
Foam::compressibleTurbulenceModel
Abstract base class for turbulence models (RAS, LES and laminar).
Definition: compressibleTurbulenceModel.H:54