From eaa2a9f1b58df2b0c807f98f646e835b9444e001 Mon Sep 17 00:00:00 2001 From: mattijs Date: Thu, 28 Apr 2011 17:47:11 +0100 Subject: [PATCH] COMP: tutorial scripts: add #!/bin/sh, chmod +x etc. --- bin/foamJob | 2 -- bin/foamPackBinAll | 1 + .../flamePropagationWithObstacles/constant/PDRProperties | 0 .../flamePropagationWithObstacles/constant/RASProperties | 0 .../combustion/PDRFoam/flamePropagationWithObstacles/constant/g | 0 .../flamePropagationWithObstacles/constant/turbulenceProperties | 0 .../PDRFoam/flamePropagationWithObstacles/system/fvSchemes | 0 .../PDRFoam/flamePropagationWithObstacles/system/fvSolution | 0 .../reactingFoam/ras/counterFlowFlame2D/system/fvSolution | 0 tutorials/compressible/rhoPimpleFoam/ras/angledDuct/Allrun | 1 + .../compressible/rhoPorousMRFLTSPimpleFoam/angledDuct/Allrun | 1 + .../incompressible/porousSimpleFoam/angledDuctImplicit/Allrun | 1 + .../LTSReactingParcelFoam/counterFlowFlame2D/system/fvSolution | 0 13 files changed, 4 insertions(+), 2 deletions(-) mode change 100755 => 100644 tutorials/combustion/PDRFoam/flamePropagationWithObstacles/constant/PDRProperties mode change 100755 => 100644 tutorials/combustion/PDRFoam/flamePropagationWithObstacles/constant/RASProperties mode change 100755 => 100644 tutorials/combustion/PDRFoam/flamePropagationWithObstacles/constant/g mode change 100755 => 100644 tutorials/combustion/PDRFoam/flamePropagationWithObstacles/constant/turbulenceProperties mode change 100755 => 100644 tutorials/combustion/PDRFoam/flamePropagationWithObstacles/system/fvSchemes mode change 100755 => 100644 tutorials/combustion/PDRFoam/flamePropagationWithObstacles/system/fvSolution mode change 100755 => 100644 tutorials/combustion/reactingFoam/ras/counterFlowFlame2D/system/fvSolution mode change 100755 => 100644 tutorials/lagrangian/LTSReactingParcelFoam/counterFlowFlame2D/system/fvSolution diff --git a/bin/foamJob b/bin/foamJob index 06d56b9f06..4380b3e147 100755 --- a/bin/foamJob +++ b/bin/foamJob @@ -237,8 +237,6 @@ else echo "Executing: $APPLICATION $@ > log 2>&1 &" $APPLICATION $@ > log 2>&1 & fi -else - fi #------------------------------------------------------------------------------ diff --git a/bin/foamPackBinAll b/bin/foamPackBinAll index 18f67129ed..408ea2248b 100755 --- a/bin/foamPackBinAll +++ b/bin/foamPackBinAll @@ -67,6 +67,7 @@ then done elif [ -d $packDir/platforms ] +then # obtain archOptions types from platforms//lib for archOptions in $packDir/platforms/*/lib diff --git a/tutorials/combustion/PDRFoam/flamePropagationWithObstacles/constant/PDRProperties b/tutorials/combustion/PDRFoam/flamePropagationWithObstacles/constant/PDRProperties old mode 100755 new mode 100644 diff --git a/tutorials/combustion/PDRFoam/flamePropagationWithObstacles/constant/RASProperties b/tutorials/combustion/PDRFoam/flamePropagationWithObstacles/constant/RASProperties old mode 100755 new mode 100644 diff --git a/tutorials/combustion/PDRFoam/flamePropagationWithObstacles/constant/g b/tutorials/combustion/PDRFoam/flamePropagationWithObstacles/constant/g old mode 100755 new mode 100644 diff --git a/tutorials/combustion/PDRFoam/flamePropagationWithObstacles/constant/turbulenceProperties b/tutorials/combustion/PDRFoam/flamePropagationWithObstacles/constant/turbulenceProperties old mode 100755 new mode 100644 diff --git a/tutorials/combustion/PDRFoam/flamePropagationWithObstacles/system/fvSchemes b/tutorials/combustion/PDRFoam/flamePropagationWithObstacles/system/fvSchemes old mode 100755 new mode 100644 diff --git a/tutorials/combustion/PDRFoam/flamePropagationWithObstacles/system/fvSolution b/tutorials/combustion/PDRFoam/flamePropagationWithObstacles/system/fvSolution old mode 100755 new mode 100644 diff --git a/tutorials/combustion/reactingFoam/ras/counterFlowFlame2D/system/fvSolution b/tutorials/combustion/reactingFoam/ras/counterFlowFlame2D/system/fvSolution old mode 100755 new mode 100644 diff --git a/tutorials/compressible/rhoPimpleFoam/ras/angledDuct/Allrun b/tutorials/compressible/rhoPimpleFoam/ras/angledDuct/Allrun index d72de07446..c9fa982557 100755 --- a/tutorials/compressible/rhoPimpleFoam/ras/angledDuct/Allrun +++ b/tutorials/compressible/rhoPimpleFoam/ras/angledDuct/Allrun @@ -1,3 +1,4 @@ +#!/bin/sh cd ${0%/*} || exit 1 # run from this directory m4 constant/polyMesh/blockMeshDict.m4 > constant/polyMesh/blockMeshDict diff --git a/tutorials/compressible/rhoPorousMRFLTSPimpleFoam/angledDuct/Allrun b/tutorials/compressible/rhoPorousMRFLTSPimpleFoam/angledDuct/Allrun index d72de07446..c9fa982557 100755 --- a/tutorials/compressible/rhoPorousMRFLTSPimpleFoam/angledDuct/Allrun +++ b/tutorials/compressible/rhoPorousMRFLTSPimpleFoam/angledDuct/Allrun @@ -1,3 +1,4 @@ +#!/bin/sh cd ${0%/*} || exit 1 # run from this directory m4 constant/polyMesh/blockMeshDict.m4 > constant/polyMesh/blockMeshDict diff --git a/tutorials/incompressible/porousSimpleFoam/angledDuctImplicit/Allrun b/tutorials/incompressible/porousSimpleFoam/angledDuctImplicit/Allrun index 624c62312e..dd7c12e280 100755 --- a/tutorials/incompressible/porousSimpleFoam/angledDuctImplicit/Allrun +++ b/tutorials/incompressible/porousSimpleFoam/angledDuctImplicit/Allrun @@ -1,3 +1,4 @@ +#!/bin/sh cd ${0%/*} || exit 1 # run from this directory m4 constant/polyMesh/blockMeshDict.m4 > constant/polyMesh/blockMeshDict diff --git a/tutorials/lagrangian/LTSReactingParcelFoam/counterFlowFlame2D/system/fvSolution b/tutorials/lagrangian/LTSReactingParcelFoam/counterFlowFlame2D/system/fvSolution old mode 100755 new mode 100644