phasicFlow/tutorials/sphereGranFlow/rotatingDrumMedium/settings/particlesDict

81 lines
2.4 KiB
Plaintext
Raw Normal View History

2022-09-05 18:51:19 +00:00
/* -------------------------------*- C++ -*--------------------------------- *\
| phasicFlow File |
| copyright: www.cemf.ir |
\* ------------------------------------------------------------------------- */
objectName particlesDict;
objectType dictionary;
fileFormat ASCII;
/*---------------------------------------------------------------------------*/
2022-09-05 18:51:19 +00:00
setFields
{
/*
Default value for fields defined for particles
2024-12-24 14:44:19 +00:00
These fields should always be defined for simulations with
spherical particles
2022-09-05 18:51:19 +00:00
*/
defaultValue
{
2024-12-24 14:44:19 +00:00
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 glassBead; // name of the particle shape
2022-09-05 18:51:19 +00:00
}
selectors
2024-12-24 14:44:19 +00:00
{
/* shapeAssigne
2024-12-24 14:44:19 +00:00
{
selector stridedRange; // other options: box, cylinder, sphere, randomPoints
stridedRangeInfo
{
begin 0; // begin index of points
end 250000; // end index of points
stride 3; // stride for selector
}
fieldValue // fields that the selector is applied to
{
shapeName word glassBead; // sets shapeName of the selected points to largeSphere
}
}*/
2024-12-24 14:44:19 +00:00
}
2022-09-05 18:51:19 +00:00
}
2024-12-24 14:44:19 +00:00
positionParticles // positions particles
2022-09-05 18:51:19 +00:00
{
2024-12-24 14:44:19 +00:00
method ordered; // other options: random and empty
2022-09-05 18:51:19 +00:00
2024-12-24 14:44:19 +00:00
//maxNumberOfParticles 250001; // maximum number of particles in the simulation
2022-09-05 18:51:19 +00:00
2024-12-24 14:44:19 +00:00
//mortonSorting Yes; // perform initial sorting based on morton code?
orderedInfo
2022-09-05 18:51:19 +00:00
{
2024-12-24 14:44:19 +00:00
diameter 0.003; // minimum space between centers of particles
numPoints 250000; // number of particles in the simulation
axisOrder (z y x); // axis order for filling the space with particles
2022-09-05 18:51:19 +00:00
}
2024-12-24 14:44:19 +00:00
regionType cylinder; // other options: box and sphere
cylinderInfo // cylinder information for positioning particles
2022-09-05 18:51:19 +00:00
{
p1 (0.0 0.0 0.003); // begin point of cylinder axis
2024-12-24 14:44:19 +00:00
p2 (0.0 0.0 0.357); // end point of cylinder axis
2024-12-24 14:44:19 +00:00
radius 0.117; // radius of cylinder
2022-09-05 18:51:19 +00:00
}
2024-12-24 14:44:19 +00:00
2022-09-05 18:51:19 +00:00
}