phasicFlow/tutorials/sphereGranFlow/rotatingDrumMedium/settings/particlesDict

57 lines
2.0 KiB
Plaintext
Raw Normal View History

2022-09-05 18:51:19 +00:00
/* -------------------------------*- C++ -*--------------------------------- *\
| phasicFlow File |
| copyright: www.cemf.ir |
\* ------------------------------------------------------------------------- */
2025-03-05 00:37:52 +00:00
objectName particlesDict;
objectType dictionary;
fileFormat ASCII;
/*---------------------------------------------------------------------------*/
2022-09-05 18:51:19 +00:00
setFields
{
2025-03-05 00:37:52 +00:00
/*
Default value for fields defined for particles
These fields should always be defined for simulations with
spherical particles
*/
2022-09-05 18:51:19 +00:00
2025-03-05 00:37:52 +00:00
defaultValue
{
velocity realx3 (0 0 0); // linear velocity (m/s)
2024-12-24 14:44:19 +00:00
2025-03-05 00:37:52 +00:00
acceleration realx3 (0 0 0); // linear acceleration (m/s2)
2024-12-24 14:44:19 +00:00
2025-03-05 00:37:52 +00:00
rVelocity realx3 (0 0 0); // rotational velocity (rad/s)
2024-12-24 14:44:19 +00:00
2025-03-05 00:37:52 +00:00
shapeName word glassBead; // name of the particle shape
}
2022-09-05 18:51:19 +00:00
2025-03-05 00:37:52 +00:00
selectors
{
}
2022-09-05 18:51:19 +00:00
}
2025-03-05 00:37:52 +00:00
positionParticles // positions particles
2022-09-05 18:51:19 +00:00
{
2025-03-05 00:37:52 +00:00
method ordered; // other options: random and empty
2024-12-24 14:44:19 +00:00
2025-03-05 00:37:52 +00:00
orderedInfo
{
diameter 0.003; // minimum space between centers of particles
2022-09-05 18:51:19 +00:00
2025-03-05 00:37:52 +00:00
numPoints 250000; // number of particles in the simulation
2024-12-24 14:44:19 +00:00
2025-03-05 00:37:52 +00:00
axisOrder (z y x); // axis order for filling the space with particles
}
2024-12-24 14:44:19 +00:00
2025-03-05 00:37:52 +00:00
regionType cylinder; // other options: box and sphere
2024-12-24 14:44:19 +00:00
2025-03-05 00:37:52 +00:00
cylinderInfo // cylinder information for positioning particles
{
p1 (0.0 0.0 0.003); // begin point of cylinder axis
2022-09-05 18:51:19 +00:00
2025-03-05 00:37:52 +00:00
p2 (0.0 0.0 0.357); // end point of cylinder axis
2024-12-24 14:44:19 +00:00
2025-03-05 00:37:52 +00:00
radius 0.117; // radius of cylinder
}
2022-09-05 18:51:19 +00:00
}