CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > ParaView

How to display cell number in paraView

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree10Likes
  • 8 Post By anothr_acc
  • 2 Post By anothr_acc

Reply
 
LinkBack Thread Tools Display Modes
Old   June 18, 2012, 10:27
Default How to display cell number in paraView
  #1
Member
 
ms
Join Date: Mar 2009
Location: West London
Posts: 44
Rep Power: 8
anothr_acc is on a distinguished road
Hi everyone. I'm quite new to paraView and I'm using it with openFoam. I'd like to display cell numbers so I can pick a reference pressure cell number but try as I might I can't see how!

Can somebody help me please?

Best regards,

Mark.
anothr_acc is offline   Reply With Quote

Old   June 19, 2012, 09:15
Default
  #2
Member
 
ms
Join Date: Mar 2009
Location: West London
Posts: 44
Rep Power: 8
anothr_acc is on a distinguished road
So, I'll answer my own question. Maybe it will help someone else sometime.

1) Load the mesh.
2) Split the mesh view by clicking on one of the top right buttons next to the graphical window.
3) Set the new frame as being, `spreadsheet view'
4) Change `Attribute' to `cell data'.
5) Change the view from `surface' to `wireframe' to enable cells inside the volume to be viewed.
6) Select an entry in the spreadsheet view. The cell should now be highlighted.
7) Change selected cell with mouse, arrow keys, page up/down etc until the highlighted cell is in a good area. Note the cell number.

The cells start at number zero, as does openFoam so the cell number can be directly copied. As for point and click, it's beyond me so far. Still, this is better than selecting cell zero and hoping for the best!

Good luck all.

Best regards,

Mark.
anothr_acc is offline   Reply With Quote

Old   June 19, 2012, 12:49
Default
  #3
Member
 
ms
Join Date: Mar 2009
Location: West London
Posts: 44
Rep Power: 8
anothr_acc is on a distinguished road
I'll even go one better: extraction of the cell number at the centre of the domain:

1) Clip the mesh three times, once with a normal in each direction.
2) Zoom into the corner containing the cell of interest.
3) View -> Selection inspector. Create selection. Selection type: Location. Field type: cell. Display style / cell label / visible.
4) Active selection: invert selection.

Cells should now be numbered around the region of interest. Note one down.

5) Active selection: de-invert selection.
6) Change to selection type: IDs. Field type, cell.
7) Delete all entries in the new list and create a new entry. Specify the index value just noted down and composite ID.
8) View original mesh.

Hopefully the cell is now highlighted....
Mojtaba.a and woodwick like this.
anothr_acc is offline   Reply With Quote

Old   July 3, 2014, 19:06
Default
  #4
New Member
 
Akshay Sapra
Join Date: Jul 2014
Posts: 2
Rep Power: 0
anotherbrownkid is on a distinguished road
But how would i select a particular cell and find out its dimension? I have over a million cells
anotherbrownkid is offline   Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cell volume in Paraview jmcneill OpenFOAM Paraview & paraFoam 0 May 21, 2012 11:30
Cells with t below lower limit Purushothama CD-adapco 2 May 31, 2010 21:58
external flow with snappyHexMesh chelvistero OpenFOAM 11 January 15, 2010 20:43
Number of Droplets per Cell viv05 OpenFOAM 2 August 11, 2009 02:35
Cell Courant number T FLUENT 0 January 18, 2008 04:27


All times are GMT -4. The time now is 10:51.