CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   Unstructured meshes along the border of refineMesh. (https://www.cfd-online.com/Forums/openfoam/192301-unstructured-meshes-along-border-refinemesh.html)

Katt September 1, 2017 08:03

Unstructured meshes along the border of refineMesh.
 
1 Attachment(s)
Hi,

I came across the refineMesh utility of Openfoam to refine specific portions of the domain.

I can partially get what I want (i.e. I can refine the region where I want to refine) but along the border of finer and coarser meshes, I see unstructured meshes which I preferably do not want. [Attached Figure].

Reason being, I need to run few additional nonOrthogonalCorrectors just for these few unstructured cells.

Any idea on how to get over this issue,
K

sati September 1, 2017 11:13

Hi,
Those cells aren't really like that, it is only the way paraview displays them.
You can see how your mesh really is by ticking the "use VTKPolyhedron" option in paraview.

Katt September 1, 2017 12:10

Thanks,

I am using Paraview version-5.x and can you guide where can i find that option?

I came across the following page:
https://openfoamwiki.net/index.php/FAQ/Postprocessing

Neither of the two mentioned steps in the web-page, worked for me.

That is,
1. Extract cells by region: for my 2D case when I apply this filter along the 3rd dimension, I see nothing. Is this filter applicable for 3D cases only?

2. Use VTK Polyhedron: I cannot find this option. I tried in paraviews search engine as well but hasn't shown anything.

sati September 4, 2017 03:42

The option is called "VTK Polyhedra" in paraview 5.4.0 and "use VTKPolyhedron" in paraview 5.0.1

It both versions, it is next to the "Update GUI" of the case properties.

Tobi September 13, 2017 05:30

Just as an hint. If one used the paraview command and not paraFoam it is named decompose polyhedra. Actually, the line does not exist but the cell (including this line) is not a hexaeder anymore -> it become a polyhedra (FVM).


All times are GMT -4. The time now is 20:57.