phasicFlow/tutorials/sphereGranFlow/RotaryAirLockValve/settings/particlesDict

75 lines
2.2 KiB
Plaintext
Raw Normal View History

/* -------------------------------*- C++ -*--------------------------------- *\
| phasicFlow File |
| copyright: www.cemf.ir |
\* ------------------------------------------------------------------------- */
2024-12-28 09:39:06 +00:00
objectName particlesDict;
objectType dictionary;
fileFormat ASCII;
/*---------------------------------------------------------------------------*/
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
*/
defaultValue
{
2024-12-28 09:39:06 +00:00
velocity realx3 (0 0 0); // linear velocity (m/s)
2024-12-28 09:39:06 +00:00
acceleration realx3 (0 0 0); // linear acceleration (m/s2)
2024-12-28 09:39:06 +00:00
rVelocity realx3 (0 0 0); // rotational velocity (rad/s)
2024-12-28 09:39:06 +00:00
shapeName word sphere; // name of the particle shape
}
selectors
2024-12-28 09:39:06 +00:00
{
shapeAssigne
{
selector stridedRange; // other options: box, cylinder, sphere, randomPoints
stridedRangeInfo
{
begin 0; // begin index of points
end 50000; // end index of points
stride 3; // stride for selector
}
fieldValue // fields that the selector is applied to
{
shapeName word sphere; // sets shapeName of the selected points to largeSphere
}
}
}
}
2024-12-28 09:39:06 +00:00
positionParticles // positions particles
{
2024-12-28 09:39:06 +00:00
method ordered; // other options: random and empty
orderedInfo
{
diameter 0.005; // diameter of particles
2024-12-28 09:39:06 +00:00
numPoints 50000; // number of particles in the simulation
2024-12-28 09:39:06 +00:00
axisOrder (z x y); // axis order for filling the space with particles
}
regionType cylinder; // other options: box and sphere
2024-12-28 09:39:06 +00:00
cylinderInfo // cylinder information for positioning particles
{
p1 (0.0 0.0 0.003); // begin point of cylinder axis
p2 (0.0 0.0 0.22); // end point of cylinder axis
radius 0.117; // radius of cylinder
}
}