|
[Sponsors] |
[OpenFOAM] How to zoom in only a region of my geometry |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 10, 2006, 16:09 |
How to zoom in only a region of my geometry
|
#1 |
Member
Nico Petry
Join Date: Mar 2009
Posts: 36
Rep Power: 17 |
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 |
|
April 10, 2006, 17:44 |
Two ways that I can think of (
|
#2 |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
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 |
|
April 10, 2006, 17:50 |
I should think before posting:
|
#3 |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
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 |
|
April 11, 2006, 03:41 |
Thank you very much for your f
|
#4 |
Member
Nico Petry
Join Date: Mar 2009
Posts: 36
Rep Power: 17 |
Thank you very much for your fast answer!
bye Nico |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Maximum number of iterations exceeded chtmultiregionsimpleFoam | Moncef | OpenFOAM Running, Solving & CFD | 28 | July 13, 2020 15:26 |
conjugate heat transfer in OpenFOAM | skuznet | OpenFOAM Running, Solving & CFD | 99 | March 16, 2017 06:07 |
[Commercial meshers] Using starToFoam | clo | OpenFOAM Meshing & Mesh Conversion | 33 | September 26, 2012 05:04 |
Problem Importing Geometry ProE to CFX | fatb0y | CFX | 3 | January 14, 2012 20:42 |
[Gmsh] Import gmsh msh to Foam | adorean | OpenFOAM Meshing & Mesh Conversion | 24 | April 27, 2005 09:19 |