Tutorials: change topoSetDicts to avoid duplicate names

This commit is contained in:
Henry 2015-02-12 10:01:31 +00:00
parent 2299f0806c
commit 332c3cc37f
13 changed files with 103 additions and 108 deletions

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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