2023-03-26 15:27:44 +00:00
|
|
|
/* -------------------------------*- C++ -*--------------------------------- *\
|
|
|
|
| phasicFlow File |
|
|
|
|
| copyright: www.cemf.ir |
|
|
|
|
\* ------------------------------------------------------------------------- */
|
|
|
|
objectName particlesDict;
|
|
|
|
objectType dictionary;
|
|
|
|
/* ------------------------------------------------------------------------- */
|
|
|
|
setFields
|
|
|
|
{
|
|
|
|
/*
|
|
|
|
Default value for fields defined for particles
|
|
|
|
These fields should always be defined for simulations with
|
|
|
|
spherical particles.
|
|
|
|
*/
|
|
|
|
|
|
|
|
defaultValue
|
|
|
|
{
|
|
|
|
// linear velocity (m/s)
|
|
|
|
velocity realx3 (0 0 0);
|
|
|
|
// linear acceleration (m/s2)
|
|
|
|
acceleration realx3 (0 0 0);
|
|
|
|
// rotational velocity (rad/s)
|
2023-03-28 12:26:41 +00:00
|
|
|
rVelocity realx3 (0 0 0);
|
2023-03-26 15:27:44 +00:00
|
|
|
// name of the particle shape
|
|
|
|
shapeName word sphere1;
|
|
|
|
}
|
|
|
|
|
|
|
|
selectors
|
|
|
|
{}
|
|
|
|
}
|
|
|
|
|
|
|
|
// positions particles
|
|
|
|
positionParticles
|
|
|
|
{
|
|
|
|
// ordered positioning
|
|
|
|
method positionOrdered;
|
|
|
|
// maximum number of particles in the simulation
|
|
|
|
maxNumberOfParticles 40000;
|
|
|
|
// perform initial sorting based on morton code?
|
|
|
|
mortonSorting Yes;
|
2023-03-28 12:23:07 +00:00
|
|
|
// cylinder for positioning particles
|
|
|
|
cylinder
|
2023-03-26 15:27:44 +00:00
|
|
|
{
|
2023-03-28 12:23:07 +00:00
|
|
|
// Coordinates of top cylinderRegion (m,m,m)
|
|
|
|
p1 (0.05 0.0 0.12);
|
|
|
|
p2 (0.05 0.0 0.22);
|
2023-03-27 21:36:40 +00:00
|
|
|
// radius of cylinder
|
2023-03-28 12:23:07 +00:00
|
|
|
radius 0.066;
|
2023-03-26 15:27:44 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
positionOrderedInfo
|
|
|
|
{
|
|
|
|
// minimum space between centers of particles
|
2023-03-28 12:23:07 +00:00
|
|
|
diameter 0.003;
|
2023-03-26 15:27:44 +00:00
|
|
|
// number of particles in the simulation
|
|
|
|
numPoints 20000;
|
|
|
|
// axis order for filling the space with particles
|
2023-03-28 12:23:07 +00:00
|
|
|
axisOrder (z y x);
|
2023-03-26 15:27:44 +00:00
|
|
|
}
|
|
|
|
}
|