Loading...
Searching...
No Matches
eddyDissipationDiffusionModel.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) 2016 OpenCFD Ltd
9-------------------------------------------------------------------------------
10License
11
12 OpenFOAM is free software: you can redistribute it and/or modify it
13 under the terms of the GNU General Public License as published by
14 the Free Software Foundation, either version 3 of the License, or
15 (at your option) any later version.
16
17 OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
18 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
19 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
20 for more details.
21
22 You should have received a copy of the GNU General Public License
23 along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
24
25Class
26 Foam::combustionModels::eddyDissipationDiffusionModel
27
28Group
29 grpCombustionModels
30
31Description
32 Eddy dissipation model based on the principle of mixed is burnt.
33
34 The time scale is determined by the minimum of the turbulence
35 and diffusion time scales.
36
37
38SourceFiles
39 eddyDissipationDiffusionModel.C
40
41\*---------------------------------------------------------------------------*/
42
43#ifndef eddyDissipationDiffusionModel_H
44#define eddyDissipationDiffusionModel_H
45
47
48
49// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
50
51namespace Foam
52{
53namespace combustionModels
54{
55
56/*---------------------------------------------------------------------------*\
57 Class eddyDissipationDiffusionModel Declaration
58\*---------------------------------------------------------------------------*/
59
60template<class ReactionThermo, class ThermoType>
61class eddyDissipationDiffusionModel
62:
63 public eddyDissipationModelBase<ReactionThermo, ThermoType>
64{
65 // Private data
66
67 //- Diffusivity constant
68 scalar Cd_;
69
70
71 // Private member functions
72
73 //- No copy construct
74 eddyDissipationDiffusionModel
75 (
76 const eddyDissipationDiffusionModel&
77 ) = delete;
78
79 //- No copy assignment
80 void operator=(const eddyDissipationDiffusionModel&) = delete;
81
82
83public:
84
85 //- Runtime type information
86 TypeName("EDM");
87
88
89 // Constructors
91 //- Construct from components
92 eddyDissipationDiffusionModel
93 (
94 const word& modelType,
95 ReactionThermo& thermo,
97 const word& combustionProperties
98 );
99
100
101 //- Destructor
103
104
105 // Member Functions
106
107 //- Calculate time scale
109
110 //- Return the reciprocal of the diffusion time scale
112
113
114 // I-O
115
116 //- Update properties
117 virtual bool read();
118};
119
120
121// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
122
123} // End namespace combustionModels
124} // End namespace Foam
125
126
127// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
128
129#ifdef NoRepository
131#endif
132
133// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
134
135#endif
136
137// ************************************************************************* //
compressible::turbulenceModel & turb
virtual ReactionThermo & thermo()
Return access to the thermo package.
tmp< volScalarField > rtDiff() const
Return the reciprocal of the diffusion time scale.
virtual tmp< volScalarField > timeScale()
Calculate time scale.
Abstract base class for turbulence models (RAS, LES and laminar).
A class for managing temporary objects.
Definition tmp.H:75
A class for handling words, derived from Foam::string.
Definition word.H:66
Namespace for OpenFOAM.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.
Definition typeInfo.H:68