periodic box simulation tutorial

This commit is contained in:
BehradEsg
2023-08-22 11:09:04 +02:00
parent 93d5a842a4
commit 8a8c6d2bc2
26 changed files with 1375 additions and 0 deletions

View File

@ -0,0 +1,30 @@
#!/bin/bash
#===================================================================#
# DEM run script for periodic box testcase
# init periodic box
# Behrad Esgandari - August 2023
#===================================================================#
#- 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=32
machineFileName="none"
debugMode="off"
#--------------------------------------------------------------------------------#
#- call function to run DEM case
parDEMrun $logpath $logfileName $casePath $headerText $solverName $nrProcs $machineFileName $debugMode