phasicFlow/tutorials/sphereGranFlow/rotatingDrumSmall/settings/particlesDict

57 lines
1.9 KiB
Plaintext
Raw Normal View History

2022-09-05 12:28:23 +00:00
/* -------------------------------*- C++ -*--------------------------------- *\
| phasicFlow File |
| copyright: www.cemf.ir |
\* ------------------------------------------------------------------------- */
2025-04-25 10:47:09 +00:00
objectName particlesDict;
objectType dictionary;
fileFormat ASCII;
/*---------------------------------------------------------------------------*/
2022-09-05 12:28:23 +00:00
setFields
{
2025-04-25 10:47:09 +00:00
/*
Default value for fields defined for particles
These fields should always be defined for simulations with
spherical particles.
*/
defaultValue
{
velocity realx3 (0 0 0); // linear velocity (m/s)
2024-12-24 14:33:38 +00:00
2025-04-25 10:47:09 +00:00
acceleration realx3 (0 0 0); // linear acceleration (m/s2)
2024-12-24 14:33:38 +00:00
2025-04-25 10:47:09 +00:00
rVelocity realx3 (0 0 0); // rotational velocity (rad/s)
2022-09-05 12:28:23 +00:00
2025-04-25 10:47:09 +00:00
shapeName word sphere1; // name of the particle shape
}
2024-12-24 14:33:38 +00:00
2025-04-25 10:47:09 +00:00
selectors
{
2024-12-24 14:33:38 +00:00
2025-04-25 10:47:09 +00:00
}
2022-09-05 12:28:23 +00:00
}
2024-12-24 14:33:38 +00:00
positionParticles // positions particles
2022-09-05 12:28:23 +00:00
{
2025-04-25 10:47:09 +00:00
method ordered; // other options: random and empty
2022-09-05 12:28:23 +00:00
2025-04-25 10:47:09 +00:00
mortonSorting Yes; // perform initial sorting based on morton code?
2022-09-05 12:28:23 +00:00
2025-04-25 10:47:09 +00:00
orderedInfo
{
distance 0.004; // minimum distance between particles centers
2024-12-24 14:33:38 +00:00
2025-04-25 10:47:09 +00:00
numPoints 30000; // number of particles in the simulation
2024-12-24 14:33:38 +00:00
2025-04-25 10:47:09 +00:00
axisOrder (z y x); // axis order for filling the space with particles
}
2022-09-05 12:28:23 +00:00
2025-04-25 10:47:09 +00:00
regionType box; // other options: cylinder and sphere
2024-12-24 14:33:38 +00:00
2025-04-25 10:47:09 +00:00
boxInfo // box information for positioning particles
{
min (-0.08 -0.08 0.015); // lower corner point of the box
2024-12-24 14:33:38 +00:00
2025-04-25 10:47:09 +00:00
max ( 0.08 0.08 0.098); // upper corner point of the box
}
2022-09-05 12:28:23 +00:00
}