|
[Sponsors] |
![]() |
![]() |
#1 |
Senior Member
Join Date: Oct 2009
Posts: 140
Rep Power: 16 ![]() |
Hi Foamers,
how can I get from a pointZone a cellZone? cheers Peter |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Super Moderator
Philip Cardiff
Join Date: Mar 2009
Location: Dublin, Ireland
Posts: 1,089
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 |
|
![]() |
![]() |
![]() |
![]() |
#3 |
Senior Member
Join Date: Oct 2009
Posts: 140
Rep Power: 16 ![]() |
Thank you very much!
I ll give it a try! cheers Peter |
|
![]() |
![]() |
![]() |
![]() |
#4 |
Senior Member
Join Date: Oct 2009
Posts: 140
Rep Power: 16 ![]() |
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. |
|
![]() |
![]() |
![]() |
![]() |
#5 | |
Super Moderator
Philip Cardiff
Join Date: Mar 2009
Location: Dublin, Ireland
Posts: 1,089
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 |
||
![]() |
![]() |
![]() |
![]() |
#6 |
Senior Member
Join Date: Oct 2009
Posts: 140
Rep Power: 16 ![]() |
Sorry it was my fault!
It works ![]() Thank you very much!! |
|
![]() |
![]() |
![]() |
|
|
![]() |
||||
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 05:48 |
porous media (cellzone) | thisisit | FLUENT | 1 | November 24, 2011 03:32 |
How to compute cellZone volume | vinz | OpenFOAM Programming & Development | 11 | August 2, 2010 17:38 |
[snappyHexMesh] How can I put snappy layers in a separate cellzone? | overkligheten | OpenFOAM Meshing & Mesh Conversion | 1 | April 5, 2010 09:18 |
operating on a specific cellZone ??? | kdarc | OpenFOAM | 1 | May 11, 2009 10:47 |