2022-09-07 17:52:23 +00:00
|
|
|
/* -------------------------------*- C++ -*--------------------------------- *\
|
|
|
|
| phasicFlow File |
|
|
|
|
| copyright: www.cemf.ir |
|
|
|
|
\* ------------------------------------------------------------------------- */
|
|
|
|
|
|
|
|
objectName particlesDict;
|
|
|
|
objectType dictionary;
|
|
|
|
|
|
|
|
setFields
|
|
|
|
{
|
|
|
|
|
|
|
|
defaultValue
|
|
|
|
{
|
|
|
|
velocity realx3 (0 0 0); // linear velocity (m/s)
|
|
|
|
acceleration realx3 (0 0 0); // linear acceleration (m/s2)
|
|
|
|
rotVelocity realx3 (0 0 0); // rotational velocity (rad/s)
|
|
|
|
shapeName word glassBead; // name of the particle shape
|
|
|
|
}
|
|
|
|
|
|
|
|
selectors
|
|
|
|
{}
|
|
|
|
}
|
|
|
|
|
|
|
|
positionParticles
|
|
|
|
{
|
|
|
|
method positionOrdered;
|
|
|
|
|
2022-09-10 12:42:12 +00:00
|
|
|
maxNumberOfParticles 4000001;
|
2022-09-07 17:52:23 +00:00
|
|
|
mortonSorting Yes;
|
|
|
|
|
|
|
|
cylinder // box for positioning particles
|
|
|
|
{
|
2022-09-10 12:42:12 +00:00
|
|
|
p1 ( 0.0 0.0 0.01); // lower corner point of the box
|
|
|
|
p2 ( 0.0 0.0 1.59); // upper corner point of the box
|
2022-09-07 17:52:23 +00:00
|
|
|
radius 0.195;
|
|
|
|
}
|
|
|
|
|
|
|
|
positionOrderedInfo
|
|
|
|
{
|
2022-09-10 12:42:12 +00:00
|
|
|
diameter 0.003; // minimum space between centers of particles
|
|
|
|
numPoints 4000000; // number of particles in the simulation
|
2022-09-07 17:52:23 +00:00
|
|
|
axisOrder (z x y); // axis order for filling the space with particles
|
|
|
|
}
|
|
|
|
}
|