Home
Downloads
Documentation
Installation
User Guide
man-pages
API Documentation
README
Release Notes
Changes
License
Support
SourceForge Project
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
src
lagrangian
dieselSpray
spraySubModels
injectorModel
hollowCone
hollowCone.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 | Copyright (C) 1991-2010 OpenCFD Ltd.
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::hollowConeInjector
26
27
Description
28
A hollow cone injector with randomly distributed parcels between
29
the inner and outer cone angle.
30
31
Set inner angle to zero for solid cone.
32
33
\*---------------------------------------------------------------------------*/
34
35
#ifndef hollowConeInjector_H
36
#define hollowConeInjector_H
37
38
#include <
dieselSpray/injectorModel.H
>
39
#include <
OpenFOAM/scalarList.H
>
40
#include <
pdf/pdf.H
>
41
42
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
43
44
namespace
Foam
45
{
46
/*---------------------------------------------------------------------------*\
47
Class hollowConeInjector Declaration
48
\*---------------------------------------------------------------------------*/
49
50
class
hollowConeInjector
51
:
52
public
injectorModel
53
{
54
55
private
:
56
57
// Private data
58
59
dictionary
hollowConeDict_;
60
61
autoPtr<pdfs::pdf>
dropletPDF_;
62
scalarList
innerAngle_;
63
scalarList
outerAngle_;
64
65
public
:
66
67
//- Runtime type information
68
TypeName
(
"hollowConeInjector"
);
69
70
71
// Constructors
72
73
//- Construct from components
74
hollowConeInjector
75
(
76
const
dictionary
& dict,
77
spray
& sm
78
);
79
80
81
// Destructor
82
83
~hollowConeInjector
();
84
85
86
// Member Functions
87
88
//- Return the injected droplet diameter
89
scalar
d0
(
const
label
injector
,
const
scalar time)
const
;
90
91
//- Return the spray angle of the injector
92
vector
direction
93
(
94
const
label injector,
95
const
label hole,
96
const
scalar time,
97
const
scalar
d
98
)
const
;
99
100
scalar
velocity
101
(
102
const
label i,
103
const
scalar time
104
)
const
;
105
106
scalar
averageVelocity
107
(
108
const
label i
109
)
const
;
110
};
111
112
113
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
114
115
}
// End namespace Foam
116
117
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
118
119
#endif
120
121
// ************************ vim: set sw=4 sts=4 et: ************************ //