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-------------------------------------------------------------------------------
10License
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
26Class
27 Foam::combustionModels::infinitelyFastChemistry
28
29Group
30 grpCombustionModels
31
32Description
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
37SourceFiles
38 infinitelyFastChemistry.C
39
40\*---------------------------------------------------------------------------*/
41
42#ifndef infinitelyFastChemistry_H
43#define infinitelyFastChemistry_H
44
46
47// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
48
49namespace Foam
50{
51namespace combustionModels
52{
53
54/*---------------------------------------------------------------------------*\
55 Class infinitelyFastChemistry Declaration
56\*---------------------------------------------------------------------------*/
57
58template<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
78public:
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
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
120#endif
121
122// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
123
124#endif
125
126// ************************************************************************* //
compressible::turbulenceModel & turb
Simple infinitely fast chemistry combustion model based on the principle mixed is burnt....
virtual void correct()
Correct combustion rate.
TypeName("infinitelyFastChemistry")
Runtime type information.
Base class for combustion models using singleStepReactingMixture.
Abstract base class for turbulence models (RAS, LES and laminar).
Basic thermodynamics type based on the use of fitting functions for cp, h, s obtained from the templa...
A class for handling words, derived from Foam::string.
Definition: word.H:68
Namespace for OpenFOAM.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.
Definition: typeInfo.H:73