phasicFlow/tutorials/sphereGranFlow/toteblender/settings/particlesDict

80 lines
2.4 KiB
Plaintext
Raw Normal View History

2023-03-26 15:27:44 +00:00
/* -------------------------------*- C++ -*--------------------------------- *\
| phasicFlow File |
| copyright: www.cemf.ir |
\* ------------------------------------------------------------------------- */
objectName particlesDict;
objectType dictionary;
fileFormat ASCII;
/*---------------------------------------------------------------------------*/
2023-03-26 15:27:44 +00:00
setFields
{
/*
Default value for fields defined for particles
2024-12-28 10:39:09 +00:00
These fields should always be defined for simulations with
spherical particles.
2023-03-26 15:27:44 +00:00
*/
2024-12-28 10:39:09 +00:00
2023-03-26 15:27:44 +00:00
defaultValue
2024-12-28 10:39:09 +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 sphere1; // name of the particle shape
2023-03-26 15:27:44 +00:00
}
selectors
2024-12-28 10:39:09 +00:00
{
shapeAssigne
{
selector stridedRange; // other options: box, cylinder, sphere, randomPoints
stridedRangeInfo
{
begin 0; // begin index of points
end 24000; // end index of points
stride 3; // stride for selector
}
fieldValue // fields that the selector is applied to
{
shapeName word sphere1; // sets shapeName of the selected points to largeSphere
}
}
}
2023-03-26 15:27:44 +00:00
}
2024-12-28 10:39:09 +00:00
positionParticles // positions particles
2023-03-26 15:27:44 +00:00
{
2023-03-31 15:21:24 +00:00
2024-12-28 10:39:09 +00:00
method ordered; // ordered positioning
mortonSorting Yes; // perform initial sorting based on morton code?
orderedInfo
2023-03-26 15:27:44 +00:00
{
2024-12-28 10:39:09 +00:00
diameter 0.005; // minimum space between centers of particles
numPoints 24000; // number of particles in the simulation
axisOrder (x y z); // axis order for filling the space with particles
}
2023-03-26 15:27:44 +00:00
2024-12-28 10:39:09 +00:00
regionType cylinder; // other options: cylinder and sphere
cylinderInfo // cylinder for positioning particles
2023-03-26 15:27:44 +00:00
{
2024-12-28 10:39:09 +00:00
p1 (0.0 0.0 0.09); // Coordinates of bottom cylinderRegion (m,m,m)
2023-03-31 15:21:24 +00:00
2024-12-28 10:39:09 +00:00
p2 (0.0 0.0 0.21); // Coordinates of top cylinderRegion (m,m,m)
radius 0.09; // radius of cylinder
2023-03-26 15:27:44 +00:00
}
}