mirror of
https://github.com/PhasicFlow/phasicFlow.git
synced 2025-07-08 03:07:03 +00:00
26 lines
1.0 KiB
Bash
Executable File
26 lines
1.0 KiB
Bash
Executable File
#!/bin/sh
|
|
set -e # Exit immediately if a command exits with a non-zero status
|
|
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
|
|
|
|
echo "\n<--------------------------------------------------------------------->"
|
|
echo "4) Converting to VTK"
|
|
echo "<--------------------------------------------------------------------->\n"
|
|
pFlowToVTK -f diameter velocity id
|
|
|
|
|
|
#------------------------------------------------------------------------------
|