-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAllrun.sh
More file actions
executable file
·29 lines (21 loc) · 748 Bytes
/
Allrun.sh
File metadata and controls
executable file
·29 lines (21 loc) · 748 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#!/bin/bash
#===================================================================#
# allrun script for testcase as part of test routine
# run settlingTest
# Christoph Goniva - July. 2011, mod by Alice Hager - July 2011
#===================================================================#
source $CFDEM_SRC_DIR/lagrangian/cfdemParticle/etc/functions.sh
#- define variables
casePath="$(dirname "$(readlink -f ${BASH_SOURCE[0]})")"
echo $casePath
rm DEM/post/*
rm DEM/post/restart/*
rm -r CFD/processor?
rm -r CFD/constant/polyMesh
rm -r CFD/0.*
rm -r CFD/VTK
rm -r CFD/log.*
cd $casePath/CFD
blockMesh >> log.blockMesh 2>&1
#gnome-terminal --title='cfdemSolverIB periodic test' -e "bash $casePath/parCFDDEMrun.sh"
. $casePath/parCFDDEMrun.sh