phasicFlow/tutorials/sphereGranFlow/screwConveyor/settings/particlesDict

78 lines
2.2 KiB
Plaintext
Raw Normal View History

/* -------------------------------*- C++ -*--------------------------------- *\
| phasicFlow File |
| copyright: www.cemf.ir |
\* ------------------------------------------------------------------------- */
objectName particlesDict;
objectType dictionary;
fileFormat ASCII;
/*---------------------------------------------------------------------------*/
2024-12-28 10:16:09 +00:00
setFields
{
/*
Default value for fields defined for particles
2024-12-28 10:16:09 +00:00
These fields should always be defined for simulations with
2024-12-28 10:16:09 +00:00
spherical particles.
*/
defaultValue
{
velocity realx3 (0 0 0); // linear velocity (m/s)
acceleration realx3 (0 0 0); // linear acceleration (m/s2)
rVelocity realx3 (0 0 0); // rotational velocity (rad/s)
shapeName word sphere1; // name of the particle shape
}
selectors
{
shapeAssigne
{
selector stridedRange; // other options: box, cylinder, sphere, randomPoints
stridedRangeInfo
{
begin 0; // begin index of points
end 5000; // end index of points
2024-12-28 10:16:09 +00:00
stride 3; // stride for selector
}
2024-12-28 10:16:09 +00:00
fieldValue // fields that the selector is applied to
{
shapeName word sphere1; // sets shapeName of the selected points to largeSphere
}
}
}
}
2024-12-28 10:16:09 +00:00
positionParticles // positions particles
{
2024-12-28 10:16:09 +00:00
method ordered; // other options: random and empty
mortonSorting Yes; // perform initial sorting based on morton code?
orderedInfo
{
2024-12-28 10:16:09 +00:00
diameter 0.01; // minimum space between centers of particles
2024-12-28 10:16:09 +00:00
numPoints 5000; // number of particles in the simulation
2024-12-28 10:16:09 +00:00
axisOrder (z y x); // axis order for filling the space with particles
}
2024-12-28 10:16:09 +00:00
regionType box; // other options: cylinder and sphere
2024-12-28 10:16:09 +00:00
boxInfo // box information for positioning particles
{
min (-0.08 -0.08 0.015); // lower corner point of the box
max (0.08 0.08 1); // upper corner point of the box
}
}
2024-12-28 10:16:09 +00:00