mirror of
https://github.com/ParticulateFlow/CFDEMcoupling-PFM.git
synced 2025-12-08 06:37:44 +00:00
28 lines
1.0 KiB
Bash
Executable File
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
|