2023-02-07 10:31:26 +03:30
|
|
|
/* -------------------------------*- C++ -*--------------------------------- *\
|
|
|
|
| phasicFlow File |
|
|
|
|
| copyright: www.cemf.ir |
|
|
|
|
\* ------------------------------------------------------------------------- */
|
|
|
|
objectName particlesDict;
|
|
|
|
objectType dictionary;
|
2023-04-11 23:09:49 -07:00
|
|
|
fileFormat ASCII;
|
2023-02-07 18:59:13 +03:30
|
|
|
/*---------------------------------------------------------------------------*/
|
2023-02-07 10:31:26 +03:30
|
|
|
setFields
|
|
|
|
{
|
2024-12-28 13:31:17 +03:30
|
|
|
/*
|
|
|
|
Default value for fields defined for particles
|
|
|
|
|
|
|
|
These fields should always be defined for simulations with
|
|
|
|
|
|
|
|
spherical particles.
|
|
|
|
*/
|
|
|
|
|
2025-03-05 20:06:25 +03:30
|
|
|
defaultValue
|
2023-02-07 10:31:26 +03:30
|
|
|
{
|
2025-03-04 22:12:54 +03:30
|
|
|
velocity realx3 (0 0 0); // linear velocity (m/s)
|
2024-12-28 13:31:17 +03:30
|
|
|
|
2025-03-04 22:12:54 +03:30
|
|
|
acceleration realx3 (0 0 0); // linear acceleration (m/s2)
|
2024-12-28 13:31:17 +03:30
|
|
|
|
2025-03-04 22:12:54 +03:30
|
|
|
rVelocity realx3 (0 0 0); // rotational velocity (rad/s)
|
2024-12-28 13:31:17 +03:30
|
|
|
|
|
|
|
shapeName word smallSphere; // name of the particle shape
|
2023-02-07 10:31:26 +03:30
|
|
|
}
|
|
|
|
|
|
|
|
selectors
|
2024-12-28 13:31:17 +03:30
|
|
|
{
|
|
|
|
shapeAssigne
|
|
|
|
{
|
2025-03-04 22:12:54 +03:30
|
|
|
selector stridedRange; // other options: box, cylinder, sphere, randomPoints
|
2024-12-28 13:31:17 +03:30
|
|
|
|
|
|
|
stridedRangeInfo
|
|
|
|
{
|
2025-03-04 22:12:54 +03:30
|
|
|
begin 0; // begin index of points
|
2024-12-28 13:31:17 +03:30
|
|
|
|
2025-03-04 22:12:54 +03:30
|
|
|
end 20000; // end index of points
|
2024-12-28 13:31:17 +03:30
|
|
|
|
2025-03-04 22:12:54 +03:30
|
|
|
stride 3; // stride for selector
|
2024-12-28 13:31:17 +03:30
|
|
|
}
|
|
|
|
|
|
|
|
fieldValue // fields that the selector is applied to
|
|
|
|
{
|
|
|
|
shapeName word sphere1; // sets shapeName of the selected points to largeSphere
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2023-02-07 10:31:26 +03:30
|
|
|
}
|
|
|
|
|
2024-12-28 13:31:17 +03:30
|
|
|
positionParticles // positions particles
|
2023-02-07 10:31:26 +03:30
|
|
|
{
|
2025-03-04 22:12:54 +03:30
|
|
|
method empty; // other options: random and ordered
|
2023-02-07 10:31:26 +03:30
|
|
|
}
|
2024-12-28 13:31:17 +03:30
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|