mirror of
https://github.com/ParticulateFlow/CFDEMcoupling-PFM.git
synced 2025-12-08 06:37:44 +00:00
27 lines
874 B
Bash
Executable File
27 lines
874 B
Bash
Executable File
#!/bin/bash
|
|
|
|
#===================================================================#
|
|
# allrun script
|
|
# Tim MJ Nijssen - September 2021
|
|
# based on: Christoph Goniva - August 2011
|
|
#===================================================================#
|
|
|
|
#--------------------------------------------------------------------------------#
|
|
#- run settings file
|
|
scriptPath="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
|
|
. $scriptPath/scriptSettings.sh $1
|
|
#--------------------------------------------------------------------------------#
|
|
|
|
#- do all tasks before actual run
|
|
echo "runAllPar: calling preRunAllPar"
|
|
. $scriptPath/preRunAllPar.sh $casePath
|
|
|
|
#- run parallel CFD-DEM
|
|
echo "runAllPar: Running CFD-DEM"
|
|
. $scriptPath/runCFDDEMPar.sh $casePath
|
|
|
|
#- do all tasks after actual run
|
|
echo "runAllPar: calling postRunAllPar"
|
|
. $scriptPath/postRunAllPar.sh $casePath
|
|
|