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

[OpenFOAM] Display internal field together with boundaries

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

Like Tree1Likes
  • 1 Post By santos

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 10, 2009, 06:38
Default Display internal field together with boundaries
  #1
New Member
 
Gunnar Werte
Join Date: Jun 2009
Posts: 7
Rep Power: 16
gunnar is on a distinguished road
Dear Openfoam community,
I am new to this amazing CFD tool, and have a (maybe) stupid question about paraFoam.

How can I display both boundary patches and internal field from an Openfoam calculation? For example pressure contours in a pipe from an icoFoam result together with the pipe surface (clipped, of course, so that it doesn't hide the contours).

Do I have to load the Openfoam source twice and in one source enable only the internal field, and in the other enable only the boundaries? I expect this will be very inefficient for large data sets. Is it possible to put a kind of T-piece into the pipeline, basically branching the Openfoam source so that I can work on the internal field in one branch and on the boundaries in the other branch?

I hope my question is more or less clear. If you think the answer is trivial, please give a short step-by-step explanation, because I couldn't find a satisfying solution.

Gunnar

Last edited by gunnar; June 10, 2009 at 07:01.
gunnar is offline   Reply With Quote

Old   June 11, 2009, 05:52
Default
  #2
New Member
 
Gunnar Werte
Join Date: Jun 2009
Posts: 7
Rep Power: 16
gunnar is on a distinguished road
For better illustration of my question please have a look at the attached screenshot.

The pipeline browser shows two cavity.OpenFOAM entries.
The first one is used to display the pressure field on a cutplane.
The second one (visible in the object inspector) is used to display the walls in a solid color.

If I wanted to display more regions with different display parameters each, I can't believe that adding another cavity.OpenFOAM for each reagion is the way to go?

How can I extract either the movingWall and fixedWalls or the internalMesh from a single cavity.OpenFOAM (where all regions are enabled) in order to display each extraction with different parameters?

Gunnar
Attached Images
File Type: jpg parafoam.jpg (53.9 KB, 200 views)
gunnar is offline   Reply With Quote

Old   June 25, 2009, 04:21
Default
  #3
New Member
 
Gunnar Werte
Join Date: Jun 2009
Posts: 7
Rep Power: 16
gunnar is on a distinguished road
Does nobody have a solution how to display different parts (boundaries and internal mesh) of the openfoam output with different properties (solid color, different variables) without loading the complete output several times for each output?

My actual calculation (not the example in the previous post) is so large that I cannot open it more than once in paraFoam. Currently I have to switch between either displaying either the internal mesh or parts of the boundaries. This is time consuming, and the separate displays are difficult to interprete.

Gunnar
gunnar is offline   Reply With Quote

Old   June 25, 2009, 04:49
Default
  #4
Senior Member
 
santos's Avatar
 
Jose Luis Santos
Join Date: Mar 2009
Location: Portugal
Posts: 215
Rep Power: 18
santos is on a distinguished road
Send a message via Skype™ to santos
Hi,

I think you can use the 'Extract block' filter in Paraview.

Regards,
Jose Santos
bjnieuwboer likes this.
santos is offline   Reply With Quote

Old   June 25, 2009, 12:00
Default
  #5
New Member
 
Gunnar Werte
Join Date: Jun 2009
Posts: 7
Rep Power: 16
gunnar is on a distinguished road
perfect! Extract Block is what I needed.
gunnar is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
creating an internal field? maybee OpenFOAM Programming & Development 2 February 4, 2021 17:15
[Other] dynamicTopoFVMesh and pointDisplacement RandomUser OpenFOAM Meshing & Mesh Conversion 6 April 26, 2018 07:30
mapping Data to internal field cyln OpenFOAM Running, Solving & CFD 1 April 10, 2018 05:19
Omega.correctBoundaryConditions() changes the internal field values? ripperjack OpenFOAM Programming & Development 2 January 26, 2017 10:55
Display internal field together with boundaries in paraFoam gunnar OpenFOAM Post-Processing 0 June 10, 2009 05:39


All times are GMT -4. The time now is 15:08.