Files
CFDEMcoupling-PFM/tutorials/cfdemSolverMultiphase/tankDrainage/parCFDDEMrun.sh
2018-10-15 10:02:06 +02:00

30 lines
1.0 KiB
Bash
Executable File

#!/bin/bash
#===================================================================#
# allrun script for testcase as part of test routine
# run tankDrainage CFD part
#===================================================================#
#- source CFDEM env vars
. ~/.bashrc
#- include functions
source $CFDEM_PROJECT_DIR/etc/functions.sh
#--------------------------------------------------------------------------------#
#- define variables
casePath="$(dirname "$(readlink -f ${BASH_SOURCE[0]})")"
logpath=$casePath
headerText="run_parallel_cfdemSolverMultiphase_test"
logfileName="log_$headerText"
solverName="cfdemSolverMultiphase"
nrProcs="4"
machineFileName="none" # yourMachinefileName | none
debugMode="off" # on | off| strict
testHarnessPath="$CFDEM_TEST_HARNESS_PATH"
#--------------------------------------------------------------------------------#
#- call function to run a parallel CFD-DEM case
parCFDDEMrun $logpath $logfileName $casePath $headerText $solverName $nrProcs $machineFileName $debugMode