mirror of
https://github.com/ParticulateFlow/CFDEMcoupling-PFM.git
synced 2025-12-08 06:37:44 +00:00
clean up tutorial run/clean scripts
This commit is contained in:
@ -1,21 +1,18 @@
|
||||
#!/bin/bash
|
||||
|
||||
#===================================================================#
|
||||
# allclean script for testcase
|
||||
#------------------------------------------------------------------------------
|
||||
# Allclean script for falling sphere test case
|
||||
# clean CFD and DEM part
|
||||
# Achuth N. Balachandran Nair - Oct. 2018
|
||||
#===================================================================#
|
||||
# Achuth N. Balachandran Nair - October 2018
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
#- source CFDEM env vars
|
||||
#- source environment variables
|
||||
. ~/.bashrc
|
||||
|
||||
#- include functions
|
||||
#- source CFDEM functions
|
||||
source $CFDEM_PROJECT_DIR/etc/functions.sh
|
||||
|
||||
#--------------------------------------------------------------------------------#
|
||||
#- define variables
|
||||
casePath="$(dirname "$(readlink -f ${BASH_SOURCE[0]})")"
|
||||
#--------------------------------------------------------------------------------#
|
||||
|
||||
#- clean up case
|
||||
echo "deleting data at: $casePath"
|
||||
|
||||
@ -1,10 +1,9 @@
|
||||
#!/bin/bash
|
||||
|
||||
#===================================================================#
|
||||
# allrun script for testcase
|
||||
#------------------------------------------------------------------------------
|
||||
# allrun script for falling sphere testcase
|
||||
# run falling_sphere_two_way_coupling
|
||||
# Achuth N. Balachandran Nair - Oct. 2018
|
||||
#===================================================================#
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
source $CFDEM_PROJECT_DIR/etc/functions.sh
|
||||
|
||||
@ -22,6 +21,5 @@ else
|
||||
blockMesh
|
||||
fi
|
||||
|
||||
|
||||
#gnome-terminal --title='cfdemSolverIB twoSpheresGlowinskiMPI CFD' -e "bash $casePath/parCFDDEMrun.sh"
|
||||
#- run parallel CFD-DEM
|
||||
bash $casePath/parCFDDEMrun.sh
|
||||
|
||||
@ -1,10 +1,9 @@
|
||||
#!/bin/bash
|
||||
|
||||
#===================================================================#
|
||||
# CFDDEMrun script for testcase
|
||||
#------------------------------------------------------------------------------
|
||||
# parCFDDEMrun script for falling sphere testcase
|
||||
# run falling_sphere_two_way_coupling
|
||||
# Achuth N. Balachandran Nair - Oct. 2018
|
||||
#===================================================================#
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
#- source CFDEM env vars
|
||||
. ~/.bashrc
|
||||
@ -12,7 +11,7 @@
|
||||
#- include functions
|
||||
source $CFDEM_PROJECT_DIR/etc/functions.sh
|
||||
|
||||
#--------------------------------------------------------------------------------#
|
||||
#------------------------------------------------------------------------------
|
||||
#- define variables
|
||||
casePath="$(dirname "$(readlink -f ${BASH_SOURCE[0]})")"
|
||||
logpath=$casePath
|
||||
@ -25,7 +24,7 @@ debugMode="off" # on | off| strict
|
||||
testHarnessPath="$CFDEM_TEST_HARNESS_PATH"
|
||||
runOctave="false"
|
||||
postproc="false"
|
||||
#--------------------------------------------------------------------------------#
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
#- call function to run a parallel CFD-DEM case
|
||||
parCFDDEMrun $logpath $logfileName $casePath $headerText $solverName $nrProcs $machineFileName $debugMode
|
||||
|
||||
Reference in New Issue
Block a user