Files
phasicFlow/tutorials/sphereGranFlow/rotatingDrumSmall/settings/particlesDict

76 lines
2.2 KiB
Plaintext
Raw Normal View History

2022-09-05 16:58:23 +04:30
/* -------------------------------*- C++ -*--------------------------------- *\
| phasicFlow File |
| copyright: www.cemf.ir |
\* ------------------------------------------------------------------------- */
objectName particlesDict;
objectType dictionary;
fileFormat ASCII;
/*---------------------------------------------------------------------------*/
2022-09-05 16:58:23 +04:30
setFields
{
/*
Default value for fields defined for particles
2024-12-24 18:03:38 +03:30
These fields should always be defined for simulations with
spherical particles.
2022-09-05 16:58:23 +04:30
*/
defaultValue
{
2024-12-24 18:03:38 +03:30
velocity realx3 (0 0 0); // linear velocity (m/s)
acceleration realx3 (0 0 0); // linear acceleration (m/s2)
rVelocity realx3 (0 0 0); // rotational velocity (rad/s)
shapeName word sphere1; // name of the particle shape
2022-09-05 16:58:23 +04:30
}
selectors
2024-12-24 18:03:38 +03:30
{
shapeAssigne
{
selector stridedRange; // other options: box, cylinder, sphere, randomPoints
stridedRangeInfo
{
begin 0; // begin index of points
end 30000; // end index of points
stride 3; // stride for selector
}
fieldValue // fields that the selector is applied to
{
shapeName word sphere1; // sets shapeName of the selected points to largeSphere
}
}
2022-09-05 16:58:23 +04:30
}
2024-12-24 18:03:38 +03:30
positionParticles // positions particles
2022-09-05 16:58:23 +04:30
{
2024-12-24 18:03:38 +03:30
method ordered; // other options: random and empty
2022-09-05 16:58:23 +04:30
2024-12-24 18:03:38 +03:30
mortonSorting Yes; // perform initial sorting based on morton code?
2022-09-05 16:58:23 +04:30
2024-12-24 18:03:38 +03:30
orderedInfo
2022-09-05 16:58:23 +04:30
{
2024-12-24 18:03:38 +03:30
diameter 0.004; // minimum space between centers of particles
numPoints 30000; // number of particles in the simulation
axisOrder (z y x); // axis order for filling the space with particles
2022-09-08 12:35:00 +04:30
}
2022-09-05 16:58:23 +04:30
2024-12-24 18:03:38 +03:30
regionType box; // other options: cylinder and sphere
boxInfo // box information for positioning particles
2022-09-08 12:35:00 +04:30
{
2024-12-24 18:03:38 +03:30
min (-0.08 -0.08 0.015); // lower corner point of the box
max ( 0.08 0.08 0.098); // upper corner point of the box
2022-09-05 16:58:23 +04:30
}
}