|
[Sponsors] |
February 13, 2014, 13:24 |
difference between cellSet and cellZoneSet
|
#1 |
Senior Member
Join Date: Nov 2012
Location: Bavaria
Posts: 145
Rep Power: 13 |
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 |
|
February 14, 2014, 04:12 |
|
#2 |
Senior Member
Olivier
Join Date: Jun 2009
Location: France, grenoble
Posts: 272
Rep Power: 17 |
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 |
|
February 14, 2014, 13:39 |
|
#3 |
Senior Member
Marco A. Turcios
Join Date: Mar 2009
Location: Vancouver, BC, Canada
Posts: 740
Rep Power: 28 |
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. |
|
|
|
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 |