Tutorials: change topoSetDicts to avoid duplicate names

This commit is contained in:
Henry
2015-02-12 10:01:31 +00:00
parent 017855b877
commit d63a9fa589
13 changed files with 103 additions and 108 deletions

View File

@ -19,7 +19,7 @@ actions
( (
// Heater // Heater
{ {
name heater; name heaterCellSet;
type cellSet; type cellSet;
action new; action new;
source boxToCell; source boxToCell;
@ -29,7 +29,7 @@ actions
} }
} }
{ {
name heater; name heaterCellSet;
type cellSet; type cellSet;
action add; action add;
source boxToCell; source boxToCell;
@ -45,13 +45,13 @@ actions
source setToCellZone; source setToCellZone;
sourceInfo sourceInfo
{ {
set heater; // name of cellSet set heaterCellSet;
} }
} }
// leftSolid // leftSolid
{ {
name leftSolid; name leftSolidCellSet;
type cellSet; type cellSet;
action new; action new;
source boxToCell; source boxToCell;
@ -67,13 +67,13 @@ actions
source setToCellZone; source setToCellZone;
sourceInfo sourceInfo
{ {
set leftSolid; set leftSolidCellSet;
} }
} }
// rightSolid // rightSolid
{ {
name rightSolid; name rightSolidCellSet;
type cellSet; type cellSet;
action new; action new;
source boxToCell; source boxToCell;
@ -89,13 +89,13 @@ actions
source setToCellZone; source setToCellZone;
sourceInfo sourceInfo
{ {
set rightSolid; set rightSolidCellSet;
} }
} }
// topAir // topAir
{ {
name topAir; name topAirCellSet;
type cellSet; type cellSet;
action new; action new;
source boxToCell; source boxToCell;
@ -111,59 +111,54 @@ actions
source setToCellZone; source setToCellZone;
sourceInfo sourceInfo
{ {
set topAir; set topAirCellSet;
} }
} }
// bottomWater is all the other cells // bottomWater is all the other cells
{ {
name bottomWater; name bottomWaterCellSet;
type cellZoneSet; type cellSet;
action clear; action new;
source cellToCell;
sourceInfo
{
set heaterCellSet;
}
} }
{ {
name bottomWater; name bottomWaterCellSet;
type cellSet; type cellSet;
action add; action add;
source cellToCell; source cellToCell;
sourceInfo sourceInfo
{ {
set heater; set leftSolidCellSet;
} }
} }
{ {
name bottomWater; name bottomWaterCellSet;
type cellSet; type cellSet;
action add; action add;
source cellToCell; source cellToCell;
sourceInfo sourceInfo
{ {
set leftSolid; set rightSolidCellSet;
} }
} }
{ {
name bottomWater; name bottomWaterCellSet;
type cellSet; type cellSet;
action add; action add;
source cellToCell; source cellToCell;
sourceInfo sourceInfo
{ {
set rightSolid; set topAirCellSet;
} }
} }
{ {
name bottomWater; name bottomWaterCellSet;
type cellSet;
action add;
source cellToCell;
sourceInfo
{
set topAir;
}
}
{
name bottomWater;
type cellSet; type cellSet;
action invert; action invert;
} }
@ -174,9 +169,10 @@ actions
source setToCellZone; source setToCellZone;
sourceInfo sourceInfo
{ {
set bottomWater; set bottomWaterCellSet;
} }
} }
); );
// ************************************************************************* // // ************************************************************************* //

View File

@ -95,7 +95,7 @@ actions
} }
{ {
name rotorBlades; name rotorBladesFaceSet;
type faceSet; type faceSet;
action add; action add;
source faceToFace; source faceToFace;
@ -111,7 +111,7 @@ actions
source setToFaceZone; source setToFaceZone;
sourceInfo sourceInfo
{ {
faceSet rotorBlades; faceSet rotorBladesFaceSet;
} }
} }
); );

View File

@ -19,7 +19,7 @@ actions
( (
// Heater // Heater
{ {
name heater; name heaterCellSet;
type cellSet; type cellSet;
action new; action new;
source boxToCell; source boxToCell;
@ -29,7 +29,7 @@ actions
} }
} }
{ {
name heater; name heaterCellSet;
type cellSet; type cellSet;
action add; action add;
source boxToCell; source boxToCell;
@ -45,13 +45,13 @@ actions
source setToCellZone; source setToCellZone;
sourceInfo sourceInfo
{ {
set heater; // name of cellSet set heaterCellSet;
} }
} }
// leftSolid // leftSolid
{ {
name leftSolid; name leftSolidCellSet;
type cellSet; type cellSet;
action new; action new;
source boxToCell; source boxToCell;
@ -67,13 +67,13 @@ actions
source setToCellZone; source setToCellZone;
sourceInfo sourceInfo
{ {
set leftSolid; set leftSolidCellSet;
} }
} }
// rightSolid // rightSolid
{ {
name rightSolid; name rightSolidCellSet;
type cellSet; type cellSet;
action new; action new;
source boxToCell; source boxToCell;
@ -89,13 +89,13 @@ actions
source setToCellZone; source setToCellZone;
sourceInfo sourceInfo
{ {
set rightSolid; set rightSolidCellSet;
} }
} }
// topAir // topAir
{ {
name topAir; name topAirCellSet;
type cellSet; type cellSet;
action new; action new;
source boxToCell; source boxToCell;
@ -111,59 +111,54 @@ actions
source setToCellZone; source setToCellZone;
sourceInfo sourceInfo
{ {
set topAir; set topAirCellSet;
} }
} }
// bottomAir is all the other cells // bottomAir is all the other cells
{ {
name bottomAir; name bottomAirCellSet;
type cellZoneSet; type cellSet;
action clear; action new;
source cellToCell;
sourceInfo
{
set heaterCellSet;
}
} }
{ {
name bottomAir; name bottomAirCellSet;
type cellSet; type cellSet;
action add; action add;
source cellToCell; source cellToCell;
sourceInfo sourceInfo
{ {
set heater; set leftSolidCellSet;
} }
} }
{ {
name bottomAir; name bottomAirCellSet;
type cellSet; type cellSet;
action add; action add;
source cellToCell; source cellToCell;
sourceInfo sourceInfo
{ {
set leftSolid; set rightSolidCellSet;
} }
} }
{ {
name bottomAir; name bottomAirCellSet;
type cellSet; type cellSet;
action add; action add;
source cellToCell; source cellToCell;
sourceInfo sourceInfo
{ {
set rightSolid; set topAirCellSet;
} }
} }
{ {
name bottomAir; name bottomAirCellSet;
type cellSet;
action add;
source cellToCell;
sourceInfo
{
set topAir;
}
}
{
name bottomAir;
type cellSet; type cellSet;
action invert; action invert;
} }
@ -174,9 +169,10 @@ actions
source setToCellZone; source setToCellZone;
sourceInfo sourceInfo
{ {
set bottomAir; set bottomAirCellSet;
} }
} }
); );
// ************************************************************************* // // ************************************************************************* //

View File

@ -21,7 +21,7 @@ actions
// Create faceZone for patch couple1 // Create faceZone for patch couple1
{ {
name couple1Faces; name couple1FaceSet;
type faceSet; type faceSet;
action new; action new;
source patchToFace; source patchToFace;
@ -37,13 +37,13 @@ actions
source setToFaceZone; source setToFaceZone;
sourceInfo sourceInfo
{ {
faceSet couple1Faces; faceSet couple1FaceSet;
} }
} }
// Create faceZone for patch couple2 // Create faceZone for patch couple2
{ {
name couple2Faces; name couple2FaceSet;
type faceSet; type faceSet;
action new; action new;
source patchToFace; source patchToFace;
@ -59,13 +59,13 @@ actions
source setToFaceZone; source setToFaceZone;
sourceInfo sourceInfo
{ {
faceSet couple2Faces; faceSet couple2FaceSet;
} }
} }
// Create cellZone for moving cells in inlet channel // Create cellZone for moving cells in inlet channel
{ {
name inletChannel; name inletChannelCellSet;
type cellSet; type cellSet;
action new; action new;
source boxToCell; source boxToCell;
@ -81,7 +81,7 @@ actions
source setToCellZone; source setToCellZone;
sourceInfo sourceInfo
{ {
set inletChannel; set inletChannelCellSet;
} }
} }
); );

View File

@ -18,7 +18,7 @@ FoamFile
actions actions
( (
{ {
name cyclicFaces; name cyclicFacesFaceSet;
type faceSet; type faceSet;
action new; action new;
source boxToFace; source boxToFace;
@ -46,13 +46,13 @@ actions
source setsToFaceZone; source setsToFaceZone;
sourceInfo sourceInfo
{ {
faceSet cyclicFaces; faceSet cyclicFacesFaceSet;
cellSet cyclicFacesSlaveCells; cellSet cyclicFacesSlaveCells;
} }
} }
{ {
name baffleFaces; name baffleFaceSet;
type faceSet; type faceSet;
action new; action new;
source boxToFace; source boxToFace;
@ -63,7 +63,7 @@ actions
} }
{ {
name baffleFaces; name baffleFaceSet;
type faceSet; type faceSet;
action delete; action delete;
source boxToFace; source boxToFace;
@ -80,7 +80,7 @@ actions
source setToFaceZone; source setToFaceZone;
sourceInfo sourceInfo
{ {
faceSet baffleFaces; faceSet baffleFaceSet;
} }
} }
); );

View File

@ -19,7 +19,7 @@ actions
( (
// actuationDisk1 // actuationDisk1
{ {
name actuationDisk1; name actuationDisk1CellSet;
type cellSet; type cellSet;
action new; action new;
source boxToCell; source boxToCell;
@ -35,13 +35,13 @@ actions
source setToCellZone; source setToCellZone;
sourceInfo sourceInfo
{ {
set actuationDisk1; set actuationDisk1CellSet;
} }
} }
// actuationDisk2 // actuationDisk2
{ {
name actuationDisk2; name actuationDisk2CellSet;
type cellSet; type cellSet;
action new; action new;
source boxToCell; source boxToCell;
@ -57,7 +57,7 @@ actions
source setToCellZone; source setToCellZone;
sourceInfo sourceInfo
{ {
set actuationDisk2; set actuationDisk2CellSet;
} }
} }

View File

@ -18,7 +18,7 @@ FoamFile
actions actions
( (
{ {
name wallFilmFaces; name wallFilmFaceSet;
type faceSet; type faceSet;
action new; action new;
source patchToFace; source patchToFace;
@ -34,7 +34,7 @@ actions
source setToFaceZone; source setToFaceZone;
sourceInfo sourceInfo
{ {
faceSet wallFilmFaces; faceSet wallFilmFaceSet;
} }
} }
); );

View File

@ -18,7 +18,7 @@ FoamFile
actions actions
( (
{ {
name wallFilmFaces; name wallFilmFaceSet;
type faceSet; type faceSet;
action new; action new;
source patchToFace; source patchToFace;
@ -34,9 +34,10 @@ actions
source setToFaceZone; source setToFaceZone;
sourceInfo sourceInfo
{ {
faceSet wallFilmFaces; faceSet wallFilmFaceSet;
} }
} }
); );
// ************************************************************************* // // ************************************************************************* //

View File

@ -18,7 +18,7 @@ FoamFile
actions actions
( (
{ {
name wallFilmFaces; name wallFilmFaceSet;
type faceSet; type faceSet;
action new; action new;
source patchToFace; source patchToFace;
@ -34,7 +34,7 @@ actions
source setToFaceZone; source setToFaceZone;
sourceInfo sourceInfo
{ {
faceSet wallFilmFaces; faceSet wallFilmFaceSet;
} }
} }
); );

View File

@ -19,7 +19,7 @@ actions
( (
// filter // filter
{ {
name filter; name filterCellSet;
type cellSet; type cellSet;
action new; action new;
source boxToCell; source boxToCell;
@ -35,13 +35,13 @@ actions
source setToCellZone; source setToCellZone;
sourceInfo sourceInfo
{ {
set filter; set filterCellSet;
} }
} }
{ {
name leftFluid; name leftFluidCellSet;
type cellSet; type cellSet;
action new; action new;
source boxToCell; source boxToCell;
@ -57,11 +57,11 @@ actions
source setToCellZone; source setToCellZone;
sourceInfo sourceInfo
{ {
set leftFluid; set leftFluidCellSet;
} }
} }
{ {
name rightFluid; name rightFluidCellSet;
type cellSet; type cellSet;
action new; action new;
source boxToCell; source boxToCell;
@ -77,31 +77,31 @@ actions
source setToCellZone; source setToCellZone;
sourceInfo sourceInfo
{ {
set rightFluid; set rightFluidCellSet;
} }
} }
// cycLeft // cycLeft
{ {
name cycLeft; name cycLeftFaceSet;
type faceSet; type faceSet;
action new; action new;
source cellToFace; source cellToFace;
sourceInfo sourceInfo
{ {
set filter; set filterCellSet;
option all; option all;
} }
} }
{ {
name cycLeft; name cycLeftFaceSet;
type faceSet; type faceSet;
action subset; action subset;
source cellToFace; source cellToFace;
sourceInfo sourceInfo
{ {
set leftFluid; set leftFluidCellSet;
option all; option all;
} }
} }
@ -113,30 +113,30 @@ actions
source setToFaceZone; source setToFaceZone;
sourceInfo sourceInfo
{ {
faceSet cycLeft; // name of faceSet faceSet cycLeftFaceSet;
} }
} }
// cycRight // cycRight
{ {
name cycRight; name cycRightFaceSet;
type faceSet; type faceSet;
action new; action new;
source cellToFace; source cellToFace;
sourceInfo sourceInfo
{ {
set filter; set filterCellSet;
option all; option all;
} }
} }
{ {
name cycRight; name cycRightFaceSet;
type faceSet; type faceSet;
action subset; action subset;
source cellToFace; source cellToFace;
sourceInfo sourceInfo
{ {
set rightFluid; set rightFluidCellSet;
option all; option all;
} }
} }
@ -148,10 +148,10 @@ actions
source setToFaceZone; source setToFaceZone;
sourceInfo sourceInfo
{ {
faceSet cycRight; // name of faceSet faceSet cycRightFaceSet;
} }
} }
); );
// ************************************************************************* // // ************************************************************************* //

View File

@ -18,7 +18,7 @@ FoamFile
actions actions
( (
{ {
name cyclicFaces; name cyclicFacesFaceSet;
type faceSet; type faceSet;
action new; action new;
source boxToFace; source boxToFace;
@ -46,7 +46,7 @@ actions
source setsToFaceZone; source setsToFaceZone;
sourceInfo sourceInfo
{ {
faceSet cyclicFaces; faceSet cyclicFacesFaceSet;
cellSet cyclicFacesSlaveCells; cellSet cyclicFacesSlaveCells;
} }
} }

View File

@ -35,7 +35,7 @@ actions
} }
{ {
name f0; name f0FaceSet;
type faceSet; type faceSet;
action new; action new;
source patchToFace; source patchToFace;
@ -46,7 +46,7 @@ actions
} }
{ {
name f0; name f0FaceSet;
type faceSet; type faceSet;
action subset; action subset;
source boxToFace; source boxToFace;
@ -63,9 +63,10 @@ actions
source setToFaceZone; source setToFaceZone;
sourceInfo sourceInfo
{ {
faceSet f0; faceSet f0FaceSet;
} }
} }
); );
// ************************************************************************* // // ************************************************************************* //

View File

@ -35,7 +35,7 @@ actions
} }
{ {
name f0; name f0FaceSet;
type faceSet; type faceSet;
action new; action new;
source patchToFace; source patchToFace;
@ -46,7 +46,7 @@ actions
} }
{ {
name f0; name f0FaceSet;
type faceSet; type faceSet;
action subset; action subset;
source boxToFace; source boxToFace;
@ -63,9 +63,10 @@ actions
source setToFaceZone; source setToFaceZone;
sourceInfo sourceInfo
{ {
faceSet f0; faceSet f0FaceSet;
} }
} }
); );
// ************************************************************************* // // ************************************************************************* //