Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Development
openfoam
Commits
88a03de2
Commit
88a03de2
authored
Apr 27, 2017
by
Andrew Heather
Browse files
ENH: Random numbers - updated dependent code from change to cachedRandom class
parent
02205ef1
Changes
6
Hide whitespace changes
Inline
Side-by-side
src/finiteVolume/fields/fvPatchFields/derived/turbulentDFSEMInlet/turbulentDFSEMInletFvPatchVectorField.C
View file @
88a03de2
...
...
@@ -746,7 +746,7 @@ turbulentDFSEMInletFvPatchVectorField
nCellPerEddy_
(
5
),
patchNormal_
(
vector
::
zero
),
v0_
(
0
),
rndGen_
(
0
,
-
1
),
rndGen_
(),
sigmax_
(
size
(),
0
),
maxSigmaX_
(
0
),
nEddy_
(
0
),
...
...
src/functionObjects/field/extractEulerianParticles/extractEulerianParticles/extractEulerianParticles.H
View file @
88a03de2
...
...
@@ -71,7 +71,6 @@ SourceFiles
#include "surfaceFieldsFwd.H"
#include "vectorList.H"
#include "globalIndex.H"
#include "cachedRandom.H"
#include "eulerianParticle.H"
#include "IOdictionary.H"
#include "injectedParticleCloud.H"
...
...
src/functionObjects/field/particleDistribution/particleDistribution.C
View file @
88a03de2
...
...
@@ -61,7 +61,7 @@ Foam::functionObjects::particleDistribution::particleDistribution
cloudName_
(
"unknown-cloudName"
),
nameVsBinWidth_
(),
tagFieldName_
(
"none"
),
rndGen_
(
1234
,
-
1
),
rndGen_
(),
writerPtr_
(
nullptr
)
{
read
(
dict
);
...
...
src/lagrangian/intermediate/clouds/Templates/KinematicCloud/KinematicCloud.C
View file @
88a03de2
...
...
@@ -316,13 +316,7 @@ Foam::KinematicCloud<CloudType>::KinematicCloud
(
particleProperties_
.
subOrEmptyDict
(
"subModels"
,
solution_
.
active
())
),
rndGen_
(
label
(
0
),
solution_
.
steadyState
()
?
particleProperties_
.
lookupOrDefault
<
label
>
(
"randomSampleSize"
,
100000
)
:
-
1
),
rndGen_
(),
cellOccupancyPtr_
(),
cellLengthScale_
(
cbrt
(
mesh_
.
V
())),
rho_
(
rho
),
...
...
@@ -515,7 +509,7 @@ Foam::KinematicCloud<CloudType>::KinematicCloud
solution_
(
mesh
),
constProps_
(),
subModelProperties_
(
dictionary
::
null
),
rndGen_
(
0
,
0
),
rndGen_
(),
cellOccupancyPtr_
(
nullptr
),
cellLengthScale_
(
c
.
cellLengthScale_
),
rho_
(
c
.
rho_
),
...
...
src/regionModels/surfaceFilmModels/submodels/kinematic/force/contactAngleForce/contactAngleForce.C
View file @
88a03de2
...
...
@@ -99,7 +99,7 @@ contactAngleForce::contactAngleForce
:
force
(
typeName
,
owner
,
dict
),
Ccf_
(
readScalar
(
coeffDict_
.
lookup
(
"Ccf"
))),
rndGen_
(
label
(
0
),
-
1
),
rndGen_
(),
distribution_
(
distributionModels
::
distributionModel
::
New
...
...
src/regionModels/surfaceFilmModels/submodels/kinematic/injectionModel/drippingInjection/drippingInjection.C
View file @
88a03de2
...
...
@@ -57,7 +57,7 @@ drippingInjection::drippingInjection
injectionModel
(
type
(),
owner
,
dict
),
deltaStable_
(
readScalar
(
coeffDict_
.
lookup
(
"deltaStable"
))),
particlesPerParcel_
(
readScalar
(
coeffDict_
.
lookup
(
"particlesPerParcel"
))),
rndGen_
(
label
(
0
),
-
1
),
rndGen_
(),
parcelDistribution_
(
distributionModels
::
distributionModel
::
New
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment