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

View Refinemet Regions in Paraview

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

Reply
 
LinkBack Thread Tools Display Modes
Old   November 30, 2012, 16:16
Default View Refinemet Regions in Paraview
  #1
New Member
 
Join Date: Nov 2009
Posts: 28
Rep Power: 7
stark22 is on a distinguished road
Hello Everyone,

Is it possible to view the refinement regions in paraview without viewing the mesh?

My goal is to simply see my .stl file with the corresponding refinement regions.

Thank you!
stark22 is offline   Reply With Quote

Old   December 2, 2012, 07:58
Default
  #2
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,251
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Greetings stark22,

I'm not certain of what you're asking... what exactly do you want to see? Is it:
  1. View the refinement before running snappyHexMesh? If this is the case, you can try SwiftSnap: http://openfoamwiki.net/index.php/SwiftSnap
  2. View mapped colors on the STL surface of the refinement levels?
  3. View 3D contours of the refinement regions?
  4. View only the mesh refined on the STL surface?
  5. Something else?
Best regards,
Bruno
wyldckat is offline   Reply With Quote

Old   December 3, 2012, 10:34
Default
  #3
New Member
 
Join Date: Nov 2009
Posts: 28
Rep Power: 7
stark22 is on a distinguished road
Bruno,

Thank you for the response. I'm looking for a wire frame view of the refinement regions with respect to the imported geometry. So what I would like to see is the imported STL file along with the refinement boxes that I have created.

Also, if it's not to much trouble I'm interested in options 2 and 3 if you would care to elaborate.

Thank you.
stark22 is offline   Reply With Quote

Old   December 3, 2012, 17:56
Default
  #4
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,251
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Hi stark22,

Attached is the basis for most of the examples.
  1. You choose to also load the "cellLevel" volume field.
  2. You can use the "Threshold" filter for isolating the cells that are using a certain refinement level.
Viewing contours is a bit pointless... so the "Threshold" filter is best for this. And make sure you use the cell mode (the orange cube in the "Scalars" line on the second image), not the point mode.


As for mapping the values onto the STL surface, you can use the filter "Resample with Dataset". Keep in mind that this filter requires both a "Source" and an "Input"... which I always confuse the two, so you better do some trial-and-error.


Last but not least, you've also got the filter "Extract Cells By Region", which might come in handy.


Best regards,
Bruno
Attached Images
File Type: jpg Flange_01.jpg (95.3 KB, 21 views)
File Type: jpg Flange_02.jpg (96.5 KB, 17 views)
wyldckat 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
Paraview User defined view prapanj ParaView 3 January 3, 2014 21:54
ParaView Error messages when accessing View menu Wormer OpenFOAM Bugs 36 January 14, 2013 05:03
How to view openfoam results in paraview Marineboy OpenFOAM Paraview & paraFoam 5 July 10, 2012 03:14
ParaView 3.6.1 & 3.7.0: Can't view STL files johannes OpenFOAM Paraview & paraFoam 2 December 3, 2009 15:07
paraFoam reader for OpenFOAM 1.6 smart OpenFOAM Installation 13 November 16, 2009 22:41


All times are GMT -4. The time now is 01:24.