From 4063a2a103e6ccfa3516e748d0636fe6def78f0f Mon Sep 17 00:00:00 2001 From: danielque Date: Tue, 27 Mar 2018 17:52:49 +0200 Subject: [PATCH] fix reconstruction of twoSpheresGlowinskiMPI fixes #42 --- .../twoSpheresGlowinskiMPI/parCFDDEMrun.sh | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) mode change 100644 => 100755 tutorials/cfdemSolverIB/twoSpheresGlowinskiMPI/parCFDDEMrun.sh diff --git a/tutorials/cfdemSolverIB/twoSpheresGlowinskiMPI/parCFDDEMrun.sh b/tutorials/cfdemSolverIB/twoSpheresGlowinskiMPI/parCFDDEMrun.sh old mode 100644 new mode 100755 index 967b517e..f496b3f1 --- a/tutorials/cfdemSolverIB/twoSpheresGlowinskiMPI/parCFDDEMrun.sh +++ b/tutorials/cfdemSolverIB/twoSpheresGlowinskiMPI/parCFDDEMrun.sh @@ -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