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
Chomiak
Chomiak.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::ChomiakInjector
26
27
Description
28
Injector model based on an idea of Jerzy Chomiak.
29
30
Given the initial droplet size pdf in an interval d = (d0, d1),
31
the spray angle phi = phi(d), such that
32
the largest droplets have zero spray angle
33
and the smallest droplets have maximum spray angle.
34
i.e. phi(d=d1) = 0, phi(d=d0) = phiMax,
35
where phiMax is a model parameter.
36
37
\*---------------------------------------------------------------------------*/
38
39
#ifndef ChomiakInjector_H
40
#define ChomiakInjector_H
41
42
#include <
dieselSpray/injectorModel.H
>
43
#include <
OpenFOAM/scalarList.H
>
44
#include <
pdf/pdf.H
>
45
46
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
47
48
namespace
Foam
49
{
50
51
/*---------------------------------------------------------------------------*\
52
Class ChomiakInjector Declaration
53
\*---------------------------------------------------------------------------*/
54
55
class
ChomiakInjector
56
:
57
public
injectorModel
58
{
59
60
private
:
61
62
// Private data
63
64
dictionary
ChomiakDict_;
65
66
autoPtr<pdfs::pdf>
dropletPDF_;
67
scalarList
maxSprayAngle_;
68
69
public
:
70
71
//- Runtime type information
72
TypeName
(
"ChomiakInjector"
);
73
74
75
// Constructors
76
77
//- Construct from components
78
ChomiakInjector
79
(
80
const
dictionary
& dict,
81
spray
& sm
82
);
83
84
85
// Destructor
86
87
~ChomiakInjector
();
88
89
90
// Member Functions
91
92
//- Return the injected droplet diameter
93
scalar
d0
(
const
label
injector
,
const
scalar time)
const
;
94
95
//- Return the spray angle of the injector
96
vector
direction
97
(
98
const
label injector,
99
const
label hole,
100
const
scalar time,
101
const
scalar
d
102
)
const
;
103
104
scalar
velocity
105
(
106
const
label i,
107
const
scalar time
108
)
const
;
109
110
scalar
averageVelocity
111
(
112
const
label i
113
)
const
;
114
};
115
116
117
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
118
119
}
// End namespace Foam
120
121
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
122
123
#endif
124
125
// ************************ vim: set sw=4 sts=4 et: ************************ //