Update particlesDict

This commit is contained in:
PhasicFlow 2025-03-02 16:02:04 +03:30 committed by GitHub
parent b03d4825ff
commit d5dd7af06e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 12 additions and 40 deletions

View File

@ -6,49 +6,21 @@ objectName particlesDict;
objectType dictionary; objectType dictionary;
fileFormat ASCII; fileFormat ASCII;
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/
setFields setFields
{ {
/* defaultValue
Default value for fields defined for particles: {
velocity realx3 (0 0 0); // linear velocity (m/s)
These fields should always be defined for simulations with spherical particles acceleration realx3 (0 0 0); // linear acceleration (m/s2)
*/ rVelocity realx3 (0 0 0); // rotational velocity (rad/s)
shapeName word sphere; // name of the particle shape
defaultValue }
{ selectors
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 sphere; // name of the particle shape
}
selectors
{
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
}
}
}
} }
positionParticles // positions particles positionParticles
{ {
method empty; // other options: random and ordered method empty;
} }