mirror of
https://github.com/ParticulateFlow/CFDEMcoupling-PFM.git
synced 2025-12-08 06:37:44 +00:00
12
tutorials/cfdemSolverIB/twoSpheresGlowinskiMPI/parCFDDEMrun.sh
Normal file → Executable file
12
tutorials/cfdemSolverIB/twoSpheresGlowinskiMPI/parCFDDEMrun.sh
Normal file → Executable file
@ -22,6 +22,7 @@ solverName="cfdemSolverIB"
|
||||
nrProcs="4"
|
||||
machineFileName="none" # yourMachinefileName | none
|
||||
debugMode="off" # on | off| strict
|
||||
reconstructCase="false" # true | false
|
||||
testHarnessPath="$CFDEM_TEST_HARNESS_PATH"
|
||||
runOctave="true"
|
||||
postproc="false"
|
||||
@ -30,6 +31,14 @@ postproc="false"
|
||||
#- call function to run a parallel CFD-DEM case
|
||||
parCFDDEMrun $logpath $logfileName $casePath $headerText $solverName $nrProcs $machineFileName $debugMode
|
||||
|
||||
#- case needs special reconstruction
|
||||
if [ $reconstructCase == "true" ]
|
||||
then
|
||||
cd $casePath/CFD
|
||||
reconstructParMesh -mergeTol 1e-06
|
||||
reconstructPar -noLagrangian
|
||||
fi
|
||||
|
||||
if [ $runOctave == "true" ]
|
||||
then
|
||||
|
||||
@ -60,9 +69,6 @@ if [ $postproc == "true" ]
|
||||
read
|
||||
fi
|
||||
|
||||
#- copy log file to test harness
|
||||
cp ../../$logfileName $testHarnessPath
|
||||
|
||||
#- clean up case
|
||||
echo "deleting data at: $casePath"
|
||||
source $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||
|
||||
Reference in New Issue
Block a user