mirror of
https://github.com/ParticulateFlow/CFDEMcoupling-PFM.git
synced 2025-12-08 06:37:44 +00:00
30 lines
895 B
Bash
Executable File
30 lines
895 B
Bash
Executable File
#!/bin/bash
|
|
|
|
#===================================================================#
|
|
# DEMrun script for damBreak testcase
|
|
# init damBreak
|
|
#===================================================================#
|
|
|
|
#- source CFDEM env vars
|
|
. ~/.bashrc
|
|
|
|
#- include functions
|
|
source $CFDEM_PROJECT_DIR/etc/functions.sh
|
|
|
|
echo "starting DEM run in parallel..."
|
|
#--------------------------------------------------------------------------------#
|
|
#- define variables
|
|
casePath="$(dirname "$(readlink -f ${BASH_SOURCE[0]})")"
|
|
logpath="$casePath"
|
|
headerText="run_liggghts_init_DEM"
|
|
logfileName="log_$headerText"
|
|
solverName="in.liggghts_init"
|
|
nrProcs=4
|
|
machineFileName="none"
|
|
debugMode="off"
|
|
#--------------------------------------------------------------------------------#
|
|
|
|
#- call function to run DEM case
|
|
parDEMrun $logpath $logfileName $casePath $headerText $solverName $nrProcs $machineFileName $debugMode
|
|
|