diff --git a/bin/tools/RunFunctions b/bin/tools/RunFunctions index 62ce3e27ef..e2c335b05b 100644 --- a/bin/tools/RunFunctions +++ b/bin/tools/RunFunctions @@ -37,12 +37,13 @@ getApplication () runApplication () { APP_RUN=$1; shift + APP_NAME=${APP_RUN##*/} - if [ -f log.$APP_RUN ] ; then - echo "$APP_RUN already run on $PWD: remove log file to run" + if [ -f log.$APP_NAME ] ; then + echo "$APP_NAME already run on $PWD: remove log file to run" else echo "Running $APP_RUN on $PWD" - $APP_RUN $* > log.$APP_RUN 2>&1 + $APP_RUN $* > log.$APP_NAME 2>&1 fi } diff --git a/tutorials/combustion/XiFoam/les/pitzDaily/constant/g b/tutorials/combustion/XiFoam/les/pitzDaily/constant/g index 2b77c937a2..7b4411955d 100644 --- a/tutorials/combustion/XiFoam/les/pitzDaily/constant/g +++ b/tutorials/combustion/XiFoam/les/pitzDaily/constant/g @@ -16,7 +16,6 @@ FoamFile // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [0 1 -2 0 0 0 0]; -value ( 0 -9.81 0 ); - +value (0 0 0); // ************************************************************************* // diff --git a/tutorials/combustion/XiFoam/les/pitzDaily3D/constant/g b/tutorials/combustion/XiFoam/les/pitzDaily3D/constant/g index 057403310a..d182180d95 100644 --- a/tutorials/combustion/XiFoam/les/pitzDaily3D/constant/g +++ b/tutorials/combustion/XiFoam/les/pitzDaily3D/constant/g @@ -16,7 +16,6 @@ FoamFile // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [0 1 -2 0 0 0 0]; -value ( 0 0 0 ); - +value (0 0 0); // ************************************************************************* // diff --git a/tutorials/combustion/dieselFoam/aachenBomb/0/p b/tutorials/combustion/dieselFoam/aachenBomb/0/p index bc33200d5e..b5ab5ef15b 100644 --- a/tutorials/combustion/dieselFoam/aachenBomb/0/p +++ b/tutorials/combustion/dieselFoam/aachenBomb/0/p @@ -22,19 +22,19 @@ boundaryField { walls { - type zeroGradient; + type buoyantPressure; + value uniform 5e+06; } - + front { - type wedge; + type wedge; } back { - type wedge; + type wedge; } - } // ************************************************************************* // diff --git a/tutorials/combustion/engineFoam/kivaTest/-180/epsilon b/tutorials/combustion/engineFoam/kivaTest/-180/epsilon index a686c35955..f52dbcdfbf 100644 --- a/tutorials/combustion/engineFoam/kivaTest/-180/epsilon +++ b/tutorials/combustion/engineFoam/kivaTest/-180/epsilon @@ -23,17 +23,17 @@ boundaryField { piston { - type epsilonWallFunction; + type compressible::epsilonWallFunction; value uniform 450; } liner { - type epsilonWallFunction; + type compressible::epsilonWallFunction; value uniform 450; } cylinderHead { - type epsilonWallFunction; + type compressible::epsilonWallFunction; value uniform 450; } } diff --git a/tutorials/combustion/engineFoam/kivaTest/-180/k b/tutorials/combustion/engineFoam/kivaTest/-180/k index e643a368e6..b97d4da7fd 100644 --- a/tutorials/combustion/engineFoam/kivaTest/-180/k +++ b/tutorials/combustion/engineFoam/kivaTest/-180/k @@ -23,17 +23,17 @@ boundaryField { piston { - type kQRWallFunction; + type compressible::kQRWallFunction; value uniform 4; } liner { - type kQRWallFunction; + type compressible::kQRWallFunction; value uniform 4; } cylinderHead { - type kQRWallFunction; + type compressible::kQRWallFunction; value uniform 4; } } diff --git a/tutorials/mesh/snappyHexMesh/multiRegionMesh/constant/topAir/g b/tutorials/mesh/snappyHexMesh/multiRegionMesh/constant/topAir/g deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/tutorials/mesh/snappyHexMesh/multiRegionMesh/constant/topAir/g b/tutorials/mesh/snappyHexMesh/multiRegionMesh/constant/topAir/g new file mode 120000 index 0000000000..fe0384ff08 --- /dev/null +++ b/tutorials/mesh/snappyHexMesh/multiRegionMesh/constant/topAir/g @@ -0,0 +1 @@ +../bottomAir/g \ No newline at end of file diff --git a/tutorials/multiphase/bubbleFoam/bubbleColumn/0.org/p b/tutorials/multiphase/bubbleFoam/bubbleColumn/0.org/p index ced7047d43..841cfca2e6 100644 --- a/tutorials/multiphase/bubbleFoam/bubbleColumn/0.org/p +++ b/tutorials/multiphase/bubbleFoam/bubbleColumn/0.org/p @@ -20,23 +20,24 @@ internalField uniform 0; boundaryField { - inlet + inlet { type zeroGradient; } - outlet + outlet { type fixedValue; value uniform 0; } - walls + walls { - type zeroGradient; + type buoyantPressure; + value uniform 0; } - defaultFaces + defaultFaces { type empty; } diff --git a/tutorials/multiphase/bubbleFoam/bubbleColumn/0/p b/tutorials/multiphase/bubbleFoam/bubbleColumn/0/p index 339131c645..e247f867f5 100644 --- a/tutorials/multiphase/bubbleFoam/bubbleColumn/0/p +++ b/tutorials/multiphase/bubbleFoam/bubbleColumn/0/p @@ -16,7 +16,7 @@ FoamFile dimensions [1 -1 -2 0 0 0 0]; -internalField nonuniform List +internalField nonuniform List 1875 ( 6296.13 @@ -1899,23 +1899,24 @@ internalField nonuniform List boundaryField { - inlet + inlet { type zeroGradient; } - outlet + outlet { type fixedValue; value uniform 0; } - walls + walls { - type zeroGradient; + type buoyantPressure; + value uniform 0; } - defaultFaces + defaultFaces { type empty; } diff --git a/tutorials/multiphase/interFoam/MRFInterFoam/mixerVessel2D/Allrun b/tutorials/multiphase/interFoam/MRFInterFoam/mixerVessel2D/Allrun index 836276fe9c..99a20900eb 100755 --- a/tutorials/multiphase/interFoam/MRFInterFoam/mixerVessel2D/Allrun +++ b/tutorials/multiphase/interFoam/MRFInterFoam/mixerVessel2D/Allrun @@ -5,5 +5,5 @@ application=`getApplication` -./makeMesh +runApplication ./makeMesh runApplication $application diff --git a/tutorials/multiphase/interFoam/laminar/damBreak/0/p b/tutorials/multiphase/interFoam/laminar/damBreak/0/p index 15ab9897a8..f8cc9e9f25 100644 --- a/tutorials/multiphase/interFoam/laminar/damBreak/0/p +++ b/tutorials/multiphase/interFoam/laminar/damBreak/0/p @@ -22,17 +22,20 @@ boundaryField { leftWall { - type zeroGradient; + type buoyantPressure; + value uniform 0; } rightWall { - type zeroGradient; + type buoyantPressure; + value uniform 0; } lowerWall { - type zeroGradient; + type buoyantPressure; + value uniform 0; } atmosphere diff --git a/tutorials/multiphase/interFoam/ras/damBreak/0/p b/tutorials/multiphase/interFoam/ras/damBreak/0/p index 15ab9897a8..f8cc9e9f25 100644 --- a/tutorials/multiphase/interFoam/ras/damBreak/0/p +++ b/tutorials/multiphase/interFoam/ras/damBreak/0/p @@ -22,17 +22,20 @@ boundaryField { leftWall { - type zeroGradient; + type buoyantPressure; + value uniform 0; } rightWall { - type zeroGradient; + type buoyantPressure; + value uniform 0; } lowerWall { - type zeroGradient; + type buoyantPressure; + value uniform 0; } atmosphere diff --git a/tutorials/multiphase/multiphaseInterFoam/laminar/damBreak4phase/0/p b/tutorials/multiphase/multiphaseInterFoam/laminar/damBreak4phase/0/p index 15ab9897a8..f8cc9e9f25 100644 --- a/tutorials/multiphase/multiphaseInterFoam/laminar/damBreak4phase/0/p +++ b/tutorials/multiphase/multiphaseInterFoam/laminar/damBreak4phase/0/p @@ -22,17 +22,20 @@ boundaryField { leftWall { - type zeroGradient; + type buoyantPressure; + value uniform 0; } rightWall { - type zeroGradient; + type buoyantPressure; + value uniform 0; } lowerWall { - type zeroGradient; + type buoyantPressure; + value uniform 0; } atmosphere diff --git a/tutorials/multiphase/multiphaseInterFoam/laminar/damBreak4phaseFine/0/p b/tutorials/multiphase/multiphaseInterFoam/laminar/damBreak4phaseFine/0/p index 15ab9897a8..f8cc9e9f25 100644 --- a/tutorials/multiphase/multiphaseInterFoam/laminar/damBreak4phaseFine/0/p +++ b/tutorials/multiphase/multiphaseInterFoam/laminar/damBreak4phaseFine/0/p @@ -22,17 +22,20 @@ boundaryField { leftWall { - type zeroGradient; + type buoyantPressure; + value uniform 0; } rightWall { - type zeroGradient; + type buoyantPressure; + value uniform 0; } lowerWall { - type zeroGradient; + type buoyantPressure; + value uniform 0; } atmosphere diff --git a/tutorials/multiphase/settlingFoam/ras/dahl/0/p b/tutorials/multiphase/settlingFoam/ras/dahl/0/p index 2f9b3db7ac..a19f18a1fd 100644 --- a/tutorials/multiphase/settlingFoam/ras/dahl/0/p +++ b/tutorials/multiphase/settlingFoam/ras/dahl/0/p @@ -20,33 +20,35 @@ internalField uniform 0; boundaryField { - inlet + inlet { type zeroGradient; } - outlet + outlet { type fixedValue; value uniform 0; } - bottomWall + bottomWall { - type zeroGradient; + type buoyantPressure; + value uniform 0; } - endWall + endWall { - type zeroGradient; + type buoyantPressure; + value uniform 0; } - top + top { type symmetryPlane; } - frontAndBack + frontAndBack { type empty; } diff --git a/tutorials/multiphase/settlingFoam/ras/tank3D/0/p b/tutorials/multiphase/settlingFoam/ras/tank3D/0/p index d12a701172..02b3ad272c 100644 --- a/tutorials/multiphase/settlingFoam/ras/tank3D/0/p +++ b/tutorials/multiphase/settlingFoam/ras/tank3D/0/p @@ -20,102 +20,115 @@ internalField uniform 0; boundaryField { - SYMP3 + SYMP3 { type symmetryPlane; } - INLE1 + INLE1 { type zeroGradient; } - OUTL9 + OUTL9 { type zeroGradient; } - OUTL10 + OUTL10 { type zeroGradient; } - OUTL11 + OUTL11 { type zeroGradient; } - OUTL12 + OUTL12 { type zeroGradient; } - WALL6 + WALL6 { - type zeroGradient; + type buoyantPressure; + value uniform 0; } - WALL8 + WALL8 { - type zeroGradient; + type buoyantPressure; + value uniform 0; } - WALL61 + WALL61 { - type zeroGradient; + type buoyantPressure; + value uniform 0; } - WALL62 + WALL62 { - type zeroGradient; + type buoyantPressure; + value uniform 0; } - WALL63 + WALL63 { - type zeroGradient; + type buoyantPressure; + value uniform 0; } - WALL64 + WALL64 { - type zeroGradient; + type buoyantPressure; + value uniform 0; } - WALL65 + WALL65 { - type zeroGradient; + type buoyantPressure; + value uniform 0; } - WALL66 + WALL66 { - type zeroGradient; + type buoyantPressure; + value uniform 0; } - WALL67 + WALL67 { - type zeroGradient; + type buoyantPressure; + value uniform 0; } - WALL68 + WALL68 { - type zeroGradient; + type buoyantPressure; + value uniform 0; } - WALL69 + WALL69 { - type zeroGradient; + type buoyantPressure; + value uniform 0; } - WALL7 + WALL7 { - type zeroGradient; + type buoyantPressure; + value uniform 0; } - WALL70 + WALL70 { - type zeroGradient; + type buoyantPressure; + value uniform 0; } - OUTL15 + OUTL15 { type fixedValue; value uniform 0; diff --git a/tutorials/multiphase/twoPhaseEulerFoam/bed/0/p b/tutorials/multiphase/twoPhaseEulerFoam/bed/0/p index 6dc161ca6f..9c8370323f 100644 --- a/tutorials/multiphase/twoPhaseEulerFoam/bed/0/p +++ b/tutorials/multiphase/twoPhaseEulerFoam/bed/0/p @@ -22,7 +22,8 @@ boundaryField { bottom { - type zeroGradient; + type buoyantPressure; + value uniform 0; } top @@ -33,7 +34,8 @@ boundaryField walls { - type zeroGradient; + type buoyantPressure; + value uniform 0; } frontBack diff --git a/tutorials/multiphase/twoPhaseEulerFoam/bubbleColumn/0/p b/tutorials/multiphase/twoPhaseEulerFoam/bubbleColumn/0/p index 339131c645..e247f867f5 100644 --- a/tutorials/multiphase/twoPhaseEulerFoam/bubbleColumn/0/p +++ b/tutorials/multiphase/twoPhaseEulerFoam/bubbleColumn/0/p @@ -16,7 +16,7 @@ FoamFile dimensions [1 -1 -2 0 0 0 0]; -internalField nonuniform List +internalField nonuniform List 1875 ( 6296.13 @@ -1899,23 +1899,24 @@ internalField nonuniform List boundaryField { - inlet + inlet { type zeroGradient; } - outlet + outlet { type fixedValue; value uniform 0; } - walls + walls { - type zeroGradient; + type buoyantPressure; + value uniform 0; } - defaultFaces + defaultFaces { type empty; }