From 0820e003fc1cc5affd02ffd445a0cf416c2360bf Mon Sep 17 00:00:00 2001 From: PhasicFlow <113092888+PhasicFlow@users.noreply.github.com> Date: Sun, 2 Mar 2025 16:20:56 +0330 Subject: [PATCH] Update particleInsertion --- .../caseSetup/particleInsertion | 54 +++++++++---------- 1 file changed, 25 insertions(+), 29 deletions(-) diff --git a/tutorials/sphereGranFlow/RotaryAirLockValve/caseSetup/particleInsertion b/tutorials/sphereGranFlow/RotaryAirLockValve/caseSetup/particleInsertion index b12d8665..627e8054 100644 --- a/tutorials/sphereGranFlow/RotaryAirLockValve/caseSetup/particleInsertion +++ b/tutorials/sphereGranFlow/RotaryAirLockValve/caseSetup/particleInsertion @@ -6,40 +6,36 @@ objectName particleInsertion; objectType dicrionary; fileFormat ASCII; /*---------------------------------------------------------------------------*/ -active yes; // is insertion active -> yes or no -/* - one region is considered for inserting particles. -*/ +active yes; // is insertion active -> yes or no topRegion { - regionType box; // type of insertion region + regionType box; // type of insertion region - timeControl simulationTime; - - rate 4000; // insertion rate (particles/s) - - startTime 0; // Start time of Particles insertion (s) - - endTime 7; // End time of Particles insertion (s) - - insertionInterval 0.025; // Time Interval between each insertion (s) - - boxInfo // Coordinates of BoxRegion (m,m,m) - { - min ( 0.48 0.58 0.01 ); // (m,m,m) + timeControl simulationTime; + + rate 4000; // insertion rate (particles/s) + + startTime 0; // Start time of Particles insertion (s) + + endTime 7; // End time of Particles insertion (s) + + insertionInterval 0.025; // Time Interval between each insertion (s) + + boxInfo + { + min ( 0.48 0.58 0.01 ); // (m,m,m) + max ( 0.64 0.59 0.05 ); // (m,m,m) + } - max ( 0.64 0.59 0.05 ); // (m,m,m) - } + setFields + { + velocity realx3 (0.0 -0.6 0.0); // initial velocity of inserted particles + } - setFields - { - velocity realx3 (0.0 -0.6 0.0); // initial velocity of inserted particles - } - - mixture - { - sphere 1; - } + mixture + { + sphere 1; + } }