diff --git a/tutorials/basic/laplacianFoam/flange/Allclean b/tutorials/basic/laplacianFoam/flange/Allclean index b8da3681d1c4b2e148fabdbb46570931876eeca2..e6ee925badbcc759662954710fb4f84330ceaf65 100755 --- a/tutorials/basic/laplacianFoam/flange/Allclean +++ b/tutorials/basic/laplacianFoam/flange/Allclean @@ -6,5 +6,6 @@ cd ${0%/*} || exit 1 # Run from this directory cleanCase rm -rf EnSight Ensight Fieldview > /dev/null 2>&1 +rm -f constant/polyMesh/boundary > /dev/null 2>&1 # ----------------------------------------------------------------- end-of-file diff --git a/tutorials/basic/laplacianFoam/flange/constant/polyMesh/boundary b/tutorials/basic/laplacianFoam/flange/constant/polyMesh/boundary deleted file mode 100644 index c97383b613a17960eeb1dc2e49141439c8e3c066..0000000000000000000000000000000000000000 --- a/tutorials/basic/laplacianFoam/flange/constant/polyMesh/boundary +++ /dev/null @@ -1,46 +0,0 @@ -/*--------------------------------*- C++ -*----------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | -| \\ / A nd | Web: www.OpenFOAM.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -FoamFile -{ - version 2.0; - format ascii; - class polyBoundaryMesh; - location "constant/polyMesh"; - object boundary; -} -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -4 -( - patch1 - { - type patch; - nFaces 2440; - startFace 15316; - } - patch2 - { - type patch; - nFaces 348; - startFace 17756; - } - patch3 - { - type patch; - nFaces 96; - startFace 18104; - } - patch4 - { - type patch; - nFaces 384; - startFace 18200; - } -) - -// ************************************************************************* // diff --git a/tutorials/basic/laplacianFoam/flange/constant/polyMesh/boundary.org b/tutorials/basic/laplacianFoam/flange/constant/polyMesh/boundary.org deleted file mode 100644 index 52a48b950a540521e8ca5c91a5475e374d9ab665..0000000000000000000000000000000000000000 --- a/tutorials/basic/laplacianFoam/flange/constant/polyMesh/boundary.org +++ /dev/null @@ -1,52 +0,0 @@ -/*--------------------------------*- C++ -*----------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | -| \\ / A nd | Web: www.OpenFOAM.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -FoamFile -{ - version 2.0; - format ascii; - class polyBoundaryMesh; - object boundary; -} -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -4 -( - patch1 - { - type patch; - physicalType adiabatic; - startFace 15316; - nFaces 2440; - } - - patch2 - { - type patch; - physicalType fixedTemp; - startFace 17756; - nFaces 348; - } - - patch3 - { - type patch; - physicalType adiabatic; - startFace 18104; - nFaces 96; - } - - patch4 - { - type patch; - physicalType fixedTemp; - startFace 18200; - nFaces 384; - } -) - -// ************************************************************************* // diff --git a/tutorials/compressible/sonicFoam/ras/nacaAirfoil/Allclean b/tutorials/compressible/sonicFoam/ras/nacaAirfoil/Allclean new file mode 100755 index 0000000000000000000000000000000000000000..edae5c37f5a43d055f96918d5c845f384d8744f7 --- /dev/null +++ b/tutorials/compressible/sonicFoam/ras/nacaAirfoil/Allclean @@ -0,0 +1,10 @@ +#!/bin/sh +cd ${0%/*} || exit 1 # Run from this directory + +# Source tutorial clean functions +. $WM_PROJECT_DIR/bin/tools/CleanFunctions + +cleanCase +rm -f constant/polyMesh/boundary > /dev/null 2>&1 + +# ----------------------------------------------------------------- end-of-file diff --git a/tutorials/compressible/sonicFoam/ras/nacaAirfoil/Allrun b/tutorials/compressible/sonicFoam/ras/nacaAirfoil/Allrun index 4e85cda825b5563ca64b17190b118985be356795..dd782a7196523e56825d0124918ce62ba99545e6 100755 --- a/tutorials/compressible/sonicFoam/ras/nacaAirfoil/Allrun +++ b/tutorials/compressible/sonicFoam/ras/nacaAirfoil/Allrun @@ -9,10 +9,7 @@ application=`getApplication` runApplication star3ToFoam prostar/nacaAirfoil -mv constant/polyMesh/boundary temp -sed -e s/"\([\t ]*type[\t ]*\)symmetryPlane"/"\1empty"/g \ - temp > constant/polyMesh/boundary -rm temp +sed -i 's/symmetry\([)]*;\)/empty\1/' constant/polyMesh/boundary runApplication $application diff --git a/tutorials/compressible/sonicFoam/ras/nacaAirfoil/constant/polyMesh/boundary b/tutorials/compressible/sonicFoam/ras/nacaAirfoil/constant/polyMesh/boundary deleted file mode 100644 index becd8320f7be03b46ac3118de08c8ca75e8c2683..0000000000000000000000000000000000000000 --- a/tutorials/compressible/sonicFoam/ras/nacaAirfoil/constant/polyMesh/boundary +++ /dev/null @@ -1,48 +0,0 @@ -/*--------------------------------*- C++ -*----------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | -| \\ / A nd | Web: www.OpenFOAM.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -FoamFile -{ - version 2.0; - format ascii; - class polyBoundaryMesh; - location "constant/polyMesh"; - object boundary; -} -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -4 -( - INLE1 - { - type patch; - nFaces 400; - startFace 79570; - } - OUTL2 - { - type patch; - nFaces 200; - startFace 79970; - } - SYMP3 - { - type empty; - inGroups 1(empty); - nFaces 80000; - startFace 80170; - } - WALL10 - { - type wall; - inGroups 1(wall); - nFaces 260; - startFace 160170; - } -) - -// ************************************************************************* // diff --git a/tutorials/compressible/sonicFoam/ras/nacaAirfoil/constant/polyMesh/boundary.org b/tutorials/compressible/sonicFoam/ras/nacaAirfoil/constant/polyMesh/boundary.org deleted file mode 100644 index f20d97eab5718cdf0eb80554ef9dcc3764a1c211..0000000000000000000000000000000000000000 --- a/tutorials/compressible/sonicFoam/ras/nacaAirfoil/constant/polyMesh/boundary.org +++ /dev/null @@ -1,51 +0,0 @@ -/*--------------------------------*- C++ -*----------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | -| \\ / A nd | Web: www.OpenFOAM.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -FoamFile -{ - version 2.0; - format ascii; - class polyBoundaryMesh; - object boundary; -} -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -( - INLE1 - { - type patch; - physicalType supersonicFreestream; - startFace 79570; - nFaces 400; - } - - OUTL2 - { - type patch; - physicalType pressureTransmissiveOutlet; - startFace 79970; - nFaces 200; - } - - SYMP3 - { - type empty; - physicalType empty; - startFace 80170; - nFaces 80000; - } - - WALL10 - { - type wall; - physicalType adiabaticWallFunctions; - startFace 160170; - nFaces 260; - } -) - -// ************************************************************************* // diff --git a/tutorials/incompressible/icoFoam/elbow/Allclean b/tutorials/incompressible/icoFoam/elbow/Allclean index b44622ae6971e3a439c98415b0a2bb315203edf9..e44a03c204afdd3ea4905796da56fa977c34c041 100755 --- a/tutorials/incompressible/icoFoam/elbow/Allclean +++ b/tutorials/incompressible/icoFoam/elbow/Allclean @@ -4,7 +4,7 @@ cd ${0%/*} || exit 1 # Run from this directory # Source tutorial clean functions . $WM_PROJECT_DIR/bin/tools/CleanFunctions -rm -f constant/polyMesh/boundary +rm -f constant/polyMesh/boundary > /dev/null 2>&1 rm -rf fluentInterface cleanCase diff --git a/tutorials/incompressible/icoFoam/elbow/constant/polyMesh/boundary.org b/tutorials/incompressible/icoFoam/elbow/constant/polyMesh/boundary.org deleted file mode 100644 index b1349beb7221c103cbca5fdf90f55a35116552da..0000000000000000000000000000000000000000 --- a/tutorials/incompressible/icoFoam/elbow/constant/polyMesh/boundary.org +++ /dev/null @@ -1,67 +0,0 @@ -/*--------------------------------*- C++ -*----------------------------------*\ -| ========= | | -| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | -| \\ / O peration | Version: dev | -| \\ / A nd | Web: www.OpenFOAM.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -FoamFile -{ - version 2.0; - format ascii; - class polyBoundaryMesh; - object boundary; -} -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -( wall-4 - { - type wall; - physicalType wall; - startFace 1300; - nFaces 100; - } - - velocity-inlet-5 - { - type patch; - physicalType inlet; - startFace 1400; - nFaces 8; - } - - velocity-inlet-6 - { - type patch; - physicalType inlet; - startFace 1408; - nFaces 4; - } - - pressure-outlet-7 - { - type patch; - physicalType outlet; - startFace 1412; - nFaces 8; - } - - wall-8 - { - type wall; - physicalType wall; - startFace 1420; - nFaces 34; - } - - frontAndBackPlanes - { - type empty; - physicalType empty; - startFace 1454; - nFaces 1836; - } - -) - -// ************************************************************************* //