Something missing from the original blockMesh (in my opinion) is the posibility to generate cell sets.
With some minor modifications to the original blockMesh (and the syntax of the dictionaries) I produced a utility that can do this.

__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request

To be honest, I wasn't aware of the cellZones and I'm looking at the documentation. Is my impression correct, that cellZones are cellSets on steroids? In other words, what is the advantage of using cellSets (if there is any)?

But: Yes. It should be doable (I'll have a go at it next week, if I succeed I'll make a similar modification to the fluentMeshToFoam utility)

__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request

Cell zones will give you a unique decomposition of the mesh or a part of it: each cell will only below to zero or one cell zone. Also, there are facitilies to ask the cell which zone it belongs to (well, a bit different, but that's the idea). This is used a lot in topological mesh changes.

I started to generate CellZones, but they were never added. When looking at polyMesh.C (method addZones) I found a fz.size() where in my opinion a cz.size() should be. My question: Is this a copy/past-typo or is there an interdependence between cell- and faceZones and this guards against cellZones being added without faceZones?`

__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request

I thought so. To work around this the program creates a dummy faceZone of size 0.

The modified utility can be downloaded from the Wiki. In default mode it writes cellSets. If the switch -writeZones is used it writes cellZones instead (plus the dummy faceZone).

Also on the Wiki is a modified version of fluentMeshToFoam that behaves similar (-writeZones writes face- and cellZones instead of sets). This modification isn't completely tested.

Question: How do I visualize cellZones? The foamToVTK-utility generates data for faceZones, but not for cellZones.

__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request

@write both: my impression was, that if you have a region you don't need sets and I wanted to keep the amount of data writte to a minimum (not that it matters much).

__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request