diff --git a/tutorials/incompressible/simpleFoam/mixingPlaneAxial/Allrun b/tutorials/incompressible/simpleFoam/mixingPlaneAxial/Allrun index e2b4b6474..c9c0da681 100755 --- a/tutorials/incompressible/simpleFoam/mixingPlaneAxial/Allrun +++ b/tutorials/incompressible/simpleFoam/mixingPlaneAxial/Allrun @@ -26,8 +26,10 @@ then echo "Using pyFoamChangeMixingPlaneBoundary.py" pyFoamChangeMixingPlaneBoundary.py . upstreamMixingPlanePatch \ --shadowPatch downstreamMixingPlanePatch \ - --assembly both \ - --orientation dirZ_spanTheta \ + --zone upstreamMixingPlaneZone \ + --ribbonPatchDiscretisation bothPatches \ + --ribbonPatchStackAxis Z \ + --ribbonPatchSweepAxis Theta \ --coordinateSystemType cylindrical \ --coordinateSystemOrigin "(0 0 0)" \ --coordinateSystemE1 "(1 0 0)" \ @@ -35,8 +37,10 @@ then pyFoamChangeMixingPlaneBoundary.py . downstreamMixingPlanePatch \ --shadowPatch upstreamMixingPlanePatch \ - --assembly both \ - --orientation dirZ_spanTheta \ + --zone downstreamMixingPlaneZone \ + --ribbonPatchDiscretisation bothPatches \ + --ribbonPatchStackAxis Z \ + --ribbonPatchSweepAxis Theta \ --coordinateSystemType cylindrical \ --coordinateSystemOrigin "(0 0 0)" \ --coordinateSystemE1 "(1 0 0)" \ @@ -75,9 +79,16 @@ fi echo "$caseName: Creating the starting time directory" cp -r 0_orig 0 +echo "$caseName: Creating zones for the mixingPlane" +runApplicationAndReportOnError setSet -batch setBatchMixingPlane +runApplicationAndReportOnError setsToZones -noFlipMap +mv log.setSet log.setSet_MixingPlane +mv log.setsToZones log.setsToZones_MixingPlane runApplicationAndReportOnError setSet -batch setBatchGGIZone runApplicationAndReportOnError setsToZones -noFlipMap +mv log.setSet log.setSet_GGIZone +mv log.setsToZones log.setsToZones_GGIZone echo "$caseName: Running potentialFoam" runApplicationAndReportOnError potentialFoam diff --git a/tutorials/incompressible/simpleFoam/mixingPlaneAxial/setBatchMixingPlane b/tutorials/incompressible/simpleFoam/mixingPlaneAxial/setBatchMixingPlane new file mode 100644 index 000000000..2e9a05a1f --- /dev/null +++ b/tutorials/incompressible/simpleFoam/mixingPlaneAxial/setBatchMixingPlane @@ -0,0 +1,3 @@ +faceSet upstreamMixingPlaneZone new patchToFace upstreamMixingPlanePatch +faceSet downstreamMixingPlaneZone new patchToFace downstreamMixingPlanePatch +quit diff --git a/tutorials/incompressible/simpleFoam/mixingPlaneAxial/system/fvSchemes b/tutorials/incompressible/simpleFoam/mixingPlaneAxial/system/fvSchemes index 216ac3d98..5a533e6a7 100644 --- a/tutorials/incompressible/simpleFoam/mixingPlaneAxial/system/fvSchemes +++ b/tutorials/incompressible/simpleFoam/mixingPlaneAxial/system/fvSchemes @@ -67,4 +67,9 @@ fluxRequired p; } +mixingPlane +{ + default zeroGradient; +} + // ************************************************************************* //