CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
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 Tree7Likes
  • 1 Post By olivierG
  • 6 Post By mturcios777

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 13, 2014, 14:24
Default difference between cellSet and cellZoneSet
  #1
Senior Member
 
Join Date: Nov 2012
Location: Bavaria
Posts: 145
Rep Power: 13
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

Example:
#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?

Thanks!

Aylalisa
aylalisa is offline   Reply With Quote

Old   February 14, 2014, 05:12
Default
  #2
Senior Member
 
Olivier
Join Date: Jun 2009
Location: France, grenoble
Posts: 272
Rep Power: 17
olivierG is on a distinguished road
hello,

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.

Regards,
olivier
aylalisa likes this.
olivierG is offline   Reply With Quote

Old   February 14, 2014, 14:39
Default
  #3
Senior Member
 
mturcios777's Avatar
 
Marco A. Turcios
Join Date: Mar 2009
Location: Vancouver, BC, Canada
Posts: 740
Rep Power: 28
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 3 others like this.
mturcios777 is offline   Reply With Quote

Reply

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 21:59
.setSet problems Grimoli OpenFOAM 9 July 31, 2013 14:24
topoSet geometry than more than 1 box Grimoli OpenFOAM Pre-Processing 1 April 14, 2013 09:54
Geometry problem!! Grimoli OpenFOAM Running, Solving & CFD 2 April 4, 2013 04:17
[mesh manipulation] cellSet - how to define a hollow cylinder RugbyGandalf OpenFOAM Meshing & Mesh Conversion 2 December 17, 2012 03:34


All times are GMT -4. The time now is 01:31.