From 62f400613a4a0c12ad144098d76a6d263255da3e Mon Sep 17 00:00:00 2001 From: hamidrezanorouzi Date: Thu, 29 Sep 2022 16:57:15 +0330 Subject: [PATCH] missing files for tutorials added --- .../segregation/cleanThisCase | 7 +++++++ .../segregation/runThisCase | 21 +++++++++++++++++++ .../binarySystemOfParticles/cleanThisCase | 7 +++++++ .../binarySystemOfParticles/runThisCase | 21 +++++++++++++++++++ 4 files changed, 56 insertions(+) create mode 100755 tutorials/postprocessPhasicFlow/segregation/cleanThisCase create mode 100755 tutorials/postprocessPhasicFlow/segregation/runThisCase create mode 100755 tutorials/sphereGranFlow/binarySystemOfParticles/cleanThisCase create mode 100755 tutorials/sphereGranFlow/binarySystemOfParticles/runThisCase diff --git a/tutorials/postprocessPhasicFlow/segregation/cleanThisCase b/tutorials/postprocessPhasicFlow/segregation/cleanThisCase new file mode 100755 index 00000000..8a0ab919 --- /dev/null +++ b/tutorials/postprocessPhasicFlow/segregation/cleanThisCase @@ -0,0 +1,7 @@ +#!/bin/sh +cd ${0%/*} || exit 1 # Run from this directory + +ls | grep -P "^(([0-9]+\.?[0-9]*)|(\.[0-9]+))$" | xargs -d"\n" rm -rf +rm -rf VTK + +#------------------------------------------------------------------------------ diff --git a/tutorials/postprocessPhasicFlow/segregation/runThisCase b/tutorials/postprocessPhasicFlow/segregation/runThisCase new file mode 100755 index 00000000..c48d71fe --- /dev/null +++ b/tutorials/postprocessPhasicFlow/segregation/runThisCase @@ -0,0 +1,21 @@ +#!/bin/sh +cd ${0%/*} || exit 1 # Run from this directory +echo "\n<--------------------------------------------------------------------->" +echo "1) Creating particles" +echo "<--------------------------------------------------------------------->\n" +particlesPhasicFlow + +echo "\n<--------------------------------------------------------------------->" +echo "2) Creating geometry" +echo "<--------------------------------------------------------------------->\n" +geometryPhasicFlow + +echo "\n<--------------------------------------------------------------------->" +echo "3) Running the case" +echo "<--------------------------------------------------------------------->\n" +sphereGranFlow + + + + +#------------------------------------------------------------------------------ diff --git a/tutorials/sphereGranFlow/binarySystemOfParticles/cleanThisCase b/tutorials/sphereGranFlow/binarySystemOfParticles/cleanThisCase new file mode 100755 index 00000000..8a0ab919 --- /dev/null +++ b/tutorials/sphereGranFlow/binarySystemOfParticles/cleanThisCase @@ -0,0 +1,7 @@ +#!/bin/sh +cd ${0%/*} || exit 1 # Run from this directory + +ls | grep -P "^(([0-9]+\.?[0-9]*)|(\.[0-9]+))$" | xargs -d"\n" rm -rf +rm -rf VTK + +#------------------------------------------------------------------------------ diff --git a/tutorials/sphereGranFlow/binarySystemOfParticles/runThisCase b/tutorials/sphereGranFlow/binarySystemOfParticles/runThisCase new file mode 100755 index 00000000..c48d71fe --- /dev/null +++ b/tutorials/sphereGranFlow/binarySystemOfParticles/runThisCase @@ -0,0 +1,21 @@ +#!/bin/sh +cd ${0%/*} || exit 1 # Run from this directory +echo "\n<--------------------------------------------------------------------->" +echo "1) Creating particles" +echo "<--------------------------------------------------------------------->\n" +particlesPhasicFlow + +echo "\n<--------------------------------------------------------------------->" +echo "2) Creating geometry" +echo "<--------------------------------------------------------------------->\n" +geometryPhasicFlow + +echo "\n<--------------------------------------------------------------------->" +echo "3) Running the case" +echo "<--------------------------------------------------------------------->\n" +sphereGranFlow + + + + +#------------------------------------------------------------------------------