From d0aa5af792890f86601ad1cfca71fb10078e452f Mon Sep 17 00:00:00 2001 From: Hamidreza Norouzi Date: Mon, 25 Sep 2023 17:39:22 +0330 Subject: [PATCH] tutorial files modified for minor errors --- .../segregation/settings/particlesDict | 5 ++-- .../RotaryAirLockValve/settings/particlesDict | 2 +- .../RotatingDrumWithBaffles/cleanThisCase | 0 .../RotatingDrumWithBaffles/runThisCase | 0 .../settings/particlesDict | 2 +- .../V-blender/settings/particlesDict | 2 +- .../settings/particlesDict | 2 +- .../layeredSiloFilling/settings/particlesDict | 2 +- .../rotatingDrumMedium/settings/particlesDict | 2 +- .../rotatingDrumSmall/settings/particlesDict | 2 +- .../screwConveyor/caseSetup/interaction | 5 ++-- .../screwConveyor/caseSetup/particleInsertion | 5 ++-- .../screwConveyor/caseSetup/sphereShape | 3 ++- .../screwConveyor/settings/geometryDict | 3 ++- .../screwConveyor/settings/particlesDict | 27 ++++++++++++++++--- .../screwConveyor/settings/settingsDict | 4 ++- 16 files changed, 46 insertions(+), 20 deletions(-) mode change 100644 => 100755 tutorials/sphereGranFlow/RotatingDrumWithBaffles/cleanThisCase mode change 100644 => 100755 tutorials/sphereGranFlow/RotatingDrumWithBaffles/runThisCase diff --git a/tutorials/postprocessPhasicFlow/segregation/settings/particlesDict b/tutorials/postprocessPhasicFlow/segregation/settings/particlesDict index e32d8182..10a81e34 100644 --- a/tutorials/postprocessPhasicFlow/segregation/settings/particlesDict +++ b/tutorials/postprocessPhasicFlow/segregation/settings/particlesDict @@ -41,7 +41,7 @@ setFields { velocity realx3 (0 0 0); // linear velocity (m/s) acceleration realx3 (0 0 0); // linear acceleration (m/s2) - rotVelocity realx3 (0 0 0); // rotational velocity (rad/s) + r Velocity realx3 (0 0 0); // rotational velocity (rad/s) shapeName word smallSphere; // name of the particle shape } @@ -53,8 +53,7 @@ setFields selectRandomInfo { begin 0; // begin index of points - end 30000; // end index of points - number 29999; // stride for selector + end 29999; // end index of points } fieldValue // fields that the selector is applied to { diff --git a/tutorials/sphereGranFlow/RotaryAirLockValve/settings/particlesDict b/tutorials/sphereGranFlow/RotaryAirLockValve/settings/particlesDict index 3ee8f1cf..792c7410 100644 --- a/tutorials/sphereGranFlow/RotaryAirLockValve/settings/particlesDict +++ b/tutorials/sphereGranFlow/RotaryAirLockValve/settings/particlesDict @@ -18,7 +18,7 @@ setFields acceleration realx3 (0 0 0); // rotational velocity (rad/s) - rotVelocity realx3 (0 0 0); + rVelocity realx3 (0 0 0); // name of the particle shape shapeName word sphere; diff --git a/tutorials/sphereGranFlow/RotatingDrumWithBaffles/cleanThisCase b/tutorials/sphereGranFlow/RotatingDrumWithBaffles/cleanThisCase old mode 100644 new mode 100755 diff --git a/tutorials/sphereGranFlow/RotatingDrumWithBaffles/runThisCase b/tutorials/sphereGranFlow/RotatingDrumWithBaffles/runThisCase old mode 100644 new mode 100755 diff --git a/tutorials/sphereGranFlow/RotatingDrumWithBaffles/settings/particlesDict b/tutorials/sphereGranFlow/RotatingDrumWithBaffles/settings/particlesDict index 6e03ca5d..c28b8ad0 100644 --- a/tutorials/sphereGranFlow/RotatingDrumWithBaffles/settings/particlesDict +++ b/tutorials/sphereGranFlow/RotatingDrumWithBaffles/settings/particlesDict @@ -16,7 +16,7 @@ setFields // linear acceleration (m/s2) acceleration realx3 (0 0 0); // rotational velocity (rad/s) - rotVelocity realx3 (0 0 0); + rVelocity realx3 (0 0 0); // name of the particle shape shapeName word smallSphere; } diff --git a/tutorials/sphereGranFlow/V-blender/settings/particlesDict b/tutorials/sphereGranFlow/V-blender/settings/particlesDict index 20f0f595..b00e2252 100644 --- a/tutorials/sphereGranFlow/V-blender/settings/particlesDict +++ b/tutorials/sphereGranFlow/V-blender/settings/particlesDict @@ -24,7 +24,7 @@ setFields acceleration realx3 (0 0 0); // rotational velocity (rad/s) - rotVelocity realx3 (0 0 0); + rVelocity realx3 (0 0 0); // name of the particle shape shapeName word smallSphere; diff --git a/tutorials/sphereGranFlow/binarySystemOfParticles/settings/particlesDict b/tutorials/sphereGranFlow/binarySystemOfParticles/settings/particlesDict index f53fb9b6..089d8f96 100644 --- a/tutorials/sphereGranFlow/binarySystemOfParticles/settings/particlesDict +++ b/tutorials/sphereGranFlow/binarySystemOfParticles/settings/particlesDict @@ -41,7 +41,7 @@ setFields { velocity realx3 (0 0 0); // linear velocity (m/s) acceleration realx3 (0 0 0); // linear acceleration (m/s2) - rotVelocity realx3 (0 0 0); // rotational velocity (rad/s) + rVelocity realx3 (0 0 0); // rotational velocity (rad/s) shapeName word smallSphere; // name of the particle shape } diff --git a/tutorials/sphereGranFlow/layeredSiloFilling/settings/particlesDict b/tutorials/sphereGranFlow/layeredSiloFilling/settings/particlesDict index 8e014c06..83a1e367 100644 --- a/tutorials/sphereGranFlow/layeredSiloFilling/settings/particlesDict +++ b/tutorials/sphereGranFlow/layeredSiloFilling/settings/particlesDict @@ -13,7 +13,7 @@ setFields { velocity realx3 (0 0 0); // linear velocity (m/s) acceleration realx3 (0 0 0); // linear acceleration (m/s2) - rotVelocity realx3 (0 0 0); // rotational velocity (rad/s) + rVelocity realx3 (0 0 0); // rotational velocity (rad/s) shapeName word lightSphere; // name of the particle shape } diff --git a/tutorials/sphereGranFlow/rotatingDrumMedium/settings/particlesDict b/tutorials/sphereGranFlow/rotatingDrumMedium/settings/particlesDict index e6e5c7eb..fea6c8f7 100644 --- a/tutorials/sphereGranFlow/rotatingDrumMedium/settings/particlesDict +++ b/tutorials/sphereGranFlow/rotatingDrumMedium/settings/particlesDict @@ -19,7 +19,7 @@ setFields { velocity realx3 (0 0 0); // linear velocity (m/s) acceleration realx3 (0 0 0); // linear acceleration (m/s2) - rotVelocity realx3 (0 0 0); // rotational velocity (rad/s) + rVelocity realx3 (0 0 0); // rotational velocity (rad/s) shapeName word glassBead; // name of the particle shape } diff --git a/tutorials/sphereGranFlow/rotatingDrumSmall/settings/particlesDict b/tutorials/sphereGranFlow/rotatingDrumSmall/settings/particlesDict index 4ad57c22..2ca735fb 100644 --- a/tutorials/sphereGranFlow/rotatingDrumSmall/settings/particlesDict +++ b/tutorials/sphereGranFlow/rotatingDrumSmall/settings/particlesDict @@ -19,7 +19,7 @@ setFields { velocity realx3 (0 0 0); // linear velocity (m/s) acceleration realx3 (0 0 0); // linear acceleration (m/s2) - rotVelocity realx3 (0 0 0); // rotational velocity (rad/s) + rVelocity realx3 (0 0 0); // rotational velocity (rad/s) shapeName word sphere1; // name of the particle shape } diff --git a/tutorials/sphereGranFlow/screwConveyor/caseSetup/interaction b/tutorials/sphereGranFlow/screwConveyor/caseSetup/interaction index 830ec0b0..3aed0a68 100755 --- a/tutorials/sphereGranFlow/screwConveyor/caseSetup/interaction +++ b/tutorials/sphereGranFlow/screwConveyor/caseSetup/interaction @@ -2,9 +2,10 @@ | phasicFlow File | | copyright: www.cemf.ir | \* ------------------------------------------------------------------------- */ - objectName interaction; objectType dicrionary; +fileFormat ASCII; +/*---------------------------------------------------------------------------*/ materials (prop1); // a list of materials names densities (1000.0); // density of materials [kg/m3] @@ -50,4 +51,4 @@ contactSearch cellExtent 0.6; // bounding box for particle-wall search (> 0.5) } -} \ No newline at end of file +} diff --git a/tutorials/sphereGranFlow/screwConveyor/caseSetup/particleInsertion b/tutorials/sphereGranFlow/screwConveyor/caseSetup/particleInsertion index db6fdf28..bab05611 100755 --- a/tutorials/sphereGranFlow/screwConveyor/caseSetup/particleInsertion +++ b/tutorials/sphereGranFlow/screwConveyor/caseSetup/particleInsertion @@ -2,9 +2,10 @@ | phasicFlow File | | copyright: www.cemf.ir | \* ------------------------------------------------------------------------- */ - objectName particleInsertion; objectType dicrionary; +fileFormat ASCII; +/*---------------------------------------------------------------------------*/ active yes; // is insertion active? @@ -21,7 +22,7 @@ layer0 rate 5000; // insertion rate (particles/s) startTime 0; // (s) endTime 100; // (s) - interval 0.025; //s + interval 0.03; //s cylinderRegionInfo { diff --git a/tutorials/sphereGranFlow/screwConveyor/caseSetup/sphereShape b/tutorials/sphereGranFlow/screwConveyor/caseSetup/sphereShape index 5a0f6c28..03599409 100755 --- a/tutorials/sphereGranFlow/screwConveyor/caseSetup/sphereShape +++ b/tutorials/sphereGranFlow/screwConveyor/caseSetup/sphereShape @@ -2,9 +2,10 @@ | phasicFlow File | | copyright: www.cemf.ir | \* ------------------------------------------------------------------------- */ - objectName sphereDict; objectType sphereShape; +fileFormat ASCII; +/*---------------------------------------------------------------------------*/ names (sphere1); // names of shapes diameters (0.01); // diameter of shapes diff --git a/tutorials/sphereGranFlow/screwConveyor/settings/geometryDict b/tutorials/sphereGranFlow/screwConveyor/settings/geometryDict index c5432505..1d339289 100644 --- a/tutorials/sphereGranFlow/screwConveyor/settings/geometryDict +++ b/tutorials/sphereGranFlow/screwConveyor/settings/geometryDict @@ -2,9 +2,10 @@ | phasicFlow File | | copyright: www.cemf.ir | \* ------------------------------------------------------------------------- */ - objectName geometryDict; objectType dictionary; +fileFormat ASCII; +/*---------------------------------------------------------------------------*/ // motion model: rotating object around an axis motionModel rotatingAxisMotion; diff --git a/tutorials/sphereGranFlow/screwConveyor/settings/particlesDict b/tutorials/sphereGranFlow/screwConveyor/settings/particlesDict index 8e5ed5e6..f5c954f1 100644 --- a/tutorials/sphereGranFlow/screwConveyor/settings/particlesDict +++ b/tutorials/sphereGranFlow/screwConveyor/settings/particlesDict @@ -2,10 +2,10 @@ | phasicFlow File | | copyright: www.cemf.ir | \* ------------------------------------------------------------------------- */ - objectName particlesDict; objectType dictionary; - +fileFormat ASCII; +/*---------------------------------------------------------------------------*/ // positions particles @@ -14,6 +14,27 @@ positionParticles method empty; // creates the required fields with zero particles (empty). maxNumberOfParticles 50000; // maximum number of particles in the simulation - mortonSorting Yes; // perform initial sorting based on morton code? + mortonSorting Yes; // perform initial sorting based on morton } + +setFields +{ + defaultValue + { + // linear velocity (m/s) + velocity realx3 (0 0 0); + + // linear acceleration (m/s2) + acceleration realx3 (0 0 0); + + // rotational velocity (rad/s) + rVelocity realx3 (0 0 0); + + // name of the particle shape + shapeName word sphere1; + } + + selectors + {} +} diff --git a/tutorials/sphereGranFlow/screwConveyor/settings/settingsDict b/tutorials/sphereGranFlow/screwConveyor/settings/settingsDict index 1ea980d8..410fcd2b 100644 --- a/tutorials/sphereGranFlow/screwConveyor/settings/settingsDict +++ b/tutorials/sphereGranFlow/screwConveyor/settings/settingsDict @@ -3,7 +3,9 @@ | copyright: www.cemf.ir | \* ------------------------------------------------------------------------- */ objectName settingsDict; -objectType dictionary;; +objectType dictionary; +fileFormat ASCII; +/*---------------------------------------------------------------------------*/ run layerdSiloFilling;