CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Visualization & Post-Processing Software > ParaView

[OpenFOAM] View Refinemet Regions in Paraview

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 30, 2012, 15:16
Default View Refinemet Regions in Paraview
  #1
New Member
 
Join Date: Nov 2009
Posts: 28
Rep Power: 16
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, 06:58
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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, 09:34
Default
  #3
New Member
 
Join Date: Nov 2009
Posts: 28
Rep Power: 16
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, 16:56
Default
  #4
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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, 106 views)
File Type: jpg Flange_02.jpg (96.5 KB, 76 views)
__________________
wyldckat is offline   Reply With Quote

Reply


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
[OpenFOAM] Paraview 3.98.0 does not update list of mesh regions letzel ParaView 6 April 19, 2021 15:57
[OpenFOAM] How to view openfoam results in paraview Marineboy ParaView 9 June 19, 2019 21:16
[General] Paraview nice animation PyGloo ParaView 4 June 7, 2012 12:34
Newbie: Install ParaView 3.81 on OF-1.6-ext/OpenSuse 11.2? lentschi OpenFOAM Installation 1 March 9, 2011 02:32
Paraview not found fusij OpenFOAM Installation 2 January 1, 2011 20:44


All times are GMT -4. The time now is 13:00.