Convert tutorial incompressible/simpleFoam/mixingPlaneAxial to new mixing plane syntax..... NOTE: Tutorial does not run yet due to missing libopenFoamTurbo.so
This commit is contained in:
parent
52a2e2e1fd
commit
6862c1dce8
3 changed files with 23 additions and 4 deletions
|
@ -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
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
faceSet upstreamMixingPlaneZone new patchToFace upstreamMixingPlanePatch
|
||||
faceSet downstreamMixingPlaneZone new patchToFace downstreamMixingPlanePatch
|
||||
quit
|
|
@ -67,4 +67,9 @@ fluxRequired
|
|||
p;
|
||||
}
|
||||
|
||||
mixingPlane
|
||||
{
|
||||
default zeroGradient;
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
|
|
Reference in a new issue