OpenFOAM
5.0
The OpenFOAM Foundation
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
w
z
+
Typedefs
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
Enumerations
Enumerator
+
Classes
Class List
Class Index
Class Hierarchy
+
Class Members
+
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Typedefs
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
v
w
+
Enumerations
a
b
c
d
e
f
g
i
k
l
m
o
p
r
s
t
v
w
+
Enumerator
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Related Functions
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
+
Files
File List
+
File Members
+
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
+
Typedefs
b
c
d
f
g
k
l
m
p
r
s
t
v
w
+
Macros
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
src
lagrangian
distributionModels
massRosinRammler
massRosinRammler.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) 2016 OpenFOAM Foundation
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::massRosinRammler
26
27
Description
28
Mass-based Rosin-Rammler distributionModel.
29
30
Corrected form of the Rosin-Rammler distribution taking into account the
31
varying number of particels per parces for for fixed-mass parcels. This
32
distribution should be used when
33
\verbatim
34
parcelBasisType mass;
35
\endverbatim
36
37
See equation 10 in reference:
38
\verbatim
39
Yoon, S. S., Hewson, J. C., DesJardin, P. E., Glaze, D. J.,
40
Black, A. R., & Skaggs, R. R. (2004).
41
Numerical modeling and experimental measurements of a high speed
42
solid-cone water spray for use in fire suppression applications.
43
International Journal of Multiphase Flow, 30(11), 1369-1388.
44
\endverbatim
45
46
SourceFiles
47
massRosinRammler.C
48
49
\*---------------------------------------------------------------------------*/
50
51
#ifndef massRosinRammler_H
52
#define massRosinRammler_H
53
54
#include "
distributionModel.H
"
55
56
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
57
58
namespace
Foam
59
{
60
namespace
distributionModels
61
{
62
63
/*---------------------------------------------------------------------------*\
64
Class massRosinRammler Declaration
65
\*---------------------------------------------------------------------------*/
66
67
class
massRosinRammler
68
:
69
public
distributionModel
70
{
71
// Private data
72
73
//- Distribution minimum
74
scalar minValue_;
75
76
//- Distribution maximum
77
scalar maxValue_;
78
79
//- Characteristic droplet size
80
scalar d_;
81
82
//- Empirical dimensionless constant to specify the distribution width,
83
// sometimes referred to as the dispersion coefficient
84
scalar n_;
85
86
87
public
:
88
89
//- Runtime type information
90
TypeName
(
"massRosinRammler"
);
91
92
93
// Constructors
94
95
//- Construct from components
96
massRosinRammler
(
const
dictionary
&
dict
,
cachedRandom
&
rndGen
);
97
98
//- Construct copy
99
massRosinRammler
(
const
massRosinRammler
&
p
);
100
101
//- Construct and return a clone
102
virtual
autoPtr<distributionModel>
clone
()
const
103
{
104
return
autoPtr<distributionModel>
(
new
massRosinRammler
(*
this
));
105
}
106
107
108
//- Destructor
109
virtual
~massRosinRammler
();
110
111
112
// Member Functions
113
114
//- Sample the distributionModel
115
virtual
scalar
sample
()
const
;
116
117
//- Return the minimum value
118
virtual
scalar
minValue
()
const
;
119
120
//- Return the maximum value
121
virtual
scalar
maxValue
()
const
;
122
123
//- Return the mean value
124
virtual
scalar
meanValue
()
const
;
125
};
126
127
128
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
129
130
}
// End namespace distributionModels
131
}
// End namespace Foam
132
133
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
134
135
#endif
136
137
// ************************************************************************* //
dict
dictionary dict
Definition:
searchingEngine.H:14
Foam::dictionary
A list of keyword definitions, which are a keyword followed by any number of values (e...
Definition:
dictionary.H:137
Foam::distributionModels::massRosinRammler::massRosinRammler
massRosinRammler(const dictionary &dict, cachedRandom &rndGen)
Construct from components.
Definition:
massRosinRammler.C:43
Foam::distributionModels::massRosinRammler::clone
virtual autoPtr< distributionModel > clone() const
Construct and return a clone.
Definition:
massRosinRammler.H:101
Foam::distributionModels::massRosinRammler::meanValue
virtual scalar meanValue() const
Return the mean value.
Definition:
massRosinRammler.C:108
Foam::cachedRandom
Random number generator.
Definition:
cachedRandom.H:63
Foam::distributionModels::massRosinRammler::~massRosinRammler
virtual ~massRosinRammler()
Destructor.
Definition:
massRosinRammler.C:73
rndGen
cachedRandom rndGen(label(0), -1)
distributionModel.H
Foam::distributionModel
A library of runtime-selectable distribution models.
Definition:
distributionModel.H:68
Foam::autoPtr
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Definition:
PtrList.H:52
Foam::distributionModels::massRosinRammler::maxValue
virtual scalar maxValue() const
Return the maximum value.
Definition:
massRosinRammler.C:102
p
volScalarField & p
Definition:
createFieldRefs.H:4
Foam::distributionModels::massRosinRammler::minValue
virtual scalar minValue() const
Return the minimum value.
Definition:
massRosinRammler.C:96
Foam::distributionModels::massRosinRammler::sample
virtual scalar sample() const
Sample the distributionModel.
Definition:
massRosinRammler.C:79
Foam::distributionModels::massRosinRammler
Definition:
massRosinRammler.H:66
Foam
Namespace for OpenFOAM.
Definition:
combustionModel.C:30
Foam::distributionModels::massRosinRammler::TypeName
TypeName("massRosinRammler")
Runtime type information.
Generated by
1.8.13