Files
phasicFlow/tutorials/postprocessPhasicFlow/segregation/settings/particlesDict

69 lines
1.7 KiB
Plaintext
Raw Normal View History

2022-09-29 10:02:31 +03:30
/* -------------------------------*- C++ -*--------------------------------- *\
| phasicFlow File |
| copyright: www.cemf.ir |
\* ------------------------------------------------------------------------- */
objectName particlesDict;
objectType dictionary;
fileFormat ASCII;
/*---------------------------------------------------------------------------*/
2022-09-29 10:02:31 +03:30
// positions particles
positionParticles
{
2025-07-08 01:06:25 +03:30
method ordered;
2022-09-29 10:02:31 +03:30
2025-07-08 01:06:25 +03:30
regionType cylinder;
cylinderInfo
2022-09-29 10:02:31 +03:30
{
p1 (0.0 0.0 0.003); // begin point of cylinder axis
p2 (0.0 0.0 0.097); // end point of cylinder axis
radius 0.117; // radius of cylinder
}
2025-07-08 01:06:25 +03:30
orderedInfo
2022-09-29 10:02:31 +03:30
{
2025-07-08 01:06:25 +03:30
distance 0.005; // minimum space between centers of particles
2022-09-29 10:02:31 +03:30
numPoints 30000; // number of particles in the simulation
axisOrder (z x y); // axis order for filling the space with particles
}
}
setFields
{
/*
Default value for fields defined for particles
These fields should always be defined for simulations with
2025-07-08 01:06:25 +03:30
spherical particles.
*/
2022-09-29 10:02:31 +03:30
defaultValue
{
velocity realx3 (0 0 0); // linear velocity (m/s)
acceleration realx3 (0 0 0); // linear acceleration (m/s2)
2025-04-25 14:17:09 +03:30
rVelocity realx3 (0 0 0); // rotational velocity (rad/s)
2022-09-29 10:02:31 +03:30
shapeName word smallSphere; // name of the particle shape
}
selectors
{
shapeAssigne
{
2025-07-08 01:06:25 +03:30
selector randomPoints; // type of point selector
randomPointsInfo
2022-09-29 10:02:31 +03:30
{
begin 0; // begin index of points
2025-07-08 01:06:25 +03:30
end 29999; // end index of points
number 10000;
2022-09-29 10:02:31 +03:30
}
2025-07-08 01:06:25 +03:30
2022-09-29 10:02:31 +03:30
fieldValue // fields that the selector is applied to
{
shapeName word largeSphere;
}
}
}
}