mirror of
https://github.com/ParticulateFlow/CFDEMcoupling-PFM.git
synced 2025-12-08 06:37:44 +00:00
31 lines
1.0 KiB
Bash
31 lines
1.0 KiB
Bash
#!/bin/bash
|
|
|
|
#===================================================================#
|
|
# allrun script for testcase as part of test routine
|
|
# run settlingTest CFD part
|
|
# Christoph Goniva - Feb. 2011
|
|
#===================================================================#
|
|
|
|
#- source CFDEM env vars
|
|
. ~/.bashrc
|
|
|
|
#- include functions
|
|
source $CFDEM_SRC_DIR/etc/functions.sh
|
|
|
|
#--------------------------------------------------------------------------------#
|
|
#- define variables
|
|
casePath="$(dirname "$(readlink -f ${BASH_SOURCE[0]})")"
|
|
logpath=$casePath
|
|
headerText="run_parallel_cfdemSolverPiso_ErgunTestMPI_CFDDEM"
|
|
logfileName="log_$headerText"
|
|
solverName="cfdemSolverPiso"
|
|
nrProcs="2"
|
|
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
|
|
|