phasicFlow/tutorials/sphereGranFlow/binarySystemOfParticles/settings/particlesDict

76 lines
2.5 KiB
Plaintext
Raw Normal View History

/* -------------------------------*- C++ -*--------------------------------- *\
| phasicFlow File |
| copyright: www.cemf.ir |
\* ------------------------------------------------------------------------- */
2025-04-25 10:47:09 +00:00
objectName particlesDict;
objectType dictionary;
fileFormat ASCII;
/*---------------------------------------------------------------------------*/
2025-04-25 10:47:09 +00:00
setFields
{
2025-04-25 10:47:09 +00:00
/*
Default value for fields defined for particles:
2024-12-03 10:01:17 +00:00
2025-04-25 10:47:09 +00:00
These fields should always be defined for simulations with spherical particles
*/
2025-04-25 10:47:09 +00:00
defaultValue
{
velocity realx3 (0 0 0); // linear velocity (m/s)
2025-04-25 10:47:09 +00:00
acceleration realx3 (0 0 0); // linear acceleration (m/s2)
2025-04-25 10:47:09 +00:00
rVelocity realx3 (0 0 0); // rotational velocity (rad/s)
2025-04-25 10:47:09 +00:00
shapeName word smallSphere; // name of the particle shape
}
2025-04-25 10:47:09 +00:00
selectors
{
shapeAssigne
{
selector stridedRange; // other options: box, cylinder, sphere, randomPoints
2025-04-25 10:47:09 +00:00
stridedRangeInfo
{
begin 0; // begin index of points
2025-04-25 10:47:09 +00:00
end 30000; // end index of points
2025-04-25 10:47:09 +00:00
stride 3; // stride for selector
}
2025-04-25 10:47:09 +00:00
fieldValue // fields that the selector is applied to
{
shapeName word largeSphere; // sets shapeName of the selected points to largeSphere
}
}
}
}
2025-04-25 10:47:09 +00:00
positionParticles // positions particles
{
2025-04-25 10:47:09 +00:00
method ordered; // other options: random and empty
2025-04-25 10:47:09 +00:00
orderedInfo
{
distance 0.005; // minimum distance between particles centers
2025-04-25 10:47:09 +00:00
numPoints 30000; // number of particles in the simulation
2025-04-25 10:47:09 +00:00
axisOrder (z x y); // axis order for filling the space with particles
}
regionType cylinder; // other options: box and sphere
2025-04-25 10:47:09 +00:00
cylinderInfo // cylinder information for positioning particles
{
p1 (0.0 0.0 0.003); // begin point of cylinder axis
2025-04-25 10:47:09 +00:00
p2 (0.0 0.0 0.097); // end point of cylinder axis
2025-04-25 10:47:09 +00:00
radius 0.117; // radius of cylinder
}
}