ENH: filter tutorial: replace setsToZones with topoSet

This commit is contained in:
mattijs
2012-11-02 16:27:23 +00:00
parent f689658552
commit 455ddcee86
2 changed files with 54 additions and 3 deletions

View File

@ -13,9 +13,6 @@ runApplication blockMesh
#setSet -batch system/sets.setSet > log.setSet1 2>&1
runApplication topoSet
# convert sets to zones
setsToZones -noFlipMap > log.setsToZones 2>&1
# create the first cyclic - lhs of porous zone
# Note that we don't know what value to give these patches-out-of-nothing so
# - use binary writing to avoid 'nan'

View File

@ -28,6 +28,17 @@ actions
box (1.5 -10 -10) (2 10 10);
}
}
{
name filter;
type cellZoneSet;
action new;
source setToCellZone;
sourceInfo
{
set filter;
}
}
{
name leftFluid;
@ -39,6 +50,16 @@ actions
box (-10 -10 -10) (1.5 10 10);
}
}
{
name leftFluid;
type cellZoneSet;
action new;
source setToCellZone;
sourceInfo
{
set leftFluid;
}
}
{
name rightFluid;
type cellSet;
@ -49,6 +70,16 @@ actions
box (2 -1 -1) (10 10 10);
}
}
{
name rightFluid;
type cellZoneSet;
action new;
source setToCellZone;
sourceInfo
{
set rightFluid;
}
}
// cycLeft
@ -74,6 +105,17 @@ actions
option all;
}
}
// Create faceZone from cycLeft
{
name cycLeft;
type faceZoneSet;
action new;
source setToFaceZone;
sourceInfo
{
faceSet cycLeft; // name of faceSet
}
}
// cycRight
{
@ -98,6 +140,18 @@ actions
option all;
}
}
// Create faceZone from cycRight
{
name cycRight;
type faceZoneSet;
action new;
source setToFaceZone;
sourceInfo
{
faceSet cycRight; // name of faceSet
}
}
);
// ************************************************************************* //