|
[Sponsors] |
[snappyHexMesh] Using pentagonal cells for refinement |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 14, 2022, 05:51 |
Using pentagonal cells for refinement
|
#1 |
New Member
Pere
Join Date: Mar 2022
Location: Mallorca
Posts: 16
Rep Power: 4 |
Dear all,
I have been trying to refine my (2D) mesh in a certain region, let's say with a refinement level of 1. I have done so in two different ways: using blockMesh and then mergePatchPairs, and through snappyHexMesh. Both methods yield similar results: the "transition zones" between the different regions of the mesh use tetra elements (see first figure). In spannyHexMesh, I know you can control the "smoothness" of this transition with the nCellsBetweenLevels entry. So far so good... My doubt comes from having seen meshes where no transition zone exists at all by using snappyHexMesh (see the second figure, taken from the wiki). Note that this is neither a non-conformal mesh nor a "hanging node" situation. It's just that some of the cells are now pentagons instead of squares (if you allow me to use the 2D jargon) and thus can have 5 neighbours instead of 4. Now, my question can be summarized into the following:
Thank you very much! |
|
April 14, 2022, 10:36 |
|
#2 |
Senior Member
Yann
Join Date: Apr 2012
Location: France
Posts: 1,236
Rep Power: 29 |
Hi Pere,
This is a matter of visualization in ParaView. When loading your case in ParaView, untick the "Decompose polyhedra" option and you should get the same visualization as in the wiki. Cheers, Yann |
|
April 15, 2022, 06:27 |
|
#3 |
New Member
Pere
Join Date: Mar 2022
Location: Mallorca
Posts: 16
Rep Power: 4 |
Hi Yann,
Thank you very much for the rapid response! I would have never guessed it was a visualization thing. I did not know that some ParaView filters are not good at handling polyhedra and that's why it decomposes them into tetra and pyramids. Good to know! |
|
Tags |
mesh, pentagon, refinement |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
problem with parallel calculations OF8 mpirun | otaolafr | OpenFOAM Programming & Development | 0 | January 5, 2021 08:33 |
[snappyHexMesh] Error snappyhexmesh - Multiple outside loops | avinashjagdale | OpenFOAM Meshing & Mesh Conversion | 53 | March 8, 2019 10:42 |
[snappyHexMesh] sHM layer process keeps getting killed | MBttR | OpenFOAM Meshing & Mesh Conversion | 4 | August 15, 2016 04:21 |
[snappyHexMesh] No layers in a small gap | bobburnquist | OpenFOAM Meshing & Mesh Conversion | 6 | August 26, 2015 10:38 |
snappyhexmesh remove blockmesh geometry | philipp1 | OpenFOAM Running, Solving & CFD | 2 | December 12, 2014 11:58 |