CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Paraview & paraFoam

watching 2D grid in paraview

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

Reply
 
LinkBack Thread Tools Display Modes
Old   January 5, 2014, 08:10
Default watching 2D grid in paraview
  #1
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,209
Rep Power: 19
immortality is on a distinguished road
Hi all,
I want to see 2D grid cells of a case but 3D cells are always shown in the paraview as attachment although I have selected out empty-faces.
Attached Images
File Type: jpg cells.jpg (92.0 KB, 19 views)
__________________
Injustice Anywhere is a Threat for Justice Everywhere.Martin Luther King.
To Be or Not To Be,Thats the Question!
The Only Stupid Question Is the One that Goes Unasked.
immortality is offline   Reply With Quote

Old   January 5, 2014, 09:38
Default
  #2
Senior Member
 
akidess's Avatar
 
Anton Kidess
Join Date: May 2009
Location: Delft, Netherlands
Posts: 1,164
Rep Power: 20
akidess will become famous soon enough
Make a slice.
__________________
*On twitter @akidTwit
*Spend as much time formulating your questions as you expect people to spend on their answer.
*Join the OpenFOAM stackexchange Q&A site: http://area51.stackexchange.com/prop...oHPxcPqde7HtA2
akidess is offline   Reply With Quote

Old   January 5, 2014, 09:59
Default
  #3
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 9,748
Blog Entries: 39
Rep Power: 103
wyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of light
To complement Anton's answer:
  1. If using the slice, make sure that you turned on the VTKPolyhedron option, when using OpenFOAM's plug-in for ParaView.
  2. In case slicing of the polyhedral mesh doesn't work as expected (if triangles show up where they don't actually exist), use the filter "Extract Cells by Region" and turn on the parallel view mode: http://paraview.org/Wiki/ParaView/Di...#View_Settings
wyldckat is offline   Reply With Quote

Old   January 5, 2014, 14:23
Default
  #4
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,209
Rep Power: 19
immortality is on a distinguished road
Hi,thanks both Anton and Bruno,
@Bruno: I missed to say about I used slice with excess triangles as you mentioned, but I can't find VTKpolyhedron option and Extract cells by Region doesn't have any effect.
__________________
Injustice Anywhere is a Threat for Justice Everywhere.Martin Luther King.
To Be or Not To Be,Thats the Question!
The Only Stupid Question Is the One that Goes Unasked.
immortality is offline   Reply With Quote

Old   January 5, 2014, 15:41
Default
  #5
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 9,748
Blog Entries: 39
Rep Power: 103
wyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of light
Hi Ehsan,

I've written in some detail about this some 18 months ago, with images as well : http://www.cfd-online.com/Forums/ope...tml#post372605 post #6

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   January 5, 2014, 16:38
Default
  #6
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,209
Rep Power: 19
immortality is on a distinguished road
dear Bruno,I didn't grasp how to use the second introduction:
Quote:
In case slicing of the polyhedral mesh doesn't work as expected (if triangles show up where they don't actually exist), use the filter "Extract Cells by Region" and turn on the parallel view mode: http://paraview.org/Wiki/ParaView/Di...#View_Settings
because the link can't open for hours,don't know why.I'll be thankful if explain a little more the steps have to be done. if I use "Extract Cells by Region" there is no need to slide filter,is there?
__________________
Injustice Anywhere is a Threat for Justice Everywhere.Martin Luther King.
To Be or Not To Be,Thats the Question!
The Only Stupid Question Is the One that Goes Unasked.
immortality is offline   Reply With Quote

Old   January 5, 2014, 17:13
Default
  #7
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 9,748
Blog Entries: 39
Rep Power: 103
wyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of light
Quote:
Originally Posted by immortality View Post
because the link can't open for hours,don't know why.I'll be thankful if explain a little more the steps have to be done. if I use "Extract Cells by Region" there is no need to slide filter,is there?
Sorry about that. I completely forgot at what time today some of the services on paraview.org are down for maintenance for a few hours.

"Extract Cells by Region" is a filter similar to the "Slice" and "Clip" filters, but instead of giving a slide-like view of the mesh, it actually gives us the cells within that region. But the detail is that the polyhedral cells cannot be decomposed, otherwise this filter will show the cells in decomposed form, mostly as tetrahedral cells.

As for the "Parallel" option:
  1. As shown in the first 2 attached images, click in any of the positions where the mouse cursor is shown in each image. Both will open the "View settings" window.
  2. In the 3rd image the mouse cursor is showing where the parallel option can be turned on.
__________________
wyldckat is offline   Reply With Quote

Old   January 5, 2014, 17:30
Default
  #8
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,209
Rep Power: 19
immortality is on a distinguished road
dear Bruno,there was no need to filters,parallel projection solved the problem.thanks.
__________________
Injustice Anywhere is a Threat for Justice Everywhere.Martin Luther King.
To Be or Not To Be,Thats the Question!
The Only Stupid Question Is the One that Goes Unasked.
immortality 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
Dynamic Mesh resulting in Curved Grid Lines adubois FLUENT 3 April 17, 2014 10:06
Watching the chtMultiRegionFoam tutorial in Paraview anke OpenFOAM 1 March 1, 2010 09:38
Beginner's Question - cannot see grid in ParaView fishlurch OpenFOAM 3 January 7, 2010 10:49
GRID TO GRID INTERPOLATION in FLUENT calogero FLUENT 3 June 4, 2003 08:32
Numerical methods for discontinuous grid interfaces? Hansong Hang Main CFD Forum 12 September 16, 1998 22:26


All times are GMT -4. The time now is 05:39.