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

How to zoom in only a region of my geometry

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

Reply
 
LinkBack Thread Tools Display Modes
Old   April 10, 2006, 15:09
Default Hi my problem is that my ge
  #1
Member
 
Nico Petry
Join Date: Mar 2009
Posts: 36
Rep Power: 8
nico is on a distinguished road
Hi

my problem is that my geometry exist of a porous region and a "normal" navier stokes region. So if want to visualise the vecolity i got the following problem. Either i can't see anything in the porous region because the velocity in this region is very very low or i take bigger arrows and cant see anything because then they are m uch too big in the ns region. So how is it possible to zoom in only a part of my geometry?

Thanks
nico is offline   Reply With Quote

Old   April 10, 2006, 16:44
Default Two ways that I can think of (
  #2
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 3,915
Rep Power: 40
gschaider will become famous soon enoughgschaider will become famous soon enough
Two ways that I can think of (depending on how you specify the porous region)

1. Assuming you have a field filter that is 1 in the porous region and 0 elsewhere: in paraFoam use the Calculator-filter and specify a new (cell based) vector-field U*filter. These should give you OK cell-values, but for vectors paraFoam will insist on interpolatin it to the vertices (and propably the values at the porous/free-interface will be wrong)

2. The porous region is specified by a cellSet: use foamToVTK with the -cellSet option to write out the data just for that cellSet and view the data with paraview (or import it into paraFoam in addition to the normal case data)
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request
gschaider is offline   Reply With Quote

Old   April 10, 2006, 16:50
Default I should think before posting:
  #3
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 3,915
Rep Power: 40
gschaider will become famous soon enoughgschaider will become famous soon enough
I should think before posting: there is a simpler way for the first option (the one with the filter-field): Use the Threshold-filter of paraFoam with values that are only valid in the porous material (in my example 0.5 < filter < 1.5). Voila: You get exactly what you want.
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request
gschaider is offline   Reply With Quote

Old   April 11, 2006, 02:41
Default Thank you very much for your f
  #4
Member
 
Nico Petry
Join Date: Mar 2009
Posts: 36
Rep Power: 8
nico is on a distinguished road
Thank you very much for your fast answer!

bye Nico
nico 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
How to zoom in a residual plot? Ken Adams FLUENT 4 May 24, 2007 17:20
mark a region gandhi FLUENT 1 October 6, 2006 09:13
Zoom display HAR FLUENT 1 June 22, 2006 17:34
zoom or reset the residuals window? Ralf Schmidt FLUENT 1 May 12, 2006 04:20
zoom visualize TOM CFX 5 August 9, 2001 04:27


All times are GMT -4. The time now is 07:22.