Diagonal Through Rectangular Mesh Cell

A subforum specific to the development of the OpenFoam-based workbenches ( Cfd https://github.com/qingfengxia/Cfd and CfdOF https://github.com/jaheyns/CfdOF )

Moderator: oliveroxtoby

Post Reply
User avatar
markinca
Posts: 56
Joined: Sun Apr 30, 2023 2:41 pm

Diagonal Through Rectangular Mesh Cell

Post by markinca »

Both cfMesh and snappyHexMesh seem to make rectangular cells but with a diagonal through the cell. Is there a way to remove that diagonal so the cell are pure hexagonal cells with all faces at near 90 degrees (at least near center)?

I am used to using SimScale and in that software, snappyHexMesh always seems to generate cells without any diagonal.
Attachments
Cube.FCStd
(9.61 KiB) Downloaded 27 times
User avatar
NewJoker
Veteran
Posts: 3082
Joined: Sun Oct 11, 2020 7:49 pm

Re: Diagonal Through Rectangular Mesh Cell

Post by NewJoker »

This is just a matter of visualization. If you open the mesh in ParaView, it will look normal: viewtopic.php?t=74612
User avatar
markinca
Posts: 56
Joined: Sun Apr 30, 2023 2:41 pm

Re: Diagonal Through Rectangular Mesh Cell

Post by markinca »

Ok, then is there a way to turn that off in the visualization? It is difficult to tell where the "real" mesh is.
User avatar
NewJoker
Veteran
Posts: 3082
Joined: Sun Oct 11, 2020 7:49 pm

Re: Diagonal Through Rectangular Mesh Cell

Post by NewJoker »

I don’t think it can be disabled. But you can press the button to open the mesh in ParaView so you don’t have to import the mesh there manually.
User avatar
oliveroxtoby
Posts: 837
Joined: Fri Dec 23, 2016 9:43 am
Location: South Africa

Re: Diagonal Through Rectangular Mesh Cell

Post by oliveroxtoby »

markinca wrote: Thu May 25, 2023 6:35 pm Ok, then is there a way to turn that off in the visualization? It is difficult to tell where the "real" mesh is.
This isn't going to happen any time soon as neither the FEM mesh visualisation nor the mesh workbench are currently able to display the polyhedral cells/faces generated at the refinement boundaries.
Post Reply