From 1988e4bb60f8d2564695f7bc13b28345f862e99a Mon Sep 17 00:00:00 2001 From: Mark Olesen <Mark.Olesen@Germany> Date: Mon, 27 Jun 2016 17:50:55 +0200 Subject: [PATCH] STYLE: avoid backticks for getApplication --- tutorials/DNS/dnsFoam/boxTurb16/Allrun | 2 +- tutorials/basic/laplacianFoam/flange/Allrun | 2 +- tutorials/basic/potentialFoam/cylinder/Allrun | 2 +- tutorials/basic/potentialFoam/pitzDaily/Allrun | 2 +- .../combustion/PDRFoam/flamePropagationWithObstacles/Allrun | 2 +- tutorials/combustion/XiFoam/ras/Allrun | 4 ++-- tutorials/combustion/chemFoam/gri/Allrun | 2 +- tutorials/combustion/chemFoam/h2/Allrun | 2 +- tutorials/combustion/chemFoam/ic8h18/Allrun | 2 +- tutorials/combustion/chemFoam/nc7h16/Allrun | 2 +- tutorials/combustion/engineFoam/kivaTest/Allrun | 2 +- .../fireFoam/les/flameSpreadWaterSuppressionPanel/Allrun | 2 +- .../combustion/fireFoam/les/oppositeBurningPanels/Allrun | 4 ++-- tutorials/combustion/fireFoam/les/simplePMMApanel/Allrun | 2 +- tutorials/combustion/fireFoam/les/smallPoolFire2D/Allrun | 2 +- tutorials/combustion/fireFoam/les/smallPoolFire3D/Allrun | 2 +- .../compressible/rhoCentralFoam/biconic25-55Run35/Allrun | 2 +- tutorials/compressible/rhoCentralFoam/shockTube/Allrun | 2 +- tutorials/compressible/rhoPimpleFoam/ras/angledDuct/Allrun | 2 +- tutorials/compressible/rhoPimpleFoam/ras/angledDuctLTS/Allrun | 2 +- tutorials/compressible/rhoPimpleFoam/ras/mixerVessel2D/Allrun | 2 +- .../rhoPorousSimpleFoam/angledDuctImplicit/Allrun | 2 +- .../rhoSimpleFoam/angledDuctExplicitFixedCoeff/Allrun | 2 +- tutorials/compressible/sonicFoam/laminar/shockTube/Allrun | 2 +- tutorials/compressible/sonicFoam/ras/nacaAirfoil/Allrun | 2 +- tutorials/compressible/sonicLiquidFoam/Allrun | 2 +- tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/Allrun | 2 +- tutorials/discreteMethods/dsmcFoam/freeSpaceStream/Allrun | 2 +- tutorials/discreteMethods/dsmcFoam/supersonicCorner/Allrun | 2 +- tutorials/discreteMethods/dsmcFoam/wedge15Ma5/Allrun | 2 +- .../mdEquilibrationFoam/periodicCubeArgon/Allrun | 2 +- .../mdEquilibrationFoam/periodicCubeWater/Allrun | 2 +- .../molecularDynamics/mdFoam/nanoNozzle/Allrun | 2 +- tutorials/electromagnetics/mhdFoam/hartmann/Allrun | 2 +- .../heatTransfer/buoyantBoussinesqPimpleFoam/hotRoom/Allrun | 2 +- .../heatTransfer/buoyantBoussinesqSimpleFoam/hotRoom/Allrun | 2 +- .../buoyantBoussinesqSimpleFoam/iglooWithFridges/Allrun | 2 +- tutorials/heatTransfer/buoyantPimpleFoam/hotRoom/Allrun | 2 +- tutorials/heatTransfer/buoyantSimpleFoam/buoyantCavity/Allrun | 2 +- .../heatTransfer/buoyantSimpleFoam/circuitBoardCooling/Allrun | 2 +- .../heatTransfer/buoyantSimpleFoam/hotRadiationRoom/Allrun | 2 +- .../buoyantSimpleFoam/hotRadiationRoomFvDOM/Allrun | 2 +- .../heatTransfer/chtMultiRegionFoam/externalSolarLoad/Allrun | 2 +- .../heatTransfer/chtMultiRegionFoam/multiRegionHeater/Allrun | 4 ++-- .../chtMultiRegionFoam/snappyMultiRegionHeater/Allrun | 4 ++-- .../multiRegionHeaterRadiation/Allrun | 2 +- .../multiRegionHeaterRadiation/Allrun-parallel | 2 +- tutorials/incompressible/SRFPimpleFoam/rotor2D/Allrun | 2 +- .../boundaryFoam/boundaryWallFunctionsProfile/Allrun | 2 +- tutorials/incompressible/icoFoam/cavity/Allrun | 2 +- tutorials/incompressible/icoFoam/elbow/Allrun | 2 +- .../incompressible/pimpleDyMFoam/mixerVesselAMI2D/Allrun | 2 +- tutorials/incompressible/pimpleDyMFoam/propeller/Allrun | 2 +- tutorials/incompressible/pimpleFoam/TJunctionFan/Allrun | 2 +- tutorials/incompressible/pimpleFoam/channel395/Allrun | 2 +- tutorials/incompressible/pimpleFoam/elipsekkLOmega/Allrun | 2 +- .../incompressible/pisoFoam/laminar/porousBlockage/Allrun | 2 +- .../incompressible/porousSimpleFoam/angledDuctImplicit/Allrun | 2 +- .../porousSimpleFoam/straightDuctImplicit/Allrun | 2 +- tutorials/incompressible/simpleFoam/airFoil2D/Allrun | 2 +- tutorials/incompressible/simpleFoam/mixerVessel2D/Allrun | 2 +- tutorials/incompressible/simpleFoam/pipeCyclic/Allrun | 2 +- tutorials/incompressible/simpleFoam/turbineSiting/Allrun | 2 +- tutorials/lagrangian/coalChemistryFoam/simplifiedSiwek/Allrun | 2 +- tutorials/lagrangian/reactingParcelFilmFoam/cylinder/Allrun | 2 +- tutorials/lagrangian/reactingParcelFilmFoam/hotBoxes/Allrun | 2 +- .../reactingParcelFilmFoam/hotBoxes/Allrun-parallel | 2 +- .../lagrangian/reactingParcelFilmFoam/rivuletPanel/Allrun | 2 +- .../lagrangian/reactingParcelFilmFoam/splashPanel/Allrun | 2 +- tutorials/lagrangian/reactingParcelFoam/filter/Allrun | 2 +- .../lagrangian/reactingParcelFoam/verticalChannel/Allrun | 2 +- .../lagrangian/reactingParcelFoam/verticalChannelLTS/Allrun | 2 +- tutorials/multiphase/MPPICInterFoam/twoPhasePachuka/Allrun | 4 ++-- tutorials/multiphase/cavitatingFoam/les/throttle/Allrun | 2 +- tutorials/multiphase/cavitatingFoam/les/throttle3D/Allrun | 2 +- tutorials/multiphase/cavitatingFoam/ras/throttle/Allrun | 2 +- .../compressibleInterDyMFoam/ras/sloshingTank2D/Allrun | 2 +- .../laminar/damBreak4phase/Allrun | 2 +- tutorials/multiphase/driftFluxFoam/ras/mixerVessel2D/Allrun | 2 +- tutorials/multiphase/driftFluxFoam/ras/tank3D/Allrun | 2 +- .../interCondensingEvaporatingFoam/condensatingVessel/Allrun | 2 +- .../multiphase/interDyMFoam/laminar/sloshingTank2D/Allrun | 2 +- .../multiphase/interDyMFoam/laminar/sloshingTank2D3DoF/Allrun | 2 +- .../multiphase/interDyMFoam/laminar/sloshingTank3D/Allrun | 2 +- .../multiphase/interDyMFoam/laminar/sloshingTank3D3DoF/Allrun | 2 +- .../multiphase/interDyMFoam/laminar/sloshingTank3D6DoF/Allrun | 2 +- .../multiphase/interDyMFoam/laminar/testTubeMixer/Allrun | 2 +- .../multiphase/interDyMFoam/ras/damBreakWithObstacle/Allrun | 2 +- tutorials/multiphase/interDyMFoam/ras/floatingObject/Allrun | 2 +- tutorials/multiphase/interDyMFoam/ras/mixerVesselAMI/Allrun | 2 +- .../multiphase/interDyMFoam/ras/mixerVesselAMI/Allrun.pre | 2 +- tutorials/multiphase/interFoam/laminar/capillaryRise/Allrun | 2 +- tutorials/multiphase/interFoam/laminar/damBreak/Allrun | 2 +- .../multiphase/interFoam/laminar/damBreak/damBreak/Allrun | 2 +- tutorials/multiphase/interFoam/laminar/mixerVessel2D/Allrun | 2 +- tutorials/multiphase/interFoam/les/nozzleFlow2D/Allrun | 2 +- tutorials/multiphase/interFoam/ras/angledDuct/Allrun | 2 +- tutorials/multiphase/interFoam/ras/damBreak/Allrun | 2 +- tutorials/multiphase/interFoam/ras/damBreak/damBreak/Allrun | 2 +- .../multiphase/interFoam/ras/damBreakPorousBaffle/Allrun | 2 +- tutorials/multiphase/interFoam/ras/waterChannel/Allmesh | 2 +- tutorials/multiphase/interFoam/ras/waterChannel/Allrun | 2 +- tutorials/multiphase/interFoam/ras/weirOverflow/Allrun | 2 +- tutorials/multiphase/interMixingFoam/laminar/damBreak/Allrun | 2 +- tutorials/multiphase/interPhaseChangeDyMFoam/propeller/Allrun | 2 +- .../multiphase/interPhaseChangeFoam/cavitatingBullet/Allrun | 2 +- .../multiphase/multiphaseEulerFoam/damBreak4phase/Allrun | 2 +- .../multiphase/multiphaseEulerFoam/damBreak4phaseFine/Allrun | 2 +- tutorials/multiphase/multiphaseEulerFoam/mixerVessel2D/Allrun | 2 +- .../multiphaseInterDyMFoam/laminar/mixerVesselAMI2D/Allrun | 2 +- .../multiphaseInterFoam/laminar/damBreak4phase/Allrun | 2 +- .../multiphaseInterFoam/laminar/damBreak4phaseFine/Allrun | 2 +- .../multiphaseInterFoam/laminar/mixerVessel2D/Allrun | 2 +- .../potentialFreeSurfaceDyMFoam/oscillatingBox/Allrun | 2 +- .../multiphase/potentialFreeSurfaceFoam/oscillatingBox/Allrun | 2 +- .../reactingMultiphaseEulerFoam/laminar/mixerVessel2D/Allrun | 2 +- .../reactingTwoPhaseEulerFoam/laminar/mixerVessel2D/Allrun | 2 +- tutorials/multiphase/twoLiquidMixingFoam/lockExchange/Allrun | 2 +- .../multiphase/twoPhaseEulerFoam/laminar/mixerVessel2D/Allrun | 2 +- 119 files changed, 124 insertions(+), 124 deletions(-) diff --git a/tutorials/DNS/dnsFoam/boxTurb16/Allrun b/tutorials/DNS/dnsFoam/boxTurb16/Allrun index 26449db3a86..41bac4e87de 100755 --- a/tutorials/DNS/dnsFoam/boxTurb16/Allrun +++ b/tutorials/DNS/dnsFoam/boxTurb16/Allrun @@ -5,7 +5,7 @@ cd ${0%/*} || exit 1 # Run from this directory . $WM_PROJECT_DIR/bin/tools/RunFunctions # Get application name -application=`getApplication` +application=$(getApplication) runApplication blockMesh runApplication boxTurb diff --git a/tutorials/basic/laplacianFoam/flange/Allrun b/tutorials/basic/laplacianFoam/flange/Allrun index 89c210c48c7..91c4818b862 100755 --- a/tutorials/basic/laplacianFoam/flange/Allrun +++ b/tutorials/basic/laplacianFoam/flange/Allrun @@ -5,7 +5,7 @@ cd ${0%/*} || exit 1 # Run from this directory . $WM_PROJECT_DIR/bin/tools/RunFunctions # Get application name -application=`getApplication` +application=$(getApplication) runAnsysToFoam() { diff --git a/tutorials/basic/potentialFoam/cylinder/Allrun b/tutorials/basic/potentialFoam/cylinder/Allrun index d078c47a0e8..fc215995a52 100755 --- a/tutorials/basic/potentialFoam/cylinder/Allrun +++ b/tutorials/basic/potentialFoam/cylinder/Allrun @@ -4,7 +4,7 @@ cd ${0%/*} || exit 1 # Run from this directory # Source tutorial run functions . $WM_PROJECT_DIR/bin/tools/RunFunctions -application=`getApplication` +application=$(getApplication) restore0Dir runApplication blockMesh diff --git a/tutorials/basic/potentialFoam/pitzDaily/Allrun b/tutorials/basic/potentialFoam/pitzDaily/Allrun index d74cf54ec0b..8affee72b0f 100755 --- a/tutorials/basic/potentialFoam/pitzDaily/Allrun +++ b/tutorials/basic/potentialFoam/pitzDaily/Allrun @@ -4,7 +4,7 @@ cd ${0%/*} || exit 1 # Run from this directory # Source tutorial run functions . $WM_PROJECT_DIR/bin/tools/RunFunctions -application=`getApplication` +application=$(getApplication) restore0Dir runApplication blockMesh diff --git a/tutorials/combustion/PDRFoam/flamePropagationWithObstacles/Allrun b/tutorials/combustion/PDRFoam/flamePropagationWithObstacles/Allrun index 5c5ee5cabff..12857916b89 100755 --- a/tutorials/combustion/PDRFoam/flamePropagationWithObstacles/Allrun +++ b/tutorials/combustion/PDRFoam/flamePropagationWithObstacles/Allrun @@ -13,6 +13,6 @@ runApplication topoSet runApplication PDRMesh -overwrite # Run -runApplication `getApplication` +runApplication $(getApplication) #------------------------------------------------------------------------------ diff --git a/tutorials/combustion/XiFoam/ras/Allrun b/tutorials/combustion/XiFoam/ras/Allrun index e1db61c60cd..4cf6e15fdf5 100755 --- a/tutorials/combustion/XiFoam/ras/Allrun +++ b/tutorials/combustion/XiFoam/ras/Allrun @@ -33,7 +33,7 @@ cloneCase moriyoshiHomogeneous moriyoshiHomogeneousPart2 cp -r ../moriyoshiHomogeneous/0.005 . setControlDict - runApplication `getApplication` + runApplication $(getApplication) ) # Clone case for hydrogen @@ -48,7 +48,7 @@ cloneCase moriyoshiHomogeneous moriyoshiHomogeneousHydrogen constant/thermophysicalProperties.propane mv constant/thermophysicalProperties.hydrogen \ constant/thermophysicalProperties - runApplication `getApplication` + runApplication $(getApplication) ) #------------------------------------------------------------------------------ diff --git a/tutorials/combustion/chemFoam/gri/Allrun b/tutorials/combustion/chemFoam/gri/Allrun index 62adab28f34..de26a4017d4 100755 --- a/tutorials/combustion/chemFoam/gri/Allrun +++ b/tutorials/combustion/chemFoam/gri/Allrun @@ -5,7 +5,7 @@ cd ${0%/*} || exit 1 # Run from this directory . $WM_PROJECT_DIR/bin/tools/RunFunctions # Set application name -application=`getApplication` +application=$(getApplication) runApplication $application diff --git a/tutorials/combustion/chemFoam/h2/Allrun b/tutorials/combustion/chemFoam/h2/Allrun index 62adab28f34..de26a4017d4 100755 --- a/tutorials/combustion/chemFoam/h2/Allrun +++ b/tutorials/combustion/chemFoam/h2/Allrun @@ -5,7 +5,7 @@ cd ${0%/*} || exit 1 # Run from this directory . $WM_PROJECT_DIR/bin/tools/RunFunctions # Set application name -application=`getApplication` +application=$(getApplication) runApplication $application diff --git a/tutorials/combustion/chemFoam/ic8h18/Allrun b/tutorials/combustion/chemFoam/ic8h18/Allrun index 62adab28f34..de26a4017d4 100755 --- a/tutorials/combustion/chemFoam/ic8h18/Allrun +++ b/tutorials/combustion/chemFoam/ic8h18/Allrun @@ -5,7 +5,7 @@ cd ${0%/*} || exit 1 # Run from this directory . $WM_PROJECT_DIR/bin/tools/RunFunctions # Set application name -application=`getApplication` +application=$(getApplication) runApplication $application diff --git a/tutorials/combustion/chemFoam/nc7h16/Allrun b/tutorials/combustion/chemFoam/nc7h16/Allrun index 62adab28f34..de26a4017d4 100755 --- a/tutorials/combustion/chemFoam/nc7h16/Allrun +++ b/tutorials/combustion/chemFoam/nc7h16/Allrun @@ -5,7 +5,7 @@ cd ${0%/*} || exit 1 # Run from this directory . $WM_PROJECT_DIR/bin/tools/RunFunctions # Set application name -application=`getApplication` +application=$(getApplication) runApplication $application diff --git a/tutorials/combustion/engineFoam/kivaTest/Allrun b/tutorials/combustion/engineFoam/kivaTest/Allrun index e51b7da7c0f..33555b48098 100755 --- a/tutorials/combustion/engineFoam/kivaTest/Allrun +++ b/tutorials/combustion/engineFoam/kivaTest/Allrun @@ -5,7 +5,7 @@ cd ${0%/*} || exit 1 # Run from this directory . $WM_PROJECT_DIR/bin/tools/RunFunctions # Get application name -application=`getApplication` +application=$(getApplication) runApplication kivaToFoam -file otape17 diff --git a/tutorials/combustion/fireFoam/les/flameSpreadWaterSuppressionPanel/Allrun b/tutorials/combustion/fireFoam/les/flameSpreadWaterSuppressionPanel/Allrun index 6101e96371c..b686d7ee801 100755 --- a/tutorials/combustion/fireFoam/les/flameSpreadWaterSuppressionPanel/Allrun +++ b/tutorials/combustion/fireFoam/les/flameSpreadWaterSuppressionPanel/Allrun @@ -34,7 +34,7 @@ rm log.createPatch runApplication createPatch -region filmRegion -overwrite # Run -runApplication `getApplication` +runApplication $(getApplication) paraFoam -touchAll diff --git a/tutorials/combustion/fireFoam/les/oppositeBurningPanels/Allrun b/tutorials/combustion/fireFoam/les/oppositeBurningPanels/Allrun index 63bace3c2cb..42cc6668323 100755 --- a/tutorials/combustion/fireFoam/les/oppositeBurningPanels/Allrun +++ b/tutorials/combustion/fireFoam/les/oppositeBurningPanels/Allrun @@ -5,7 +5,7 @@ cd ${0%/*} || exit 1 # Run from this directory . $WM_PROJECT_DIR/bin/tools/RunFunctions # Set application name -application=`getApplication` +application=$(getApplication) runApplication blockMesh @@ -34,7 +34,7 @@ runApplication -s panelRegion \ runApplication -s fields \ decomposePar -fields -runParallel `getApplication` +runParallel $(getApplication) paraFoam -touch paraFoam -touch -region panelRegion diff --git a/tutorials/combustion/fireFoam/les/simplePMMApanel/Allrun b/tutorials/combustion/fireFoam/les/simplePMMApanel/Allrun index 241ab1b9765..9a56766a61c 100755 --- a/tutorials/combustion/fireFoam/les/simplePMMApanel/Allrun +++ b/tutorials/combustion/fireFoam/les/simplePMMApanel/Allrun @@ -11,7 +11,7 @@ runApplication topoSet runApplication extrudeToRegionMesh -overwrite # Run -runApplication `getApplication` +runApplication $(getApplication) paraFoam -touchAll diff --git a/tutorials/combustion/fireFoam/les/smallPoolFire2D/Allrun b/tutorials/combustion/fireFoam/les/smallPoolFire2D/Allrun index 11ae4b0d7cd..e188e147962 100755 --- a/tutorials/combustion/fireFoam/les/smallPoolFire2D/Allrun +++ b/tutorials/combustion/fireFoam/les/smallPoolFire2D/Allrun @@ -10,6 +10,6 @@ runApplication topoSet runApplication createPatch -overwrite # Run -runApplication `getApplication` +runApplication $(getApplication) #------------------------------------------------------------------------------ diff --git a/tutorials/combustion/fireFoam/les/smallPoolFire3D/Allrun b/tutorials/combustion/fireFoam/les/smallPoolFire3D/Allrun index 81460ea3890..64bba51d9a4 100755 --- a/tutorials/combustion/fireFoam/les/smallPoolFire3D/Allrun +++ b/tutorials/combustion/fireFoam/les/smallPoolFire3D/Allrun @@ -4,7 +4,7 @@ . $WM_PROJECT_DIR/bin/tools/RunFunctions # Set application name -application=`getApplication` +application=$(getApplication) runApplication blockMesh runApplication topoSet diff --git a/tutorials/compressible/rhoCentralFoam/biconic25-55Run35/Allrun b/tutorials/compressible/rhoCentralFoam/biconic25-55Run35/Allrun index a1d7b7290ca..93d274a5901 100755 --- a/tutorials/compressible/rhoCentralFoam/biconic25-55Run35/Allrun +++ b/tutorials/compressible/rhoCentralFoam/biconic25-55Run35/Allrun @@ -28,7 +28,7 @@ mv $CONST/polyMesh/boundary $CONST/polyMesh/boundary.bak sed -f $CONST/wedgeScr $CONST/polyMesh/boundary.bak > $CONST/polyMesh/boundary rm $CONST/polyMesh/boundary.bak -runApplication `getApplication` +runApplication $(getApplication) #------------------------------------------------------------------------------ diff --git a/tutorials/compressible/rhoCentralFoam/shockTube/Allrun b/tutorials/compressible/rhoCentralFoam/shockTube/Allrun index 7f1047e95d3..ed61ac54353 100755 --- a/tutorials/compressible/rhoCentralFoam/shockTube/Allrun +++ b/tutorials/compressible/rhoCentralFoam/shockTube/Allrun @@ -6,6 +6,6 @@ cd ${0%/*} || exit 1 # Run from this directory runApplication blockMesh runApplication setFields -runApplication `getApplication` +runApplication $(getApplication) #------------------------------------------------------------------------------ diff --git a/tutorials/compressible/rhoPimpleFoam/ras/angledDuct/Allrun b/tutorials/compressible/rhoPimpleFoam/ras/angledDuct/Allrun index 8b610fff80d..4f55fd7efaf 100755 --- a/tutorials/compressible/rhoPimpleFoam/ras/angledDuct/Allrun +++ b/tutorials/compressible/rhoPimpleFoam/ras/angledDuct/Allrun @@ -7,4 +7,4 @@ m4 system/blockMeshDict.m4 > system/blockMeshDict . $WM_PROJECT_DIR/bin/tools/RunFunctions runApplication blockMesh -runApplication `getApplication` +runApplication $(getApplication) diff --git a/tutorials/compressible/rhoPimpleFoam/ras/angledDuctLTS/Allrun b/tutorials/compressible/rhoPimpleFoam/ras/angledDuctLTS/Allrun index 8b610fff80d..4f55fd7efaf 100755 --- a/tutorials/compressible/rhoPimpleFoam/ras/angledDuctLTS/Allrun +++ b/tutorials/compressible/rhoPimpleFoam/ras/angledDuctLTS/Allrun @@ -7,4 +7,4 @@ m4 system/blockMeshDict.m4 > system/blockMeshDict . $WM_PROJECT_DIR/bin/tools/RunFunctions runApplication blockMesh -runApplication `getApplication` +runApplication $(getApplication) diff --git a/tutorials/compressible/rhoPimpleFoam/ras/mixerVessel2D/Allrun b/tutorials/compressible/rhoPimpleFoam/ras/mixerVessel2D/Allrun index 836276fe9ce..2e9c3f7fb3a 100755 --- a/tutorials/compressible/rhoPimpleFoam/ras/mixerVessel2D/Allrun +++ b/tutorials/compressible/rhoPimpleFoam/ras/mixerVessel2D/Allrun @@ -3,7 +3,7 @@ # Source tutorial run functions . $WM_PROJECT_DIR/bin/tools/RunFunctions -application=`getApplication` +application=$(getApplication) ./makeMesh runApplication $application diff --git a/tutorials/compressible/rhoPorousSimpleFoam/angledDuctImplicit/Allrun b/tutorials/compressible/rhoPorousSimpleFoam/angledDuctImplicit/Allrun index 2a52698c048..bb18fc3feba 100755 --- a/tutorials/compressible/rhoPorousSimpleFoam/angledDuctImplicit/Allrun +++ b/tutorials/compressible/rhoPorousSimpleFoam/angledDuctImplicit/Allrun @@ -6,7 +6,7 @@ m4 system/blockMeshDict.m4 > system/blockMeshDict # Source tutorial run functions . $WM_PROJECT_DIR/bin/tools/RunFunctions -application=`getApplication` +application=$(getApplication) runApplication blockMesh runApplication $application diff --git a/tutorials/compressible/rhoSimpleFoam/angledDuctExplicitFixedCoeff/Allrun b/tutorials/compressible/rhoSimpleFoam/angledDuctExplicitFixedCoeff/Allrun index 2a52698c048..bb18fc3feba 100755 --- a/tutorials/compressible/rhoSimpleFoam/angledDuctExplicitFixedCoeff/Allrun +++ b/tutorials/compressible/rhoSimpleFoam/angledDuctExplicitFixedCoeff/Allrun @@ -6,7 +6,7 @@ m4 system/blockMeshDict.m4 > system/blockMeshDict # Source tutorial run functions . $WM_PROJECT_DIR/bin/tools/RunFunctions -application=`getApplication` +application=$(getApplication) runApplication blockMesh runApplication $application diff --git a/tutorials/compressible/sonicFoam/laminar/shockTube/Allrun b/tutorials/compressible/sonicFoam/laminar/shockTube/Allrun index 20ffce0a150..e52180e06d8 100755 --- a/tutorials/compressible/sonicFoam/laminar/shockTube/Allrun +++ b/tutorials/compressible/sonicFoam/laminar/shockTube/Allrun @@ -4,7 +4,7 @@ cd ${0%/*} || exit 1 # Run from this directory # Source tutorial run functions . $WM_PROJECT_DIR/bin/tools/RunFunctions -application=`getApplication` +application=$(getApplication) runApplication blockMesh runApplication setFields diff --git a/tutorials/compressible/sonicFoam/ras/nacaAirfoil/Allrun b/tutorials/compressible/sonicFoam/ras/nacaAirfoil/Allrun index b6157963bef..44af4c156cd 100755 --- a/tutorials/compressible/sonicFoam/ras/nacaAirfoil/Allrun +++ b/tutorials/compressible/sonicFoam/ras/nacaAirfoil/Allrun @@ -5,7 +5,7 @@ cd ${0%/*} || exit 1 # Run from this directory . $WM_PROJECT_DIR/bin/tools/RunFunctions # Get application name -application=`getApplication` +application=$(getApplication) runApplication star3ToFoam prostar/nacaAirfoil diff --git a/tutorials/compressible/sonicLiquidFoam/Allrun b/tutorials/compressible/sonicLiquidFoam/Allrun index 044fd34bfcb..deb3e8f4c6e 100755 --- a/tutorials/compressible/sonicLiquidFoam/Allrun +++ b/tutorials/compressible/sonicLiquidFoam/Allrun @@ -39,7 +39,7 @@ cloneCase decompressionTank decompressionTankFine # And execute runApplication blockMesh - runApplication `getApplication` + runApplication $(getApplication) ) #------------------------------------------------------------------------------ diff --git a/tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/Allrun b/tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/Allrun index 120c352ecbb..d56e57bf75b 100755 --- a/tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/Allrun +++ b/tutorials/discreteMethods/dsmcFoam/freeSpacePeriodic/Allrun @@ -6,6 +6,6 @@ cd ${0%/*} || exit 1 # Run from this directory runApplication blockMesh runApplication dsmcInitialise -runApplication `getApplication` +runApplication $(getApplication) #------------------------------------------------------------------------------ diff --git a/tutorials/discreteMethods/dsmcFoam/freeSpaceStream/Allrun b/tutorials/discreteMethods/dsmcFoam/freeSpaceStream/Allrun index 120c352ecbb..d56e57bf75b 100755 --- a/tutorials/discreteMethods/dsmcFoam/freeSpaceStream/Allrun +++ b/tutorials/discreteMethods/dsmcFoam/freeSpaceStream/Allrun @@ -6,6 +6,6 @@ cd ${0%/*} || exit 1 # Run from this directory runApplication blockMesh runApplication dsmcInitialise -runApplication `getApplication` +runApplication $(getApplication) #------------------------------------------------------------------------------ diff --git a/tutorials/discreteMethods/dsmcFoam/supersonicCorner/Allrun b/tutorials/discreteMethods/dsmcFoam/supersonicCorner/Allrun index f502a72e59f..d433a8c0269 100755 --- a/tutorials/discreteMethods/dsmcFoam/supersonicCorner/Allrun +++ b/tutorials/discreteMethods/dsmcFoam/supersonicCorner/Allrun @@ -7,7 +7,7 @@ cd ${0%/*} || exit 1 # Run from this directory runApplication blockMesh runApplication decomposePar runParallel dsmcInitialise -runParallel `getApplication` +runParallel $(getApplication) runApplication reconstructPar -noLagrangian #------------------------------------------------------------------------------ diff --git a/tutorials/discreteMethods/dsmcFoam/wedge15Ma5/Allrun b/tutorials/discreteMethods/dsmcFoam/wedge15Ma5/Allrun index 45c06e38e53..3d5ec5cbd9f 100755 --- a/tutorials/discreteMethods/dsmcFoam/wedge15Ma5/Allrun +++ b/tutorials/discreteMethods/dsmcFoam/wedge15Ma5/Allrun @@ -7,7 +7,7 @@ cd ${0%/*} || exit 1 # Run from this directory runApplication blockMesh runApplication decomposePar runParallel dsmcInitialise -runParallel `getApplication` +runParallel $(getApplication) runApplication reconstructPar -noLagrangian diff --git a/tutorials/discreteMethods/molecularDynamics/mdEquilibrationFoam/periodicCubeArgon/Allrun b/tutorials/discreteMethods/molecularDynamics/mdEquilibrationFoam/periodicCubeArgon/Allrun index 4830eb007fe..31e783b003a 100755 --- a/tutorials/discreteMethods/molecularDynamics/mdEquilibrationFoam/periodicCubeArgon/Allrun +++ b/tutorials/discreteMethods/molecularDynamics/mdEquilibrationFoam/periodicCubeArgon/Allrun @@ -6,6 +6,6 @@ cd ${0%/*} || exit 1 # Run from this directory runApplication blockMesh runApplication mdInitialise -runApplication `getApplication` +runApplication $(getApplication) #------------------------------------------------------------------------------ diff --git a/tutorials/discreteMethods/molecularDynamics/mdEquilibrationFoam/periodicCubeWater/Allrun b/tutorials/discreteMethods/molecularDynamics/mdEquilibrationFoam/periodicCubeWater/Allrun index 4830eb007fe..31e783b003a 100755 --- a/tutorials/discreteMethods/molecularDynamics/mdEquilibrationFoam/periodicCubeWater/Allrun +++ b/tutorials/discreteMethods/molecularDynamics/mdEquilibrationFoam/periodicCubeWater/Allrun @@ -6,6 +6,6 @@ cd ${0%/*} || exit 1 # Run from this directory runApplication blockMesh runApplication mdInitialise -runApplication `getApplication` +runApplication $(getApplication) #------------------------------------------------------------------------------ diff --git a/tutorials/discreteMethods/molecularDynamics/mdFoam/nanoNozzle/Allrun b/tutorials/discreteMethods/molecularDynamics/mdFoam/nanoNozzle/Allrun index 9f9a93ff378..c373ee10797 100755 --- a/tutorials/discreteMethods/molecularDynamics/mdFoam/nanoNozzle/Allrun +++ b/tutorials/discreteMethods/molecularDynamics/mdFoam/nanoNozzle/Allrun @@ -5,7 +5,7 @@ cd ${0%/*} || exit 1 # Run from this directory # Source tutorial run functions . $WM_PROJECT_DIR/bin/tools/RunFunctions -application=`getApplication` +application=$(getApplication) runApplication blockMesh diff --git a/tutorials/electromagnetics/mhdFoam/hartmann/Allrun b/tutorials/electromagnetics/mhdFoam/hartmann/Allrun index bb8053763d9..97d68a3db16 100755 --- a/tutorials/electromagnetics/mhdFoam/hartmann/Allrun +++ b/tutorials/electromagnetics/mhdFoam/hartmann/Allrun @@ -5,7 +5,7 @@ cd ${0%/*} || exit 1 # Run from this directory . $WM_PROJECT_DIR/bin/tools/RunFunctions # Set application name -application=`getApplication` +application=$(getApplication) runApplication blockMesh runApplication $application diff --git a/tutorials/heatTransfer/buoyantBoussinesqPimpleFoam/hotRoom/Allrun b/tutorials/heatTransfer/buoyantBoussinesqPimpleFoam/hotRoom/Allrun index d0075b1529e..a22b82774fc 100755 --- a/tutorials/heatTransfer/buoyantBoussinesqPimpleFoam/hotRoom/Allrun +++ b/tutorials/heatTransfer/buoyantBoussinesqPimpleFoam/hotRoom/Allrun @@ -4,7 +4,7 @@ cd ${0%/*} || exit 1 # Run from this directory # Source tutorial run functions . $WM_PROJECT_DIR/bin/tools/RunFunctions -application=`getApplication` +application=$(getApplication) runApplication blockMesh \cp 0/T.org 0/T diff --git a/tutorials/heatTransfer/buoyantBoussinesqSimpleFoam/hotRoom/Allrun b/tutorials/heatTransfer/buoyantBoussinesqSimpleFoam/hotRoom/Allrun index d0075b1529e..a22b82774fc 100755 --- a/tutorials/heatTransfer/buoyantBoussinesqSimpleFoam/hotRoom/Allrun +++ b/tutorials/heatTransfer/buoyantBoussinesqSimpleFoam/hotRoom/Allrun @@ -4,7 +4,7 @@ cd ${0%/*} || exit 1 # Run from this directory # Source tutorial run functions . $WM_PROJECT_DIR/bin/tools/RunFunctions -application=`getApplication` +application=$(getApplication) runApplication blockMesh \cp 0/T.org 0/T diff --git a/tutorials/heatTransfer/buoyantBoussinesqSimpleFoam/iglooWithFridges/Allrun b/tutorials/heatTransfer/buoyantBoussinesqSimpleFoam/iglooWithFridges/Allrun index de3f6389f8d..29414545d79 100755 --- a/tutorials/heatTransfer/buoyantBoussinesqSimpleFoam/iglooWithFridges/Allrun +++ b/tutorials/heatTransfer/buoyantBoussinesqSimpleFoam/iglooWithFridges/Allrun @@ -6,6 +6,6 @@ cd ${0%/*} || exit 1 # Run from this directory runApplication blockMesh runApplication snappyHexMesh -overwrite -runApplication `getApplication` +runApplication $(getApplication) #------------------------------------------------------------------------------ diff --git a/tutorials/heatTransfer/buoyantPimpleFoam/hotRoom/Allrun b/tutorials/heatTransfer/buoyantPimpleFoam/hotRoom/Allrun index 0df95afd2e0..b18d70e448c 100755 --- a/tutorials/heatTransfer/buoyantPimpleFoam/hotRoom/Allrun +++ b/tutorials/heatTransfer/buoyantPimpleFoam/hotRoom/Allrun @@ -5,7 +5,7 @@ cd ${0%/*} || exit 1 # Run from this directory . $WM_PROJECT_DIR/bin/tools/RunFunctions # Get application name -application=`getApplication` +application=$(getApplication) runApplication blockMesh runApplication setFields diff --git a/tutorials/heatTransfer/buoyantSimpleFoam/buoyantCavity/Allrun b/tutorials/heatTransfer/buoyantSimpleFoam/buoyantCavity/Allrun index 740f3a5ed65..ca50fd7fffa 100755 --- a/tutorials/heatTransfer/buoyantSimpleFoam/buoyantCavity/Allrun +++ b/tutorials/heatTransfer/buoyantSimpleFoam/buoyantCavity/Allrun @@ -5,7 +5,7 @@ cd ${0%/*} || exit 1 # Run from this directory . $WM_PROJECT_DIR/bin/tools/RunFunctions # Set application name -application=`getApplication` +application=$(getApplication) runApplication blockMesh runApplication $application diff --git a/tutorials/heatTransfer/buoyantSimpleFoam/circuitBoardCooling/Allrun b/tutorials/heatTransfer/buoyantSimpleFoam/circuitBoardCooling/Allrun index 152d9d91870..ae95e9ed617 100755 --- a/tutorials/heatTransfer/buoyantSimpleFoam/circuitBoardCooling/Allrun +++ b/tutorials/heatTransfer/buoyantSimpleFoam/circuitBoardCooling/Allrun @@ -2,7 +2,7 @@ . $WM_PROJECT_DIR/bin/tools/RunFunctions # Get application name -application=`getApplication` +application=$(getApplication) runApplication blockMesh diff --git a/tutorials/heatTransfer/buoyantSimpleFoam/hotRadiationRoom/Allrun b/tutorials/heatTransfer/buoyantSimpleFoam/hotRadiationRoom/Allrun index 2d455d1fbce..ebc19b3d2a4 100755 --- a/tutorials/heatTransfer/buoyantSimpleFoam/hotRadiationRoom/Allrun +++ b/tutorials/heatTransfer/buoyantSimpleFoam/hotRadiationRoom/Allrun @@ -4,7 +4,7 @@ cd ${0%/*} || exit 1 # Run from this directory # Source tutorial run functions . $WM_PROJECT_DIR/bin/tools/RunFunctions -application=`getApplication` +application=$(getApplication) runApplication blockMesh runApplication $application diff --git a/tutorials/heatTransfer/buoyantSimpleFoam/hotRadiationRoomFvDOM/Allrun b/tutorials/heatTransfer/buoyantSimpleFoam/hotRadiationRoomFvDOM/Allrun index 2d455d1fbce..ebc19b3d2a4 100755 --- a/tutorials/heatTransfer/buoyantSimpleFoam/hotRadiationRoomFvDOM/Allrun +++ b/tutorials/heatTransfer/buoyantSimpleFoam/hotRadiationRoomFvDOM/Allrun @@ -4,7 +4,7 @@ cd ${0%/*} || exit 1 # Run from this directory # Source tutorial run functions . $WM_PROJECT_DIR/bin/tools/RunFunctions -application=`getApplication` +application=$(getApplication) runApplication blockMesh runApplication $application diff --git a/tutorials/heatTransfer/chtMultiRegionFoam/externalSolarLoad/Allrun b/tutorials/heatTransfer/chtMultiRegionFoam/externalSolarLoad/Allrun index 42f495ac5ff..225acd829ff 100755 --- a/tutorials/heatTransfer/chtMultiRegionFoam/externalSolarLoad/Allrun +++ b/tutorials/heatTransfer/chtMultiRegionFoam/externalSolarLoad/Allrun @@ -23,7 +23,7 @@ do viewFactorsGen -region $i > log.viewFactorsGen.$i 2>&1 done -runApplication `getApplication` +runApplication $(getApplication) echo diff --git a/tutorials/heatTransfer/chtMultiRegionFoam/multiRegionHeater/Allrun b/tutorials/heatTransfer/chtMultiRegionFoam/multiRegionHeater/Allrun index 602f7159e24..c569b760290 100755 --- a/tutorials/heatTransfer/chtMultiRegionFoam/multiRegionHeater/Allrun +++ b/tutorials/heatTransfer/chtMultiRegionFoam/multiRegionHeater/Allrun @@ -23,13 +23,13 @@ done #-- Run on single processor -#runApplication `getApplication` +#runApplication $(getApplication) # Decompose runApplication decomposePar -allRegions # Run -runParallel `getApplication` +runParallel $(getApplication) # Reconstruct runApplication reconstructPar -allRegions diff --git a/tutorials/heatTransfer/chtMultiRegionFoam/snappyMultiRegionHeater/Allrun b/tutorials/heatTransfer/chtMultiRegionFoam/snappyMultiRegionHeater/Allrun index 6e65d852809..c21e4adafc5 100755 --- a/tutorials/heatTransfer/chtMultiRegionFoam/snappyMultiRegionHeater/Allrun +++ b/tutorials/heatTransfer/chtMultiRegionFoam/snappyMultiRegionHeater/Allrun @@ -27,14 +27,14 @@ done #-- Run on single processor -runApplication `getApplication` +runApplication $(getApplication) ## Decompose #runApplication decomposePar -allRegions # ## Run -#runParallel `getApplication` +#runParallel $(getApplication) # ## Reconstruct #runApplication reconstructPar -allRegions diff --git a/tutorials/heatTransfer/chtMultiRegionSimpleFoam/multiRegionHeaterRadiation/Allrun b/tutorials/heatTransfer/chtMultiRegionSimpleFoam/multiRegionHeaterRadiation/Allrun index 1b32e96d009..8224dffa9ce 100755 --- a/tutorials/heatTransfer/chtMultiRegionSimpleFoam/multiRegionHeaterRadiation/Allrun +++ b/tutorials/heatTransfer/chtMultiRegionSimpleFoam/multiRegionHeaterRadiation/Allrun @@ -26,7 +26,7 @@ do viewFactorsGen -region $i done -runApplication `getApplication` +runApplication $(getApplication) diff --git a/tutorials/heatTransfer/chtMultiRegionSimpleFoam/multiRegionHeaterRadiation/Allrun-parallel b/tutorials/heatTransfer/chtMultiRegionSimpleFoam/multiRegionHeaterRadiation/Allrun-parallel index f248b4fb32d..919b7d0b75e 100755 --- a/tutorials/heatTransfer/chtMultiRegionSimpleFoam/multiRegionHeaterRadiation/Allrun-parallel +++ b/tutorials/heatTransfer/chtMultiRegionSimpleFoam/multiRegionHeaterRadiation/Allrun-parallel @@ -30,7 +30,7 @@ do done # Run -runParallel `getApplication` +runParallel $(getApplication) # Reconstruct runApplication reconstructPar -allRegions diff --git a/tutorials/incompressible/SRFPimpleFoam/rotor2D/Allrun b/tutorials/incompressible/SRFPimpleFoam/rotor2D/Allrun index 85523c3f63f..021754896d8 100755 --- a/tutorials/incompressible/SRFPimpleFoam/rotor2D/Allrun +++ b/tutorials/incompressible/SRFPimpleFoam/rotor2D/Allrun @@ -4,7 +4,7 @@ cd ${0%/*} || exit 1 # Run from this directory # Source tutorial run functions . $WM_PROJECT_DIR/bin/tools/RunFunctions -application=`getApplication` +application=$(getApplication) ./makeMesh runApplication $application diff --git a/tutorials/incompressible/boundaryFoam/boundaryWallFunctionsProfile/Allrun b/tutorials/incompressible/boundaryFoam/boundaryWallFunctionsProfile/Allrun index 26d2834e812..b52a9468196 100755 --- a/tutorials/incompressible/boundaryFoam/boundaryWallFunctionsProfile/Allrun +++ b/tutorials/incompressible/boundaryFoam/boundaryWallFunctionsProfile/Allrun @@ -17,7 +17,7 @@ do sed "s/XXX/$e/g" constant/transportProperties.template \ > constant/transportProperties - runApplication -s $e `getApplication` + runApplication -s $e $(getApplication) # extract y+, U+ # note: both must be added to foamLog.db diff --git a/tutorials/incompressible/icoFoam/cavity/Allrun b/tutorials/incompressible/icoFoam/cavity/Allrun index 97f489d7f8a..fdeea0d08d2 100755 --- a/tutorials/incompressible/icoFoam/cavity/Allrun +++ b/tutorials/incompressible/icoFoam/cavity/Allrun @@ -83,7 +83,7 @@ do esac previousCase="$caseName" - ( cd $caseName && runApplication `getApplication` ) + ( cd $caseName && runApplication $(getApplication) ) done #------------------------------------------------------------------------------ diff --git a/tutorials/incompressible/icoFoam/elbow/Allrun b/tutorials/incompressible/icoFoam/elbow/Allrun index 60c5cad9436..6da96f6a744 100755 --- a/tutorials/incompressible/icoFoam/elbow/Allrun +++ b/tutorials/incompressible/icoFoam/elbow/Allrun @@ -5,7 +5,7 @@ cd ${0%/*} || exit 1 # Run from this directory . $WM_PROJECT_DIR/bin/tools/RunFunctions # Get application directory -application=`getApplication` +application=$(getApplication) runApplication fluentMeshToFoam elbow.msh runApplication "$application" diff --git a/tutorials/incompressible/pimpleDyMFoam/mixerVesselAMI2D/Allrun b/tutorials/incompressible/pimpleDyMFoam/mixerVesselAMI2D/Allrun index ebb40610158..c454c9b3f63 100755 --- a/tutorials/incompressible/pimpleDyMFoam/mixerVesselAMI2D/Allrun +++ b/tutorials/incompressible/pimpleDyMFoam/mixerVesselAMI2D/Allrun @@ -4,7 +4,7 @@ cd ${0%/*} || exit 1 # Run from this directory # Source tutorial run functions . $WM_PROJECT_DIR/bin/tools/RunFunctions -application=`getApplication` +application=$(getApplication) ./makeMesh diff --git a/tutorials/incompressible/pimpleDyMFoam/propeller/Allrun b/tutorials/incompressible/pimpleDyMFoam/propeller/Allrun index 1d24256eb00..3f7cab5d82e 100755 --- a/tutorials/incompressible/pimpleDyMFoam/propeller/Allrun +++ b/tutorials/incompressible/pimpleDyMFoam/propeller/Allrun @@ -8,6 +8,6 @@ cd ${0%/*} || exit 1 # Run from this directory runApplication decomposePar -runParallel `getApplication` +runParallel $(getApplication) runApplication reconstructPar diff --git a/tutorials/incompressible/pimpleFoam/TJunctionFan/Allrun b/tutorials/incompressible/pimpleFoam/TJunctionFan/Allrun index 2a4548eb724..827542cfc5a 100755 --- a/tutorials/incompressible/pimpleFoam/TJunctionFan/Allrun +++ b/tutorials/incompressible/pimpleFoam/TJunctionFan/Allrun @@ -4,7 +4,7 @@ . $WM_PROJECT_DIR/bin/tools/RunFunctions # Get application name -application=`getApplication` +application=$(getApplication) runApplication blockMesh diff --git a/tutorials/incompressible/pimpleFoam/channel395/Allrun b/tutorials/incompressible/pimpleFoam/channel395/Allrun index 989291cfddf..c34f2384400 100755 --- a/tutorials/incompressible/pimpleFoam/channel395/Allrun +++ b/tutorials/incompressible/pimpleFoam/channel395/Allrun @@ -5,7 +5,7 @@ cd ${0%/*} || exit 1 # Run from this directory . $WM_PROJECT_DIR/bin/tools/RunFunctions # Get application directory -application=`getApplication` +application=$(getApplication) runApplication blockMesh diff --git a/tutorials/incompressible/pimpleFoam/elipsekkLOmega/Allrun b/tutorials/incompressible/pimpleFoam/elipsekkLOmega/Allrun index c82525b2f17..05b7969601d 100755 --- a/tutorials/incompressible/pimpleFoam/elipsekkLOmega/Allrun +++ b/tutorials/incompressible/pimpleFoam/elipsekkLOmega/Allrun @@ -5,7 +5,7 @@ cd ${0%/*} || exit 1 # Run from this directory . $WM_PROJECT_DIR/bin/tools/RunFunctions # Get application directory -application=`getApplication` +application=$(getApplication) runApplication blockMesh runApplication transformPoints -scale '(1.6666 1 1)' diff --git a/tutorials/incompressible/pisoFoam/laminar/porousBlockage/Allrun b/tutorials/incompressible/pisoFoam/laminar/porousBlockage/Allrun index a651bf5d0e6..fe3da42bf4b 100755 --- a/tutorials/incompressible/pisoFoam/laminar/porousBlockage/Allrun +++ b/tutorials/incompressible/pisoFoam/laminar/porousBlockage/Allrun @@ -4,7 +4,7 @@ cd ${0%/*} || exit 1 # Run from this directory # Source tutorial run functions . $WM_PROJECT_DIR/bin/tools/RunFunctions -application=`getApplication` +application=$(getApplication) runApplication blockMesh diff --git a/tutorials/incompressible/porousSimpleFoam/angledDuctImplicit/Allrun b/tutorials/incompressible/porousSimpleFoam/angledDuctImplicit/Allrun index 6b3f5730251..45b119cf09c 100755 --- a/tutorials/incompressible/porousSimpleFoam/angledDuctImplicit/Allrun +++ b/tutorials/incompressible/porousSimpleFoam/angledDuctImplicit/Allrun @@ -7,5 +7,5 @@ m4 system/blockMeshDict.m4 > system/blockMeshDict . $WM_PROJECT_DIR/bin/tools/RunFunctions runApplication blockMesh -runApplication `getApplication` +runApplication $(getApplication) diff --git a/tutorials/incompressible/porousSimpleFoam/straightDuctImplicit/Allrun b/tutorials/incompressible/porousSimpleFoam/straightDuctImplicit/Allrun index f3df037202e..dbc0b12711c 100755 --- a/tutorials/incompressible/porousSimpleFoam/straightDuctImplicit/Allrun +++ b/tutorials/incompressible/porousSimpleFoam/straightDuctImplicit/Allrun @@ -6,6 +6,6 @@ cd ${0%/*} || exit 1 # Run from this directory ./Allrun.pre -runApplication `getApplication` +runApplication $(getApplication) #------------------------------------------------------------------------------ diff --git a/tutorials/incompressible/simpleFoam/airFoil2D/Allrun b/tutorials/incompressible/simpleFoam/airFoil2D/Allrun index 27181732475..89647850f52 100755 --- a/tutorials/incompressible/simpleFoam/airFoil2D/Allrun +++ b/tutorials/incompressible/simpleFoam/airFoil2D/Allrun @@ -4,7 +4,7 @@ cd ${0%/*} || exit 1 # Run from this directory # Source tutorial run functions . $WM_PROJECT_DIR/bin/tools/RunFunctions -application=`getApplication` +application=$(getApplication) runApplication $application diff --git a/tutorials/incompressible/simpleFoam/mixerVessel2D/Allrun b/tutorials/incompressible/simpleFoam/mixerVessel2D/Allrun index 85523c3f63f..021754896d8 100755 --- a/tutorials/incompressible/simpleFoam/mixerVessel2D/Allrun +++ b/tutorials/incompressible/simpleFoam/mixerVessel2D/Allrun @@ -4,7 +4,7 @@ cd ${0%/*} || exit 1 # Run from this directory # Source tutorial run functions . $WM_PROJECT_DIR/bin/tools/RunFunctions -application=`getApplication` +application=$(getApplication) ./makeMesh runApplication $application diff --git a/tutorials/incompressible/simpleFoam/pipeCyclic/Allrun b/tutorials/incompressible/simpleFoam/pipeCyclic/Allrun index 2276ebb55f8..17041f20bcc 100755 --- a/tutorials/incompressible/simpleFoam/pipeCyclic/Allrun +++ b/tutorials/incompressible/simpleFoam/pipeCyclic/Allrun @@ -5,7 +5,7 @@ cd ${0%/*} || exit 1 # Run from this directory . $WM_PROJECT_DIR/bin/tools/RunFunctions # Get application directory -application=`getApplication` +application=$(getApplication) runApplication blockMesh runApplication topoSet diff --git a/tutorials/incompressible/simpleFoam/turbineSiting/Allrun b/tutorials/incompressible/simpleFoam/turbineSiting/Allrun index 47f3b9caf34..1726168131f 100755 --- a/tutorials/incompressible/simpleFoam/turbineSiting/Allrun +++ b/tutorials/incompressible/simpleFoam/turbineSiting/Allrun @@ -21,7 +21,7 @@ find . -type f -iname "*level*" -exec rm {} \; \ls -d processor* | xargs -I {} \cp -r 0.org ./{}/0 runParallel topoSet -runParallel `getApplication` +runParallel $(getApplication) runApplication reconstructParMesh -constant runApplication reconstructPar diff --git a/tutorials/lagrangian/coalChemistryFoam/simplifiedSiwek/Allrun b/tutorials/lagrangian/coalChemistryFoam/simplifiedSiwek/Allrun index b11e5980cf9..1d01582b285 100755 --- a/tutorials/lagrangian/coalChemistryFoam/simplifiedSiwek/Allrun +++ b/tutorials/lagrangian/coalChemistryFoam/simplifiedSiwek/Allrun @@ -4,7 +4,7 @@ cd ${0%/*} || exit 1 # Run from this directory # Source tutorial run functions . $WM_PROJECT_DIR/bin/tools/RunFunctions -application=`getApplication` +application=$(getApplication) # create mesh runApplication blockMesh diff --git a/tutorials/lagrangian/reactingParcelFilmFoam/cylinder/Allrun b/tutorials/lagrangian/reactingParcelFilmFoam/cylinder/Allrun index 3e58a9551e9..ebb4bc401cb 100755 --- a/tutorials/lagrangian/reactingParcelFilmFoam/cylinder/Allrun +++ b/tutorials/lagrangian/reactingParcelFilmFoam/cylinder/Allrun @@ -5,6 +5,6 @@ cd ${0%/*} || exit 1 # Run from this directory ./Allrun.pre -application=`getApplication` +application=$(getApplication) runApplication $application diff --git a/tutorials/lagrangian/reactingParcelFilmFoam/hotBoxes/Allrun b/tutorials/lagrangian/reactingParcelFilmFoam/hotBoxes/Allrun index 61f03edcaf4..fa03916abab 100755 --- a/tutorials/lagrangian/reactingParcelFilmFoam/hotBoxes/Allrun +++ b/tutorials/lagrangian/reactingParcelFilmFoam/hotBoxes/Allrun @@ -6,6 +6,6 @@ cd ${0%/*} || exit 1 # Run from this directory ./Allrun.pre -application=`getApplication` +application=$(getApplication) runApplication $application diff --git a/tutorials/lagrangian/reactingParcelFilmFoam/hotBoxes/Allrun-parallel b/tutorials/lagrangian/reactingParcelFilmFoam/hotBoxes/Allrun-parallel index 29817ff80b6..7779179a354 100755 --- a/tutorials/lagrangian/reactingParcelFilmFoam/hotBoxes/Allrun-parallel +++ b/tutorials/lagrangian/reactingParcelFilmFoam/hotBoxes/Allrun-parallel @@ -6,7 +6,7 @@ cd ${0%/*} || exit 1 # Run from this directory ./Allrun.pre -application=`getApplication` +application=$(getApplication) runApplication -s wallFilmRegion decomposePar -region wallFilmRegion runApplication -s primaryRegion decomposePar diff --git a/tutorials/lagrangian/reactingParcelFilmFoam/rivuletPanel/Allrun b/tutorials/lagrangian/reactingParcelFilmFoam/rivuletPanel/Allrun index 3e58a9551e9..ebb4bc401cb 100755 --- a/tutorials/lagrangian/reactingParcelFilmFoam/rivuletPanel/Allrun +++ b/tutorials/lagrangian/reactingParcelFilmFoam/rivuletPanel/Allrun @@ -5,6 +5,6 @@ cd ${0%/*} || exit 1 # Run from this directory ./Allrun.pre -application=`getApplication` +application=$(getApplication) runApplication $application diff --git a/tutorials/lagrangian/reactingParcelFilmFoam/splashPanel/Allrun b/tutorials/lagrangian/reactingParcelFilmFoam/splashPanel/Allrun index 3e58a9551e9..ebb4bc401cb 100755 --- a/tutorials/lagrangian/reactingParcelFilmFoam/splashPanel/Allrun +++ b/tutorials/lagrangian/reactingParcelFilmFoam/splashPanel/Allrun @@ -5,6 +5,6 @@ cd ${0%/*} || exit 1 # Run from this directory ./Allrun.pre -application=`getApplication` +application=$(getApplication) runApplication $application diff --git a/tutorials/lagrangian/reactingParcelFoam/filter/Allrun b/tutorials/lagrangian/reactingParcelFoam/filter/Allrun index 5163ff42ca6..268fd14d4d4 100755 --- a/tutorials/lagrangian/reactingParcelFoam/filter/Allrun +++ b/tutorials/lagrangian/reactingParcelFoam/filter/Allrun @@ -4,7 +4,7 @@ cd ${0%/*} || exit 1 # Run from this directory # Source tutorial run functions . $WM_PROJECT_DIR/bin/tools/RunFunctions -application=`getApplication` +application=$(getApplication) # create mesh runApplication blockMesh diff --git a/tutorials/lagrangian/reactingParcelFoam/verticalChannel/Allrun b/tutorials/lagrangian/reactingParcelFoam/verticalChannel/Allrun index a2fca0a8079..58c87fca193 100755 --- a/tutorials/lagrangian/reactingParcelFoam/verticalChannel/Allrun +++ b/tutorials/lagrangian/reactingParcelFoam/verticalChannel/Allrun @@ -15,6 +15,6 @@ runApplication potentialFoam \rm -f 0/phi # run the solver -runApplication `getApplication` +runApplication $(getApplication) #------------------------------------------------------------------------------ diff --git a/tutorials/lagrangian/reactingParcelFoam/verticalChannelLTS/Allrun b/tutorials/lagrangian/reactingParcelFoam/verticalChannelLTS/Allrun index a2fca0a8079..58c87fca193 100755 --- a/tutorials/lagrangian/reactingParcelFoam/verticalChannelLTS/Allrun +++ b/tutorials/lagrangian/reactingParcelFoam/verticalChannelLTS/Allrun @@ -15,6 +15,6 @@ runApplication potentialFoam \rm -f 0/phi # run the solver -runApplication `getApplication` +runApplication $(getApplication) #------------------------------------------------------------------------------ diff --git a/tutorials/multiphase/MPPICInterFoam/twoPhasePachuka/Allrun b/tutorials/multiphase/MPPICInterFoam/twoPhasePachuka/Allrun index 30113dd8334..188dbba1cde 100755 --- a/tutorials/multiphase/MPPICInterFoam/twoPhasePachuka/Allrun +++ b/tutorials/multiphase/MPPICInterFoam/twoPhasePachuka/Allrun @@ -6,7 +6,7 @@ cd ${0%/*} || exit 1 # Run from this directory # Set application name -application=`getApplication` +application=$(getApplication) # create the underlying block mesh m4 system/pachuka.m4 > system/blockMeshDict @@ -28,7 +28,7 @@ runApplication setFields decomposePar > log.decomposePar 2>&1 # Run -runParallel `getApplication` +runParallel $(getApplication) # Reconstruct case runApplication reconstructPar diff --git a/tutorials/multiphase/cavitatingFoam/les/throttle/Allrun b/tutorials/multiphase/cavitatingFoam/les/throttle/Allrun index d0b7026c3a6..6ed1c6ba9b4 100755 --- a/tutorials/multiphase/cavitatingFoam/les/throttle/Allrun +++ b/tutorials/multiphase/cavitatingFoam/les/throttle/Allrun @@ -5,7 +5,7 @@ cd ${0%/*} || exit 1 # Run from this directory . $WM_PROJECT_DIR/bin/tools/RunFunctions # Set application name -application=`getApplication` +application=$(getApplication) refineMeshByCellSet() { diff --git a/tutorials/multiphase/cavitatingFoam/les/throttle3D/Allrun b/tutorials/multiphase/cavitatingFoam/les/throttle3D/Allrun index af67433fb29..e020b8a0fc2 100755 --- a/tutorials/multiphase/cavitatingFoam/les/throttle3D/Allrun +++ b/tutorials/multiphase/cavitatingFoam/les/throttle3D/Allrun @@ -5,7 +5,7 @@ cd ${0%/*} || exit 1 # Run from this directory . $WM_PROJECT_DIR/bin/tools/RunFunctions # Set application name -application=`getApplication` +application=$(getApplication) refineMeshByCellSet() { diff --git a/tutorials/multiphase/cavitatingFoam/ras/throttle/Allrun b/tutorials/multiphase/cavitatingFoam/ras/throttle/Allrun index 4f68fa57c2a..746320a279e 100755 --- a/tutorials/multiphase/cavitatingFoam/ras/throttle/Allrun +++ b/tutorials/multiphase/cavitatingFoam/ras/throttle/Allrun @@ -4,7 +4,7 @@ cd ${0%/*} || exit 1 # Run from this directory # Source tutorial run functions . $WM_PROJECT_DIR/bin/tools/RunFunctions -application=`getApplication` +application=$(getApplication) refineMeshByCellSet() { diff --git a/tutorials/multiphase/compressibleInterDyMFoam/ras/sloshingTank2D/Allrun b/tutorials/multiphase/compressibleInterDyMFoam/ras/sloshingTank2D/Allrun index 188d7f9d74b..41332c6843e 100755 --- a/tutorials/multiphase/compressibleInterDyMFoam/ras/sloshingTank2D/Allrun +++ b/tutorials/multiphase/compressibleInterDyMFoam/ras/sloshingTank2D/Allrun @@ -8,6 +8,6 @@ m4 system/blockMeshDict.m4 > system/blockMeshDict runApplication blockMesh \cp 0/alpha.water.org 0/alpha.water runApplication setFields -runApplication `getApplication` +runApplication $(getApplication) #------------------------------------------------------------------------------ diff --git a/tutorials/multiphase/compressibleMultiphaseInterFoam/laminar/damBreak4phase/Allrun b/tutorials/multiphase/compressibleMultiphaseInterFoam/laminar/damBreak4phase/Allrun index c1e4f90ab10..912c34cfdb7 100755 --- a/tutorials/multiphase/compressibleMultiphaseInterFoam/laminar/damBreak4phase/Allrun +++ b/tutorials/multiphase/compressibleMultiphaseInterFoam/laminar/damBreak4phase/Allrun @@ -5,7 +5,7 @@ cd ${0%/*} || exit 1 # Run from this directory . $WM_PROJECT_DIR/bin/tools/RunFunctions # Set application name -application=`getApplication` +application=$(getApplication) restore0Dir diff --git a/tutorials/multiphase/driftFluxFoam/ras/mixerVessel2D/Allrun b/tutorials/multiphase/driftFluxFoam/ras/mixerVessel2D/Allrun index 66c1631fd3b..f5e6c61a9e0 100755 --- a/tutorials/multiphase/driftFluxFoam/ras/mixerVessel2D/Allrun +++ b/tutorials/multiphase/driftFluxFoam/ras/mixerVessel2D/Allrun @@ -4,7 +4,7 @@ cd ${0%/*} || exit 1 # Run from this directory # Source tutorial run functions . $WM_PROJECT_DIR/bin/tools/RunFunctions -application=`getApplication` +application=$(getApplication) runApplication ./makeMesh runApplication $application diff --git a/tutorials/multiphase/driftFluxFoam/ras/tank3D/Allrun b/tutorials/multiphase/driftFluxFoam/ras/tank3D/Allrun index 27181732475..89647850f52 100755 --- a/tutorials/multiphase/driftFluxFoam/ras/tank3D/Allrun +++ b/tutorials/multiphase/driftFluxFoam/ras/tank3D/Allrun @@ -4,7 +4,7 @@ cd ${0%/*} || exit 1 # Run from this directory # Source tutorial run functions . $WM_PROJECT_DIR/bin/tools/RunFunctions -application=`getApplication` +application=$(getApplication) runApplication $application diff --git a/tutorials/multiphase/interCondensingEvaporatingFoam/condensatingVessel/Allrun b/tutorials/multiphase/interCondensingEvaporatingFoam/condensatingVessel/Allrun index 2d455d1fbce..ebc19b3d2a4 100755 --- a/tutorials/multiphase/interCondensingEvaporatingFoam/condensatingVessel/Allrun +++ b/tutorials/multiphase/interCondensingEvaporatingFoam/condensatingVessel/Allrun @@ -4,7 +4,7 @@ cd ${0%/*} || exit 1 # Run from this directory # Source tutorial run functions . $WM_PROJECT_DIR/bin/tools/RunFunctions -application=`getApplication` +application=$(getApplication) runApplication blockMesh runApplication $application diff --git a/tutorials/multiphase/interDyMFoam/laminar/sloshingTank2D/Allrun b/tutorials/multiphase/interDyMFoam/laminar/sloshingTank2D/Allrun index 188d7f9d74b..41332c6843e 100755 --- a/tutorials/multiphase/interDyMFoam/laminar/sloshingTank2D/Allrun +++ b/tutorials/multiphase/interDyMFoam/laminar/sloshingTank2D/Allrun @@ -8,6 +8,6 @@ m4 system/blockMeshDict.m4 > system/blockMeshDict runApplication blockMesh \cp 0/alpha.water.org 0/alpha.water runApplication setFields -runApplication `getApplication` +runApplication $(getApplication) #------------------------------------------------------------------------------ diff --git a/tutorials/multiphase/interDyMFoam/laminar/sloshingTank2D3DoF/Allrun b/tutorials/multiphase/interDyMFoam/laminar/sloshingTank2D3DoF/Allrun index 188d7f9d74b..41332c6843e 100755 --- a/tutorials/multiphase/interDyMFoam/laminar/sloshingTank2D3DoF/Allrun +++ b/tutorials/multiphase/interDyMFoam/laminar/sloshingTank2D3DoF/Allrun @@ -8,6 +8,6 @@ m4 system/blockMeshDict.m4 > system/blockMeshDict runApplication blockMesh \cp 0/alpha.water.org 0/alpha.water runApplication setFields -runApplication `getApplication` +runApplication $(getApplication) #------------------------------------------------------------------------------ diff --git a/tutorials/multiphase/interDyMFoam/laminar/sloshingTank3D/Allrun b/tutorials/multiphase/interDyMFoam/laminar/sloshingTank3D/Allrun index 188d7f9d74b..41332c6843e 100755 --- a/tutorials/multiphase/interDyMFoam/laminar/sloshingTank3D/Allrun +++ b/tutorials/multiphase/interDyMFoam/laminar/sloshingTank3D/Allrun @@ -8,6 +8,6 @@ m4 system/blockMeshDict.m4 > system/blockMeshDict runApplication blockMesh \cp 0/alpha.water.org 0/alpha.water runApplication setFields -runApplication `getApplication` +runApplication $(getApplication) #------------------------------------------------------------------------------ diff --git a/tutorials/multiphase/interDyMFoam/laminar/sloshingTank3D3DoF/Allrun b/tutorials/multiphase/interDyMFoam/laminar/sloshingTank3D3DoF/Allrun index 188d7f9d74b..41332c6843e 100755 --- a/tutorials/multiphase/interDyMFoam/laminar/sloshingTank3D3DoF/Allrun +++ b/tutorials/multiphase/interDyMFoam/laminar/sloshingTank3D3DoF/Allrun @@ -8,6 +8,6 @@ m4 system/blockMeshDict.m4 > system/blockMeshDict runApplication blockMesh \cp 0/alpha.water.org 0/alpha.water runApplication setFields -runApplication `getApplication` +runApplication $(getApplication) #------------------------------------------------------------------------------ diff --git a/tutorials/multiphase/interDyMFoam/laminar/sloshingTank3D6DoF/Allrun b/tutorials/multiphase/interDyMFoam/laminar/sloshingTank3D6DoF/Allrun index 188d7f9d74b..41332c6843e 100755 --- a/tutorials/multiphase/interDyMFoam/laminar/sloshingTank3D6DoF/Allrun +++ b/tutorials/multiphase/interDyMFoam/laminar/sloshingTank3D6DoF/Allrun @@ -8,6 +8,6 @@ m4 system/blockMeshDict.m4 > system/blockMeshDict runApplication blockMesh \cp 0/alpha.water.org 0/alpha.water runApplication setFields -runApplication `getApplication` +runApplication $(getApplication) #------------------------------------------------------------------------------ diff --git a/tutorials/multiphase/interDyMFoam/laminar/testTubeMixer/Allrun b/tutorials/multiphase/interDyMFoam/laminar/testTubeMixer/Allrun index 44e088cf918..fce37c05114 100755 --- a/tutorials/multiphase/interDyMFoam/laminar/testTubeMixer/Allrun +++ b/tutorials/multiphase/interDyMFoam/laminar/testTubeMixer/Allrun @@ -7,6 +7,6 @@ cd ${0%/*} || exit 1 # Run from this directory runApplication blockMesh \cp 0/alpha.water.org 0/alpha.water runApplication setFields -runApplication `getApplication` +runApplication $(getApplication) #------------------------------------------------------------------------------ diff --git a/tutorials/multiphase/interDyMFoam/ras/damBreakWithObstacle/Allrun b/tutorials/multiphase/interDyMFoam/ras/damBreakWithObstacle/Allrun index e181b72ab57..755d7612a41 100755 --- a/tutorials/multiphase/interDyMFoam/ras/damBreakWithObstacle/Allrun +++ b/tutorials/multiphase/interDyMFoam/ras/damBreakWithObstacle/Allrun @@ -10,6 +10,6 @@ runApplication blockMesh runApplication topoSet runApplication subsetMesh -overwrite c0 -patch walls runApplication setFields -runApplication `getApplication` +runApplication $(getApplication) #------------------------------------------------------------------------------ diff --git a/tutorials/multiphase/interDyMFoam/ras/floatingObject/Allrun b/tutorials/multiphase/interDyMFoam/ras/floatingObject/Allrun index 64732439fc7..87531914666 100755 --- a/tutorials/multiphase/interDyMFoam/ras/floatingObject/Allrun +++ b/tutorials/multiphase/interDyMFoam/ras/floatingObject/Allrun @@ -5,7 +5,7 @@ cd ${0%/*} || exit 1 # Run from this directory . $WM_PROJECT_DIR/bin/tools/RunFunctions # Set application name -application=`getApplication` +application=$(getApplication) runApplication blockMesh runApplication topoSet diff --git a/tutorials/multiphase/interDyMFoam/ras/mixerVesselAMI/Allrun b/tutorials/multiphase/interDyMFoam/ras/mixerVesselAMI/Allrun index da8fc430fec..f35012c3e07 100755 --- a/tutorials/multiphase/interDyMFoam/ras/mixerVesselAMI/Allrun +++ b/tutorials/multiphase/interDyMFoam/ras/mixerVesselAMI/Allrun @@ -4,7 +4,7 @@ cd ${0%/*} || exit 1 # Run from this directory # Source tutorial run functions . $WM_PROJECT_DIR/bin/tools/RunFunctions -application=`getApplication` +application=$(getApplication) ./Allrun.pre diff --git a/tutorials/multiphase/interDyMFoam/ras/mixerVesselAMI/Allrun.pre b/tutorials/multiphase/interDyMFoam/ras/mixerVesselAMI/Allrun.pre index 6cc353f74f5..1f8a3f5f9fb 100755 --- a/tutorials/multiphase/interDyMFoam/ras/mixerVesselAMI/Allrun.pre +++ b/tutorials/multiphase/interDyMFoam/ras/mixerVesselAMI/Allrun.pre @@ -5,7 +5,7 @@ cd ${0%/*} || exit 1 # Run from this directory . $WM_PROJECT_DIR/bin/tools/RunFunctions # Set application name -application=`getApplication` +application=$(getApplication) \rm -rf 0 diff --git a/tutorials/multiphase/interFoam/laminar/capillaryRise/Allrun b/tutorials/multiphase/interFoam/laminar/capillaryRise/Allrun index 069d98ad5d5..2bed23d97fa 100755 --- a/tutorials/multiphase/interFoam/laminar/capillaryRise/Allrun +++ b/tutorials/multiphase/interFoam/laminar/capillaryRise/Allrun @@ -4,7 +4,7 @@ cd ${0%/*} || exit 1 # Run from this directory # Source tutorial run functions . $WM_PROJECT_DIR/bin/tools/RunFunctions -application=`getApplication` +application=$(getApplication) runApplication blockMesh \cp 0/alpha.water.org 0/alpha.water diff --git a/tutorials/multiphase/interFoam/laminar/damBreak/Allrun b/tutorials/multiphase/interFoam/laminar/damBreak/Allrun index 7bacb7fc1fa..1e016f651a9 100755 --- a/tutorials/multiphase/interFoam/laminar/damBreak/Allrun +++ b/tutorials/multiphase/interFoam/laminar/damBreak/Allrun @@ -39,7 +39,7 @@ cloneCase damBreak damBreakFine runApplication blockMesh runApplication setFields runApplication decomposePar - runParallel `getApplication` + runParallel $(getApplication) runApplication reconstructPar ) diff --git a/tutorials/multiphase/interFoam/laminar/damBreak/damBreak/Allrun b/tutorials/multiphase/interFoam/laminar/damBreak/damBreak/Allrun index 0df95afd2e0..b18d70e448c 100755 --- a/tutorials/multiphase/interFoam/laminar/damBreak/damBreak/Allrun +++ b/tutorials/multiphase/interFoam/laminar/damBreak/damBreak/Allrun @@ -5,7 +5,7 @@ cd ${0%/*} || exit 1 # Run from this directory . $WM_PROJECT_DIR/bin/tools/RunFunctions # Get application name -application=`getApplication` +application=$(getApplication) runApplication blockMesh runApplication setFields diff --git a/tutorials/multiphase/interFoam/laminar/mixerVessel2D/Allrun b/tutorials/multiphase/interFoam/laminar/mixerVessel2D/Allrun index 0017d885162..6f9ee4e232c 100755 --- a/tutorials/multiphase/interFoam/laminar/mixerVessel2D/Allrun +++ b/tutorials/multiphase/interFoam/laminar/mixerVessel2D/Allrun @@ -4,7 +4,7 @@ cd ${0%/*} || exit 1 # Run from this directory # Source tutorial run functions . $WM_PROJECT_DIR/bin/tools/RunFunctions -application=`getApplication` +application=$(getApplication) runApplication ./makeMesh \cp 0/alpha.water.org 0/alpha.water diff --git a/tutorials/multiphase/interFoam/les/nozzleFlow2D/Allrun b/tutorials/multiphase/interFoam/les/nozzleFlow2D/Allrun index 5b0b162e78c..f56f378d9f0 100755 --- a/tutorials/multiphase/interFoam/les/nozzleFlow2D/Allrun +++ b/tutorials/multiphase/interFoam/les/nozzleFlow2D/Allrun @@ -5,7 +5,7 @@ cd ${0%/*} || exit 1 # Run from this directory . $WM_PROJECT_DIR/bin/tools/RunFunctions # Get application name -application=`getApplication` +application=$(getApplication) runApplication blockMesh diff --git a/tutorials/multiphase/interFoam/ras/angledDuct/Allrun b/tutorials/multiphase/interFoam/ras/angledDuct/Allrun index 8b610fff80d..4f55fd7efaf 100755 --- a/tutorials/multiphase/interFoam/ras/angledDuct/Allrun +++ b/tutorials/multiphase/interFoam/ras/angledDuct/Allrun @@ -7,4 +7,4 @@ m4 system/blockMeshDict.m4 > system/blockMeshDict . $WM_PROJECT_DIR/bin/tools/RunFunctions runApplication blockMesh -runApplication `getApplication` +runApplication $(getApplication) diff --git a/tutorials/multiphase/interFoam/ras/damBreak/Allrun b/tutorials/multiphase/interFoam/ras/damBreak/Allrun index 7bacb7fc1fa..1e016f651a9 100755 --- a/tutorials/multiphase/interFoam/ras/damBreak/Allrun +++ b/tutorials/multiphase/interFoam/ras/damBreak/Allrun @@ -39,7 +39,7 @@ cloneCase damBreak damBreakFine runApplication blockMesh runApplication setFields runApplication decomposePar - runParallel `getApplication` + runParallel $(getApplication) runApplication reconstructPar ) diff --git a/tutorials/multiphase/interFoam/ras/damBreak/damBreak/Allrun b/tutorials/multiphase/interFoam/ras/damBreak/damBreak/Allrun index 0df95afd2e0..b18d70e448c 100755 --- a/tutorials/multiphase/interFoam/ras/damBreak/damBreak/Allrun +++ b/tutorials/multiphase/interFoam/ras/damBreak/damBreak/Allrun @@ -5,7 +5,7 @@ cd ${0%/*} || exit 1 # Run from this directory . $WM_PROJECT_DIR/bin/tools/RunFunctions # Get application name -application=`getApplication` +application=$(getApplication) runApplication blockMesh runApplication setFields diff --git a/tutorials/multiphase/interFoam/ras/damBreakPorousBaffle/Allrun b/tutorials/multiphase/interFoam/ras/damBreakPorousBaffle/Allrun index a3c43a6c317..cdc9763e1b2 100755 --- a/tutorials/multiphase/interFoam/ras/damBreakPorousBaffle/Allrun +++ b/tutorials/multiphase/interFoam/ras/damBreakPorousBaffle/Allrun @@ -5,7 +5,7 @@ cd ${0%/*} || exit 1 # Run from this directory . $WM_PROJECT_DIR/bin/tools/RunFunctions # Get application name -application=`getApplication` +application=$(getApplication) runApplication blockMesh runApplication setFields diff --git a/tutorials/multiphase/interFoam/ras/waterChannel/Allmesh b/tutorials/multiphase/interFoam/ras/waterChannel/Allmesh index 2fcc7a8f5f9..c941916ef13 100755 --- a/tutorials/multiphase/interFoam/ras/waterChannel/Allmesh +++ b/tutorials/multiphase/interFoam/ras/waterChannel/Allmesh @@ -4,7 +4,7 @@ cd ${0%/*} || exit 1 # run from this directory # Source tutorial run functions . $WM_PROJECT_DIR/bin/tools/RunFunctions -application=`getApplication` +application=$(getApplication) runApplication blockMesh diff --git a/tutorials/multiphase/interFoam/ras/waterChannel/Allrun b/tutorials/multiphase/interFoam/ras/waterChannel/Allrun index eccd6c92520..a5b348b0691 100755 --- a/tutorials/multiphase/interFoam/ras/waterChannel/Allrun +++ b/tutorials/multiphase/interFoam/ras/waterChannel/Allrun @@ -4,7 +4,7 @@ cd ${0%/*} || exit 1 # Run from this directory # Source tutorial run functions . $WM_PROJECT_DIR/bin/tools/RunFunctions -application=`getApplication` +application=$(getApplication) ./Allmesh diff --git a/tutorials/multiphase/interFoam/ras/weirOverflow/Allrun b/tutorials/multiphase/interFoam/ras/weirOverflow/Allrun index 1143e7ca735..04c76caa4ab 100755 --- a/tutorials/multiphase/interFoam/ras/weirOverflow/Allrun +++ b/tutorials/multiphase/interFoam/ras/weirOverflow/Allrun @@ -11,4 +11,4 @@ runApplication blockMesh runApplication setFields -runApplication `getApplication` +runApplication $(getApplication) diff --git a/tutorials/multiphase/interMixingFoam/laminar/damBreak/Allrun b/tutorials/multiphase/interMixingFoam/laminar/damBreak/Allrun index 9ce30331322..71f00053f9e 100755 --- a/tutorials/multiphase/interMixingFoam/laminar/damBreak/Allrun +++ b/tutorials/multiphase/interMixingFoam/laminar/damBreak/Allrun @@ -9,6 +9,6 @@ cp 0/alpha.air.org 0/alpha.air cp 0/alpha.other.org 0/alpha.other cp 0/alpha.water.org 0/alpha.water runApplication setFields -runApplication `getApplication` +runApplication $(getApplication) #------------------------------------------------------------------------------ diff --git a/tutorials/multiphase/interPhaseChangeDyMFoam/propeller/Allrun b/tutorials/multiphase/interPhaseChangeDyMFoam/propeller/Allrun index 1d24256eb00..3f7cab5d82e 100755 --- a/tutorials/multiphase/interPhaseChangeDyMFoam/propeller/Allrun +++ b/tutorials/multiphase/interPhaseChangeDyMFoam/propeller/Allrun @@ -8,6 +8,6 @@ cd ${0%/*} || exit 1 # Run from this directory runApplication decomposePar -runParallel `getApplication` +runParallel $(getApplication) runApplication reconstructPar diff --git a/tutorials/multiphase/interPhaseChangeFoam/cavitatingBullet/Allrun b/tutorials/multiphase/interPhaseChangeFoam/cavitatingBullet/Allrun index a47054a55e3..4f35a71a264 100755 --- a/tutorials/multiphase/interPhaseChangeFoam/cavitatingBullet/Allrun +++ b/tutorials/multiphase/interPhaseChangeFoam/cavitatingBullet/Allrun @@ -19,6 +19,6 @@ restore0Dir runApplication potentialFoam -pName p_rgh # Run the solver -runApplication `getApplication` +runApplication $(getApplication) #------------------------------------------------------------------------------ diff --git a/tutorials/multiphase/multiphaseEulerFoam/damBreak4phase/Allrun b/tutorials/multiphase/multiphaseEulerFoam/damBreak4phase/Allrun index c1e4f90ab10..912c34cfdb7 100755 --- a/tutorials/multiphase/multiphaseEulerFoam/damBreak4phase/Allrun +++ b/tutorials/multiphase/multiphaseEulerFoam/damBreak4phase/Allrun @@ -5,7 +5,7 @@ cd ${0%/*} || exit 1 # Run from this directory . $WM_PROJECT_DIR/bin/tools/RunFunctions # Set application name -application=`getApplication` +application=$(getApplication) restore0Dir diff --git a/tutorials/multiphase/multiphaseEulerFoam/damBreak4phaseFine/Allrun b/tutorials/multiphase/multiphaseEulerFoam/damBreak4phaseFine/Allrun index 6557a49b3a6..a0ed70da03a 100755 --- a/tutorials/multiphase/multiphaseEulerFoam/damBreak4phaseFine/Allrun +++ b/tutorials/multiphase/multiphaseEulerFoam/damBreak4phaseFine/Allrun @@ -5,7 +5,7 @@ cd ${0%/*} || exit 1 # Run from this directory . $WM_PROJECT_DIR/bin/tools/RunFunctions # Set application name -application=`getApplication` +application=$(getApplication) restore0Dir diff --git a/tutorials/multiphase/multiphaseEulerFoam/mixerVessel2D/Allrun b/tutorials/multiphase/multiphaseEulerFoam/mixerVessel2D/Allrun index 66c1631fd3b..f5e6c61a9e0 100755 --- a/tutorials/multiphase/multiphaseEulerFoam/mixerVessel2D/Allrun +++ b/tutorials/multiphase/multiphaseEulerFoam/mixerVessel2D/Allrun @@ -4,7 +4,7 @@ cd ${0%/*} || exit 1 # Run from this directory # Source tutorial run functions . $WM_PROJECT_DIR/bin/tools/RunFunctions -application=`getApplication` +application=$(getApplication) runApplication ./makeMesh runApplication $application diff --git a/tutorials/multiphase/multiphaseInterDyMFoam/laminar/mixerVesselAMI2D/Allrun b/tutorials/multiphase/multiphaseInterDyMFoam/laminar/mixerVesselAMI2D/Allrun index e83b55a0354..f8ec2f0689d 100755 --- a/tutorials/multiphase/multiphaseInterDyMFoam/laminar/mixerVesselAMI2D/Allrun +++ b/tutorials/multiphase/multiphaseInterDyMFoam/laminar/mixerVesselAMI2D/Allrun @@ -4,7 +4,7 @@ cd ${0%/*} || exit 1 # Run from this directory # Source tutorial run functions . $WM_PROJECT_DIR/bin/tools/RunFunctions -application=`getApplication` +application=$(getApplication) ./makeMesh diff --git a/tutorials/multiphase/multiphaseInterFoam/laminar/damBreak4phase/Allrun b/tutorials/multiphase/multiphaseInterFoam/laminar/damBreak4phase/Allrun index c1e4f90ab10..912c34cfdb7 100755 --- a/tutorials/multiphase/multiphaseInterFoam/laminar/damBreak4phase/Allrun +++ b/tutorials/multiphase/multiphaseInterFoam/laminar/damBreak4phase/Allrun @@ -5,7 +5,7 @@ cd ${0%/*} || exit 1 # Run from this directory . $WM_PROJECT_DIR/bin/tools/RunFunctions # Set application name -application=`getApplication` +application=$(getApplication) restore0Dir diff --git a/tutorials/multiphase/multiphaseInterFoam/laminar/damBreak4phaseFine/Allrun b/tutorials/multiphase/multiphaseInterFoam/laminar/damBreak4phaseFine/Allrun index 6557a49b3a6..a0ed70da03a 100755 --- a/tutorials/multiphase/multiphaseInterFoam/laminar/damBreak4phaseFine/Allrun +++ b/tutorials/multiphase/multiphaseInterFoam/laminar/damBreak4phaseFine/Allrun @@ -5,7 +5,7 @@ cd ${0%/*} || exit 1 # Run from this directory . $WM_PROJECT_DIR/bin/tools/RunFunctions # Set application name -application=`getApplication` +application=$(getApplication) restore0Dir diff --git a/tutorials/multiphase/multiphaseInterFoam/laminar/mixerVessel2D/Allrun b/tutorials/multiphase/multiphaseInterFoam/laminar/mixerVessel2D/Allrun index 66c1631fd3b..f5e6c61a9e0 100755 --- a/tutorials/multiphase/multiphaseInterFoam/laminar/mixerVessel2D/Allrun +++ b/tutorials/multiphase/multiphaseInterFoam/laminar/mixerVessel2D/Allrun @@ -4,7 +4,7 @@ cd ${0%/*} || exit 1 # Run from this directory # Source tutorial run functions . $WM_PROJECT_DIR/bin/tools/RunFunctions -application=`getApplication` +application=$(getApplication) runApplication ./makeMesh runApplication $application diff --git a/tutorials/multiphase/potentialFreeSurfaceDyMFoam/oscillatingBox/Allrun b/tutorials/multiphase/potentialFreeSurfaceDyMFoam/oscillatingBox/Allrun index 558156dcd8c..c2b53fdc45a 100755 --- a/tutorials/multiphase/potentialFreeSurfaceDyMFoam/oscillatingBox/Allrun +++ b/tutorials/multiphase/potentialFreeSurfaceDyMFoam/oscillatingBox/Allrun @@ -5,7 +5,7 @@ cd ${0%/*} || exit 1 # Run from this directory . $WM_PROJECT_DIR/bin/tools/RunFunctions # Set application name -application=`getApplication` +application=$(getApplication) runApplication blockMesh diff --git a/tutorials/multiphase/potentialFreeSurfaceFoam/oscillatingBox/Allrun b/tutorials/multiphase/potentialFreeSurfaceFoam/oscillatingBox/Allrun index eb74ad45a9f..7f340efedbb 100755 --- a/tutorials/multiphase/potentialFreeSurfaceFoam/oscillatingBox/Allrun +++ b/tutorials/multiphase/potentialFreeSurfaceFoam/oscillatingBox/Allrun @@ -5,7 +5,7 @@ cd ${0%/*} || exit 1 # Run from this directory . $WM_PROJECT_DIR/bin/tools/RunFunctions # Set application name -application=`getApplication` +application=$(getApplication) runApplication blockMesh runApplication topoSet diff --git a/tutorials/multiphase/reactingMultiphaseEulerFoam/laminar/mixerVessel2D/Allrun b/tutorials/multiphase/reactingMultiphaseEulerFoam/laminar/mixerVessel2D/Allrun index 66c1631fd3b..f5e6c61a9e0 100755 --- a/tutorials/multiphase/reactingMultiphaseEulerFoam/laminar/mixerVessel2D/Allrun +++ b/tutorials/multiphase/reactingMultiphaseEulerFoam/laminar/mixerVessel2D/Allrun @@ -4,7 +4,7 @@ cd ${0%/*} || exit 1 # Run from this directory # Source tutorial run functions . $WM_PROJECT_DIR/bin/tools/RunFunctions -application=`getApplication` +application=$(getApplication) runApplication ./makeMesh runApplication $application diff --git a/tutorials/multiphase/reactingTwoPhaseEulerFoam/laminar/mixerVessel2D/Allrun b/tutorials/multiphase/reactingTwoPhaseEulerFoam/laminar/mixerVessel2D/Allrun index 66c1631fd3b..f5e6c61a9e0 100755 --- a/tutorials/multiphase/reactingTwoPhaseEulerFoam/laminar/mixerVessel2D/Allrun +++ b/tutorials/multiphase/reactingTwoPhaseEulerFoam/laminar/mixerVessel2D/Allrun @@ -4,7 +4,7 @@ cd ${0%/*} || exit 1 # Run from this directory # Source tutorial run functions . $WM_PROJECT_DIR/bin/tools/RunFunctions -application=`getApplication` +application=$(getApplication) runApplication ./makeMesh runApplication $application diff --git a/tutorials/multiphase/twoLiquidMixingFoam/lockExchange/Allrun b/tutorials/multiphase/twoLiquidMixingFoam/lockExchange/Allrun index c1e4f90ab10..912c34cfdb7 100755 --- a/tutorials/multiphase/twoLiquidMixingFoam/lockExchange/Allrun +++ b/tutorials/multiphase/twoLiquidMixingFoam/lockExchange/Allrun @@ -5,7 +5,7 @@ cd ${0%/*} || exit 1 # Run from this directory . $WM_PROJECT_DIR/bin/tools/RunFunctions # Set application name -application=`getApplication` +application=$(getApplication) restore0Dir diff --git a/tutorials/multiphase/twoPhaseEulerFoam/laminar/mixerVessel2D/Allrun b/tutorials/multiphase/twoPhaseEulerFoam/laminar/mixerVessel2D/Allrun index 66c1631fd3b..f5e6c61a9e0 100755 --- a/tutorials/multiphase/twoPhaseEulerFoam/laminar/mixerVessel2D/Allrun +++ b/tutorials/multiphase/twoPhaseEulerFoam/laminar/mixerVessel2D/Allrun @@ -4,7 +4,7 @@ cd ${0%/*} || exit 1 # Run from this directory # Source tutorial run functions . $WM_PROJECT_DIR/bin/tools/RunFunctions -application=`getApplication` +application=$(getApplication) runApplication ./makeMesh runApplication $application -- GitLab