25 lines
1009 B
Bash
Executable File
25 lines
1009 B
Bash
Executable File
#!/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
|
|
|
|
echo "\n<--------------------------------------------------------------------->"
|
|
echo "4) Converting to vtk"
|
|
echo "<--------------------------------------------------------------------->\n"
|
|
pFlowToVTK --fields diameter velocity id --binary
|
|
|
|
|
|
#------------------------------------------------------------------------------
|