diff --git a/tutorials/incompressible/icoFoam/mixingPlane/twoBlocksMixingPlaneMismatch_dirY_spanZ/Allrun b/tutorials/incompressible/icoFoam/mixingPlane/twoBlocksMixingPlaneMismatch_dirY_spanZ/Allrun index 77dd56bc3..911f8ceda 100755 --- a/tutorials/incompressible/icoFoam/mixingPlane/twoBlocksMixingPlaneMismatch_dirY_spanZ/Allrun +++ b/tutorials/incompressible/icoFoam/mixingPlane/twoBlocksMixingPlaneMismatch_dirY_spanZ/Allrun @@ -23,8 +23,10 @@ then echo "Using pyFoamChangeMixingPlaneBoundary.py" pyFoamChangeMixingPlaneBoundary.py . mixpLeftOut \ --shadowPatch mixpRightIn \ - --assembly both \ - --orientation dirY_spanZ \ + --zone mixpLeftOutZone \ + --ribbonPatchDiscretisation bothPatches \ + --ribbonPatchStackAxis Y \ + --ribbonPatchSweepAxis Z \ --coordinateSystemType coordinateSystem \ --coordinateSystemOrigin "(0 0 0.005)" \ --coordinateSystemE1 "(1 0 0)" \ @@ -32,8 +34,10 @@ then pyFoamChangeMixingPlaneBoundary.py . mixpRightIn \ --shadowPatch mixpLeftOut \ - --assembly both \ - --orientation dirY_spanZ \ + --zone mixpRightInZone \ + --ribbonPatchDiscretisation bothPatches \ + --ribbonPatchStackAxis Y \ + --ribbonPatchSweepAxis Z \ --coordinateSystemType coordinateSystem \ --coordinateSystemOrigin "(0 0 0.005)" \ --coordinateSystemE1 "(1 0 0)" \ @@ -43,6 +47,9 @@ else cp constant/polyMesh/boundary.preconfigured constant/polyMesh/boundary fi +echo "$caseName: Creating zones for the mixingPlane" +runApplicationAndReportOnError setSet -batch setBatch +runApplicationAndReportOnError setsToZones -noFlipMap echo "$caseName: Creating the starting time directory" cp -r 0_orig 0 diff --git a/tutorials/incompressible/icoFoam/mixingPlane/twoBlocksMixingPlaneMismatch_dirY_spanZ/setBatch b/tutorials/incompressible/icoFoam/mixingPlane/twoBlocksMixingPlaneMismatch_dirY_spanZ/setBatch new file mode 100644 index 000000000..070702982 --- /dev/null +++ b/tutorials/incompressible/icoFoam/mixingPlane/twoBlocksMixingPlaneMismatch_dirY_spanZ/setBatch @@ -0,0 +1,3 @@ +faceSet mixpLeftOutZone new patchToFace mixpLeftOut +faceSet mixpRightInZone new patchToFace mixpRightIn +quit diff --git a/tutorials/incompressible/icoFoam/mixingPlane/twoBlocksMixingPlaneMismatch_dirY_spanZ/system/fvSchemes b/tutorials/incompressible/icoFoam/mixingPlane/twoBlocksMixingPlaneMismatch_dirY_spanZ/system/fvSchemes index 8bbb145a1..cfb797a4e 100644 --- a/tutorials/incompressible/icoFoam/mixingPlane/twoBlocksMixingPlaneMismatch_dirY_spanZ/system/fvSchemes +++ b/tutorials/incompressible/icoFoam/mixingPlane/twoBlocksMixingPlaneMismatch_dirY_spanZ/system/fvSchemes @@ -55,4 +55,8 @@ fluxRequired p; } +mixingPlane +{ + default zeroGradient; +} // ************************************************************************* //