mirror of
https://github.com/ParticulateFlow/CFDEMcoupling-PFM.git
synced 2025-12-08 06:37:44 +00:00
30 lines
992 B
Bash
Executable File
30 lines
992 B
Bash
Executable File
#!/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/etc/functions.sh
|
|
|
|
#- define variables
|
|
casePath="$(dirname "$(readlink -f ${BASH_SOURCE[0]})")"
|
|
|
|
echo $casePath
|
|
|
|
# check if mesh was built
|
|
if [ -d "$casePath/CFD/constant/polyMesh/boundary" ]; then
|
|
echo "mesh was built before - using old mesh"
|
|
else
|
|
echo "mesh needs to be built"
|
|
cd $casePath/CFD
|
|
blockMesh
|
|
fi
|
|
|
|
|
|
#gnome-terminal --title='cfdemSolverIB two settling disks CFD' -e "CFDrun()"
|
|
gnome-terminal --title='cfdemSolverIB twoSpheresGlowinskiMPI CFD' -e "bash $casePath/parCFDDEMrun.sh"
|
|
#gnome-terminal --title='cfdemSolverIB two settling disks DEM' -e "DEMrun()"
|
|
#gnome-terminal --title='cfdemSolverIB twoSpheresGlowinskiMPI DEM' -e "bash $casePath/DEMrun.sh"
|