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