CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Pre-Processing

difference between cellSet and cellZoneSet

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree6Likes
  • 1 Post By olivierG
  • 5 Post By mturcios777

LinkBack Thread Tools Search this Thread Display Modes
Old   February 13, 2014, 13:24
Default difference between cellSet and cellZoneSet
Senior Member
Join Date: Nov 2012
Location: Bavaria
Posts: 145
Rep Power: 11
aylalisa is on a distinguished road
Hi to All!

Could anybody explain the difference between a cellSet and a cellZoneSet?

In different tutorial cases I've found examples in: *.setSet files, topoSetDict files

#1 cellSet heater new boxToCell (-0.01001 0 -100 )(0.01001 0.00999 100)
#2 cellSet heater add boxToCell (-0.01001 -100 -0.01001)(0.01001 0.00999 0.01001)
#3 cellZoneSet heater new setToCellZone heater

Why is line three necessary?


aylalisa is offline   Reply With Quote

Old   February 14, 2014, 04:12
Senior Member
Join Date: Jun 2009
Location: France, grenoble
Posts: 272
Rep Power: 16
olivierG is on a distinguished road

I would also know more precisely the difference between set and ZoneSet.

About your last question, you need the line 3 because OpenFoam _solver_ deal only with Zone (cellZone, facesZone, pointZone), not Set.

aylalisa likes this.
olivierG is offline   Reply With Quote

Old   February 14, 2014, 13:39
Senior Member
mturcios777's Avatar
Marco A. Turcios
Join Date: Mar 2009
Location: Vancouver, BC, Canada
Posts: 736
Rep Power: 26
mturcios777 will become famous soon enough
Both sets and zones are a collection of mesh primities (cells, points and faces). faceZones have the additional property of having an orientation. For faceZones, there is a flipMap assigned for each face in the zone that says if the face normal (defined in the faces file) needs to be flipped to maintain the orientation of the faceZone (so that the faceZone has a master side and a slave side). If you compare the contents of the pointZones and cellZones files, you will see that they are nearly identical.

As to why there is duplicate functionality I'm not sure. It seems zones are favored in solvers while sets are used more often in utilities, at least from my experience with OpenFOAM. I suspect that there may be additional functionality built into Zones that is useful in solvers that is not required for working with sets.
aylalisa, Marpole, shubz and 2 others like this.
mturcios777 is offline   Reply With Quote


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Other] Modification of multi region heater tutorial geometry mukut OpenFOAM Meshing & Mesh Conversion 2 October 4, 2013 20:59
.setSet problems Grimoli OpenFOAM 9 July 31, 2013 13:24
topoSet geometry than more than 1 box Grimoli OpenFOAM Pre-Processing 1 April 14, 2013 08:54
Geometry problem!! Grimoli OpenFOAM Running, Solving & CFD 2 April 4, 2013 03:17
[mesh manipulation] cellSet - how to define a hollow cylinder RugbyGandalf OpenFOAM Meshing & Mesh Conversion 2 December 17, 2012 02:34

All times are GMT -4. The time now is 04:50.