diff --git a/bin/tools/RunFunctions b/bin/tools/RunFunctions index 62ce3e27ef30ee05ae73e189e72190af63dcea35..e2c335b05b11c3b4a6b76cbd3102ce7fa63bde78 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 2b77c937a2531f9bb7629ad8f4acc7dd7ff29bfb..7b4411955d2c11bc6b8d7253f832f3bfa325275c 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 057403310a4dba8dc69f1470dd26d8a7d6d6b978..d182180d950cf062863e09e04ae64103303645ff 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 bc33200d5ef4d08402bc2229868327363fcc75e8..b5ab5ef15ba0a2b31302049795dbff843d96ca78 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 a686c3595536e9a183683346beee9db76b00cb37..f52dbcdfbff0ac560f24341200f77e64d2ae101c 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 e643a368e6a2ab87ab90595b0da6a91689c365c6..b97d4da7fd174f32e08295627f20475d8e1db435 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 e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..0000000000000000000000000000000000000000 diff --git a/tutorials/mesh/snappyHexMesh/multiRegionMesh/constant/topAir/g b/tutorials/mesh/snappyHexMesh/multiRegionMesh/constant/topAir/g new file mode 120000 index 0000000000000000000000000000000000000000..fe0384ff08b952c55e7811f2dc2643afaf6fe706 --- /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 ced7047d4380f08357a48ce9fdfe03b6eb1d5e70..841cfca2e6cd7038e9ee559110fd50692f8946a6 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 339131c645888b81cf06d6cf1231bf94f330f608..e247f867f53c57370c021fc7090f8385057d8d18 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<scalar> +internalField nonuniform List<scalar> 1875 ( 6296.13 @@ -1899,23 +1899,24 @@ internalField nonuniform List<scalar> 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 836276fe9cea7a027c4726fa021088bf33d0da6e..99a20900eb96f8f71086983851443c0afa6b1155 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 15ab9897a899264f52a2cfb792b0fc6c39324dc4..f8cc9e9f25446476e6d5f8496759a76f71a32c4b 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 15ab9897a899264f52a2cfb792b0fc6c39324dc4..f8cc9e9f25446476e6d5f8496759a76f71a32c4b 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 15ab9897a899264f52a2cfb792b0fc6c39324dc4..f8cc9e9f25446476e6d5f8496759a76f71a32c4b 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 15ab9897a899264f52a2cfb792b0fc6c39324dc4..f8cc9e9f25446476e6d5f8496759a76f71a32c4b 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 2f9b3db7acc9151144e7a002b338db62b9fa2fc2..a19f18a1fd2c4376a5b6178546667e399bc0251d 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 d12a70117220789fdee39b841afbdff8eb7c8fc7..02b3ad272c3c63ab0a2715ddb5e8ceb8d6e10291 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 6dc161ca6f10f039cf0351548c0257f572ae2455..9c8370323fefb4dd8f9200d87d9fc95a7b5bf513 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 339131c645888b81cf06d6cf1231bf94f330f608..e247f867f53c57370c021fc7090f8385057d8d18 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<scalar> +internalField nonuniform List<scalar> 1875 ( 6296.13 @@ -1899,23 +1899,24 @@ internalField nonuniform List<scalar> 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; }