From d5dd7af06e0f4358c97f8791a0f6a47cdca53433 Mon Sep 17 00:00:00 2001 From: PhasicFlow <113092888+PhasicFlow@users.noreply.github.com> Date: Sun, 2 Mar 2025 16:02:04 +0330 Subject: [PATCH] Update particlesDict --- .../RotaryAirLockValve/settings/particlesDict | 52 +++++-------------- 1 file changed, 12 insertions(+), 40 deletions(-) diff --git a/tutorials/sphereGranFlow/RotaryAirLockValve/settings/particlesDict b/tutorials/sphereGranFlow/RotaryAirLockValve/settings/particlesDict index 29bf3bcb..f5d5de63 100644 --- a/tutorials/sphereGranFlow/RotaryAirLockValve/settings/particlesDict +++ b/tutorials/sphereGranFlow/RotaryAirLockValve/settings/particlesDict @@ -6,49 +6,21 @@ objectName particlesDict; objectType dictionary; fileFormat ASCII; /*---------------------------------------------------------------------------*/ + setFields { - /* - 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) - - 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 - } - } - } + defaultValue + { + 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 + {} } -positionParticles // positions particles +positionParticles { - method empty; // other options: random and ordered + method empty; }