|
[Sponsors] |
July 12, 2012, 12:05 |
pointZone to cellZone
|
#1 |
Senior Member
Join Date: Oct 2009
Posts: 140
Rep Power: 17 |
Hi Foamers,
how can I get from a pointZone a cellZone? cheers Peter |
|
July 15, 2012, 08:58 |
|
#2 |
Super Moderator
Philip Cardiff
Join Date: Mar 2009
Location: Dublin, Ireland
Posts: 1,097
Rep Power: 34 |
Hi Peter,
I think you can use the setSet utility to do what you want. Something like this: start setSet in your case: Code:
setSet Code:
pointSet p0 new zoneToPoint yourPointZoneName Code:
cellSet c0 new pointToCell p0 Code:
quit Code:
setsToZones -noFlipMap I might have made a few mistakes with the syntax but it should do what you want with a bit of fiddling. Best regards, Philip |
|
July 16, 2012, 08:35 |
|
#3 |
Senior Member
Join Date: Oct 2009
Posts: 140
Rep Power: 17 |
Thank you very much!
I ll give it a try! cheers Peter |
|
July 16, 2012, 09:02 |
|
#4 |
Senior Member
Join Date: Oct 2009
Posts: 140
Rep Power: 17 |
This works fine for a pointSet, which is in ./polyMesh/sets/.
In my case I have a pointZone in ./polyMesh and I like to have a cellZone out of it. |
|
July 16, 2012, 10:01 |
|
#5 | |
Super Moderator
Philip Cardiff
Join Date: Mar 2009
Location: Dublin, Ireland
Posts: 1,097
Rep Power: 34 |
Quote:
The above method should work fine to create a pointZone from a cellZone. As I explained above, you must create a pointSet from your pointZone, then create a cellSet from your pointSet, then create a cellZone from the cellSet i.e. pointZone -> pointSet -> cellSet -> cellZone Philip |
||
July 17, 2012, 04:33 |
|
#6 |
Senior Member
Join Date: Oct 2009
Posts: 140
Rep Power: 17 |
Sorry it was my fault!
It works I will try to adapt it within my mesh class. Thank you very much!! |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[mesh manipulation] Selecting cellzone using cellSet in OpenFOAM-1.7.0 | ggoggodak85 | OpenFOAM Meshing & Mesh Conversion | 0 | April 25, 2012 06:48 |
porous media (cellzone) | thisisit | FLUENT | 1 | November 24, 2011 04:32 |
How to compute cellZone volume | vinz | OpenFOAM Programming & Development | 11 | August 2, 2010 18:38 |
[snappyHexMesh] How can I put snappy layers in a separate cellzone? | overkligheten | OpenFOAM Meshing & Mesh Conversion | 1 | April 5, 2010 10:18 |
operating on a specific cellZone ??? | kdarc | OpenFOAM | 1 | May 11, 2009 11:47 |