blockMesh: Removed the superfluous cellSet creation and write

Resolves bug-report https://bugs.openfoam.org/view.php?id=2960
This commit is contained in:
Henry Weller
2018-05-27 11:15:39 +01:00
parent 507f3a5768
commit 03727e711d

View File

@ -57,7 +57,6 @@ Usage
#include "polyTopoChange.H" #include "polyTopoChange.H"
#include "emptyPolyPatch.H" #include "emptyPolyPatch.H"
#include "cyclicPolyPatch.H" #include "cyclicPolyPatch.H"
#include "cellSet.H"
#include "argList.H" #include "argList.H"
#include "OSspecific.H" #include "OSspecific.H"
@ -354,8 +353,6 @@ int main(int argc, char *argv[])
List<cellZone*> cz(zoneMap.size()); List<cellZone*> cz(zoneMap.size());
Info<< nl << "Writing cell zones as cellSets" << endl;
forAllConstIter(HashTable<label>, zoneMap, iter) forAllConstIter(HashTable<label>, zoneMap, iter)
{ {
label zoneI = iter(); label zoneI = iter();
@ -367,10 +364,6 @@ int main(int argc, char *argv[])
zoneI, zoneI,
mesh.cellZones() mesh.cellZones()
); );
// Write as cellSet for ease of processing
cellSet cset(mesh, iter.key(), zoneCells[zoneI].shrink());
cset.write();
} }
mesh.pointZones().setSize(0); mesh.pointZones().setSize(0);