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

[OpenFOAM] 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 Search this Thread Display Modes
Old   April 10, 2006, 15:09
Default How to zoom in only a region of my geometry
  #1
Member
 
Nico Petry
Join Date: Mar 2009
Posts: 36
Rep Power: 17
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: 4,225
Rep Power: 51
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: 4,225
Rep Power: 51
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: 17
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 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
Maximum number of iterations exceeded chtmultiregionsimpleFoam Moncef OpenFOAM Running, Solving & CFD 28 July 13, 2020 14:26
conjugate heat transfer in OpenFOAM skuznet OpenFOAM Running, Solving & CFD 99 March 16, 2017 05:07
[Commercial meshers] Using starToFoam clo OpenFOAM Meshing & Mesh Conversion 33 September 26, 2012 04:04
Problem Importing Geometry ProE to CFX fatb0y CFX 3 January 14, 2012 19:42
[Gmsh] Import gmsh msh to Foam adorean OpenFOAM Meshing & Mesh Conversion 24 April 27, 2005 08:19


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