|
[Sponsors] |
April 17, 2016, 10:51 |
Different Cell ID in ParaView
|
#1 |
New Member
Join Date: Jan 2016
Posts: 19
Rep Power: 10 |
Hello.
As the heading suggests, I have a problem when accessing specific Cell IDs in ParaView. I noticed the problem when i wanted to visualize some operations on single cells. What I do to get the data is simply: Code:
if (iCell == 14154) { // write data } Any ideas? Kind regards, Michael |
|
April 17, 2016, 10:58 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Quick questions:
__________________
|
|
April 17, 2016, 11:10 |
|
#3 |
New Member
Join Date: Jan 2016
Posts: 19
Rep Power: 10 |
Thanks for your quick reply.
|
|
April 17, 2016, 11:17 |
|
#4 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Quick answer: Mmm... then I guess that you didn't turn off cell decomposition or turn on the "VTK polyhedral" option in ParaView.
For more details on what I mean exactly, see this FAQ: http://openfoamwiki.net/index.php/FA...is_in_ParaView |
|
April 17, 2016, 11:55 |
|
#5 |
New Member
Join Date: Jan 2016
Posts: 19
Rep Power: 10 |
Hm, I looked into that but the results where the same.
I will look a little bit more around if there is a mistake in my code, but I really do not think so. However, I made a picture of my paraFoam visualization. Maybe it helps for further ideas. What I did in the code is: Code:
label oneCell = 14514; if (iCell == oneCell) { intCell[iCell] = iCell; // additionally some values are written } |
|
April 17, 2016, 15:44 |
|
#6 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Quick note:
Quote:
Looks to me like you loaded the surface mesh as well (the patches) |
||
April 17, 2016, 16:47 |
|
#7 |
New Member
Join Date: Jan 2016
Posts: 19
Rep Power: 10 |
That 's it... Sometimes i have to doubt myself.
I was blindly following my standad procedure when calling paraFoam that I did not recognize that I only activated the visualization of one patch. Of course, then the Cell IDs do not match. ^^ Thank you for your help! |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[snappyHexMesh] snappyhexmesh cell splitted ununiform..2D case | sharonyue | OpenFOAM Meshing & Mesh Conversion | 1 | April 23, 2013 00:34 |
paraFoam reader for OpenFOAM 1.6 | smart | OpenFOAM Installation | 13 | November 16, 2009 22:41 |
monitoring cell | Jane | Siemens | 2 | March 4, 2004 22:01 |
cell to cell relation | CMB | Siemens | 1 | December 4, 2003 05:05 |