OpenFOAM: API Guide
v2112
The open source CFD toolbox
TABSMDCalcMethod1.H
Go to the documentation of this file.
1
{
2
bool
found
=
false
;
3
scalar
random
=
rndGen
.sample01<scalar>();
4
while
(!
found
&& (
n
<99))
5
{
6
if
(rrd_[
n
]>
random
)
7
{
8
found
=
true
;
9
}
10
n
++;
11
}
12
rNew
= 0.04*
n
*rs;
13
}
random
scalar random
Definition:
TABSMDCalcMethod1.H:3
rNew
rNew
Definition:
TABSMDCalcMethod1.H:12
found
bool found
Definition:
TABSMDCalcMethod2.H:32
n
label n
Definition:
TABSMDCalcMethod2.H:31
rndGen
Random rndGen
Definition:
createFields.H:23
src
lagrangian
spray
submodels
BreakupModel
TAB
TABSMDCalcMethod1.H
Generated by
1.9.5
OPENFOAM® is a registered
trademark
of OpenCFD Ltd.