Files
CFDEMcoupling-PFM/tutorials/cfdemSolverPiso/voidfractionTest/Allrun.sh
danielque 71586e1192 add trilinear voidfraction test case [ci skip]
as in CFDEMcoupling-PUBLIC
2020-08-03 13:06:23 +02:00

23 lines
602 B
Bash
Executable File

#!/bin/bash
#===================================================================#
# allrun script for testcase as part of test routine
# run voidfractionTest
# Christoph Goniva - Jan. 2016
#===================================================================#
#- define variables
casePath="$(dirname "$(readlink -f ${BASH_SOURCE[0]})")"
# check if mesh was built
if [ -f "$casePath/CFD/constant/polyMesh/points" ]; then
echo "mesh was built before - using old mesh"
else
echo "mesh needs to be built"
cd $casePath/CFD
blockMesh
fi
#- run parallel CFD-DEM
. $casePath/parCFDDEMrun.sh