diff --git a/tutorials/multiphase/interDyMFoam/ras/damBreakWithObstacle/Allrun b/tutorials/multiphase/interDyMFoam/ras/damBreakWithObstacle/Allrun index 7df6b45a2..4c86f2753 100755 --- a/tutorials/multiphase/interDyMFoam/ras/damBreakWithObstacle/Allrun +++ b/tutorials/multiphase/interDyMFoam/ras/damBreakWithObstacle/Allrun @@ -2,9 +2,17 @@ # Source tutorial run functions . $WM_PROJECT_DIR/bin/tools/RunFunctions -cp -r 0.org 0 +\cp -r 0.org 0 + runApplication blockMesh runApplication setSet -batch createObstacle.setSet runApplication subsetMesh c0 -patch walls -overwrite + +# Move subset mesh in to proper place +\cp constant/setSubset/polyMesh/* constant/polyMesh +\rm -rf constant/setSubset +# Mapping in 0/ not needed +\rm -rf 0/setSubset + runApplication setFields runApplication interDyMFoam diff --git a/tutorials/multiphase/interDyMFoam/ras/damBreakWithObstacle/constant/polyMesh/boundary b/tutorials/multiphase/interDyMFoam/ras/damBreakWithObstacle/constant/polyMesh/boundary deleted file mode 100644 index c2a8b69e0..000000000 --- a/tutorials/multiphase/interDyMFoam/ras/damBreakWithObstacle/constant/polyMesh/boundary +++ /dev/null @@ -1,34 +0,0 @@ -/*--------------------------------*- C++ -*----------------------------------*\ -| ========= | | -| \\ / F ield | foam-extend: Open Source CFD | -| \\ / O peration | Version: 3.1 | -| \\ / A nd | Web: http://www.extend-project.de | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -FoamFile -{ - version 2.0; - format ascii; - class polyBoundaryMesh; - location "constant/polyMesh"; - object boundary; -} -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -2 -( - atmosphere - { - type patch; - nFaces 1024; - startFace 95232; - } - walls - { - type wall; - nFaces 5120; - startFace 96256; - } -) - -// ************************************************************************* //