OpenFOAM: API Guide
v2006
The open source CFD toolbox
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
-------------------------------------------------------------------------------
10
License
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
25
Class
26
Foam::combustionModels::eddyDissipationDiffusionModel
27
28
Group
29
grpCombustionModels
30
31
Description
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
38
SourceFiles
39
eddyDissipationDiffusionModel.C
40
41
\*---------------------------------------------------------------------------*/
42
43
#ifndef eddyDissipationDiffusionModel_H
44
#define eddyDissipationDiffusionModel_H
45
46
#include "
eddyDissipationModelBase.H
"
47
48
49
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
50
51
namespace
Foam
52
{
53
namespace
combustionModels
54
{
55
56
/*---------------------------------------------------------------------------*\
57
Class eddyDissipationDiffusionModel Declaration
58
\*---------------------------------------------------------------------------*/
59
60
template
<
class
ReactionThermo,
class
ThermoType>
61
class
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
83
public
:
84
85
//- Runtime type information
86
TypeName
(
"EDM"
);
87
88
89
// Constructors
90
91
//- Construct from components
92
eddyDissipationDiffusionModel
93
(
94
const
word
& modelType,
95
ReactionThermo&
thermo
,
96
const
compressibleTurbulenceModel
&
turb
,
97
const
word
& combustionProperties
98
);
99
100
101
//- Destructor
102
virtual
~eddyDissipationDiffusionModel
();
103
104
105
// Member Functions
106
107
//- Calculate time scale
108
virtual
tmp<volScalarField>
timeScale
();
109
110
//- Return the reciprocal of the diffusion time scale
111
tmp<volScalarField>
rtDiff
()
const
;
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
130
# include "
eddyDissipationDiffusionModel.C
"
131
#endif
132
133
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
134
135
#endif
136
137
// ************************************************************************* //
eddyDissipationModelBase.H
Foam::combustionModels::eddyDissipationModelBase
Standard Eddy Dissipation Model based on the assumption that the reaction rates are controlled by the...
Definition:
eddyDissipationModelBase.H:57
Foam::word
A class for handling words, derived from Foam::string.
Definition:
word.H:62
Foam::tmp< volScalarField >
thermo
Basic thermodynamics type based on the use of fitting functions for cp, h, s obtained from the templa...
Foam::combustionModels::eddyDissipationDiffusionModel::read
virtual bool read()
Update properties.
Definition:
eddyDissipationDiffusionModel.C:109
Foam
Namespace for OpenFOAM.
Definition:
atmBoundaryLayer.C:33
Foam::combustionModels::eddyDissipationDiffusionModel::TypeName
TypeName("EDM")
Runtime type information.
Foam::combustionModels::eddyDissipationDiffusionModel::rtDiff
tmp< volScalarField > rtDiff() const
Return the reciprocal of the diffusion time scale.
Definition:
eddyDissipationDiffusionModel.C:79
Foam::combustionModels::eddyDissipationDiffusionModel
Eddy dissipation model based on the principle of mixed is burnt.
Definition:
eddyDissipationDiffusionModel.H:61
turb
compressible::turbulenceModel & turb
Definition:
setRegionFluidFields.H:10
Foam::combustionModels::eddyDissipationDiffusionModel::timeScale
virtual tmp< volScalarField > timeScale()
Calculate time scale.
Definition:
eddyDissipationDiffusionModel.C:71
Foam::combustionModels::eddyDissipationDiffusionModel::~eddyDissipationDiffusionModel
virtual ~eddyDissipationDiffusionModel()
Destructor.
Definition:
eddyDissipationDiffusionModel.C:62
Foam::compressibleTurbulenceModel
Abstract base class for turbulence models (RAS, LES and laminar).
Definition:
compressibleTurbulenceModel.H:54
eddyDissipationDiffusionModel.C
src
combustionModels
eddyDissipationDiffusionModel
eddyDissipationDiffusionModel.H
Generated by
1.8.17
OPENFOAM® is a registered
trademark
of OpenCFD Ltd.