Files
CFDEMcoupling-PFM/tutorials/cfdemSolverPiso/round_liquid_FB/scripts/runDEMPar.sh
2021-10-07 16:27:21 +02:00

28 lines
1.0 KiB
Bash
Executable File

#!/bin/bash
#===================================================================#
# DEMrun script for case (init)
# Tim MJ Nijssen - September 2021
# based on: Daniel Queteschiner - June 2014
#===================================================================#
#- include functions
source $CFDEM_PROJECT_DIR/etc/functions.sh
#--------------------------------------------------------------------------------#
#- run settings file
scriptPath="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
. $scriptPath/scriptSettings.sh $1
#--------------------------------------------------------------------------------#
#- run case settings file
. $casePath/runSettings.sh "DEM"
#--------------------------------------------------------------------------------#
echo $logPath $logfileName $casePath $headerText $solverName $nrProcs $machineFileName $debugMode
#- call function to run DEM case
parDEMrun $logPath $logfileName $casePath $headerText $solverName $nrProcs $machineFileName $debugMode
#- return
cd $currentPath