From f2bd0ad0aa4c9659f0e4a73b8609f0da95a256b7 Mon Sep 17 00:00:00 2001 From: danielque Date: Wed, 3 Nov 2021 12:03:41 +0100 Subject: [PATCH] make spelling of logpath variable consistent throughout case scripts --- .../small_hearth/scripts/preRunAllPar.sh | 2 +- .../small_hearth/scripts/runDEMPar.sh | 4 ++-- .../small_hearth/scripts/scriptSettings.sh | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/tutorials/cfdemSolverMultiphaseScalar/small_hearth/scripts/preRunAllPar.sh b/tutorials/cfdemSolverMultiphaseScalar/small_hearth/scripts/preRunAllPar.sh index f167e28c..a2e432d6 100644 --- a/tutorials/cfdemSolverMultiphaseScalar/small_hearth/scripts/preRunAllPar.sh +++ b/tutorials/cfdemSolverMultiphaseScalar/small_hearth/scripts/preRunAllPar.sh @@ -40,7 +40,7 @@ if [ -f "$casePath/CFD/constant/polyMesh/points" ]; then echo "preRunAllPar: using old mesh" else echo "preRunAllPar: Building mesh" - . $scriptPath/buildMesh.sh $casePath > $logPath/log.mesh + . $scriptPath/buildMesh.sh $casePath > $logpath/log.mesh fi #- set fields diff --git a/tutorials/cfdemSolverMultiphaseScalar/small_hearth/scripts/runDEMPar.sh b/tutorials/cfdemSolverMultiphaseScalar/small_hearth/scripts/runDEMPar.sh index b8aa8a99..c6d7b7f1 100755 --- a/tutorials/cfdemSolverMultiphaseScalar/small_hearth/scripts/runDEMPar.sh +++ b/tutorials/cfdemSolverMultiphaseScalar/small_hearth/scripts/runDEMPar.sh @@ -18,10 +18,10 @@ scriptPath="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )" . $casePath/runSettings.sh "DEM" #--------------------------------------------------------------------------------# -echo $logPath $logfileName $casePath $headerText $solverName $nrProcs $machineFileName $debugMode +echo $logpath $logfileName $casePath $headerText $solverName $nrProcs $machineFileName $debugMode #- call function to run DEM case -parDEMrun $logPath $logfileName $casePath $headerText $solverName $nrProcs $machineFileName $debugMode +parDEMrun $logpath $logfileName $casePath $headerText $solverName $nrProcs $machineFileName $debugMode #- return cd $currentPath diff --git a/tutorials/cfdemSolverMultiphaseScalar/small_hearth/scripts/scriptSettings.sh b/tutorials/cfdemSolverMultiphaseScalar/small_hearth/scripts/scriptSettings.sh index cd2b16a0..19c5c0fb 100644 --- a/tutorials/cfdemSolverMultiphaseScalar/small_hearth/scripts/scriptSettings.sh +++ b/tutorials/cfdemSolverMultiphaseScalar/small_hearth/scripts/scriptSettings.sh @@ -18,6 +18,6 @@ else fi #- other paths -logPath=$casePath/log -mkdir $logPath +logpath=$casePath/log +mkdir $logpath