Convert tutorial incompressible/icoFoam/mixingPlane/twoBlocksMixingPlane_dirZ_spanY to new mixing plane syntax
This commit is contained in:
parent
9833188fc6
commit
8122e7612a
3 changed files with 19 additions and 5 deletions
|
@ -21,10 +21,12 @@ command -v pyFoamChangeMixingPlaneBoundary.py >/dev/null
|
||||||
if [ $? -eq 0 ];
|
if [ $? -eq 0 ];
|
||||||
then
|
then
|
||||||
echo "Using pyFoamChangeMixingPlaneBoundary.py"
|
echo "Using pyFoamChangeMixingPlaneBoundary.py"
|
||||||
pyFoamChangeMixingPlaneBoundary.py . mixpLeftOut \
|
pyFoamChangeMixingPlaneBoundary.py . mixpLeftOut \
|
||||||
--shadowPatch mixpRightIn \
|
--shadowPatch mixpRightIn \
|
||||||
--assembly both \
|
--zone mixpLeftOutZone \
|
||||||
--orientation dirZ_spanY \
|
--ribbonPatchDiscretisation bothPatches \
|
||||||
|
--ribbonPatchStackAxis Z \
|
||||||
|
--ribbonPatchSweepAxis Y \
|
||||||
--coordinateSystemType coordinateSystem \
|
--coordinateSystemType coordinateSystem \
|
||||||
--coordinateSystemOrigin "(0 0 0.005)" \
|
--coordinateSystemOrigin "(0 0 0.005)" \
|
||||||
--coordinateSystemE1 "(1 0 0)" \
|
--coordinateSystemE1 "(1 0 0)" \
|
||||||
|
@ -32,8 +34,10 @@ then
|
||||||
|
|
||||||
pyFoamChangeMixingPlaneBoundary.py . mixpRightIn \
|
pyFoamChangeMixingPlaneBoundary.py . mixpRightIn \
|
||||||
--shadowPatch mixpLeftOut \
|
--shadowPatch mixpLeftOut \
|
||||||
--assembly both \
|
--zone mixpRightInZone \
|
||||||
--orientation dirZ_spanY \
|
--ribbonPatchDiscretisation bothPatches \
|
||||||
|
--ribbonPatchStackAxis Z \
|
||||||
|
--ribbonPatchSweepAxis Y \
|
||||||
--coordinateSystemType coordinateSystem \
|
--coordinateSystemType coordinateSystem \
|
||||||
--coordinateSystemOrigin "(0 0 0.005)" \
|
--coordinateSystemOrigin "(0 0 0.005)" \
|
||||||
--coordinateSystemE1 "(1 0 0)" \
|
--coordinateSystemE1 "(1 0 0)" \
|
||||||
|
@ -43,6 +47,9 @@ else
|
||||||
cp constant/polyMesh/boundary.preconfigured constant/polyMesh/boundary
|
cp constant/polyMesh/boundary.preconfigured constant/polyMesh/boundary
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
echo "$caseName: Creating zones for the mixingPlane"
|
||||||
|
runApplicationAndReportOnError setSet -batch setBatch
|
||||||
|
runApplicationAndReportOnError setsToZones -noFlipMap
|
||||||
|
|
||||||
echo "$caseName: Creating the starting time directory"
|
echo "$caseName: Creating the starting time directory"
|
||||||
cp -r 0_orig 0
|
cp -r 0_orig 0
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
faceSet mixpLeftOutZone new patchToFace mixpLeftOut
|
||||||
|
faceSet mixpRightInZone new patchToFace mixpRightIn
|
||||||
|
quit
|
|
@ -55,4 +55,8 @@ fluxRequired
|
||||||
p;
|
p;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
mixingPlane
|
||||||
|
{
|
||||||
|
default zeroGradient;
|
||||||
|
}
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|
Reference in a new issue