CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS

Problem converting from Tetrahedral to Polyhedral Mesh

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 24, 2020, 12:34
Default Problem converting from Tetrahedral to Polyhedral Mesh
  #1
New Member
 
Iakov Bobrov
Join Date: Mar 2020
Posts: 4
Rep Power: 6
iakov1703 is on a distinguished road
Hi everyone,

I am trying to run my firts ever 3D simulation in Fluent - over a supersonic rocket, and I would like to ask for help with the following.

I understood that I would need to implement polyhedral mesh to save time and cut the cells number to be below 500,000 (uni license). For some reason, I do not always get the polyhedral mesh. Often, surface of the rocket is meshed with the polyhedrals but with the lines inside (or triangles?), see below.
pic1.PNG
pic2.PNG

So this way the number of cells adjacent to the rocket actually increases!

I noticed that this does not happen when I get rid of the inflation layer, see below.
pic3.png

Also, attaching a picture with the tetrahedral cells, before converting them.
pic5.png

Could someone point to me what am I doing wrong, please?

And the second question is, I found it really hard to mesh the nosecone, which is a sharp geometry. And the resultant mesh does not represent the geometry - I thought the reason could be that the mesh is not fine enough. Then, is it simply adding as many cells as possible near the sharp tip? I have tried face sizing and the sphere of influence - are there better strategies?
pic4.PNG
Or is it not to do with the number of cells?

Thank you!

Last edited by iakov1703; March 24, 2020 at 15:19.
iakov1703 is offline   Reply With Quote

Old   March 25, 2020, 06:51
Default Polyhedral
  #2
Senior Member
 
vinerm's Avatar
 
Vinerm
Join Date: Jun 2009
Location: Nederland
Posts: 2,946
Blog Entries: 1
Rep Power: 36
vinerm will become famous soon enough
There are two aspects of what you are doing and observing. First, Fluent will NOT convert hexahedral cells to polyhedral. So, if the boundary layer mesh is made of hex cells, those will be maintained as it is. If those are made of triangular prisms, then those will be converted. However, that's where the second aspect comes into play. Since you are looking at the mesh on the surfaces, inflation layer will always show rectangles. You have to mark a few cells near the boundary and then display the register. You can use Adapt > Boundary to mark cells. Do not click on Adapt. Just choose the wall of the nose cone, use 1 or 2 cell distance and then click on Mark. Go to Manage > Display and this will display 3D cells. You may have to enable options for displaying it in 3D under the options. All these are accessible from Adapt > Manage.
__________________
Regards,
Vinerm

PM to be used if and only if you do not want something to be shared publicly. PM is considered to be of the least priority.
vinerm is offline   Reply With Quote

Old   March 25, 2020, 10:09
Default
  #3
New Member
 
Iakov Bobrov
Join Date: Mar 2020
Posts: 4
Rep Power: 6
iakov1703 is on a distinguished road
Quote:
Originally Posted by vinerm View Post
There are two aspects of what you are doing and observing. First, Fluent will NOT convert hexahedral cells to polyhedral. So, if the boundary layer mesh is made of hex cells, those will be maintained as it is. If those are made of triangular prisms, then those will be converted. However, that's where the second aspect comes into play. Since you are looking at the mesh on the surfaces, inflation layer will always show rectangles. You have to mark a few cells near the boundary and then display the register. You can use Adapt > Boundary to mark cells. Do not click on Adapt. Just choose the wall of the nose cone, use 1 or 2 cell distance and then click on Mark. Go to Manage > Display and this will display 3D cells. You may have to enable options for displaying it in 3D under the options. All these are accessible from Adapt > Manage.
Thank you a lot for you reply! "You have to mark a few cells near the boundary..." - I am sorry, why should I mark the cells? If this will allow me to see the cells in 3D, how will it help me or what can I conclude from it?

It seems like in Fluent 2019 the option to Mark cells disappeared and I can't even try it now!
pict.PNG

Since I am inserting the inflation layer on the surfaces, like you said the boundary layer mesh will be made of hex cells, and therefore I will always see rectangles instead of the polyhedral mesh on the rocket surface. Is that correct, please tell me if I misunderstood you?
iakov1703 is offline   Reply With Quote

Old   March 25, 2020, 10:37
Default Marking
  #4
Senior Member
 
vinerm's Avatar
 
Vinerm
Join Date: Jun 2009
Location: Nederland
Posts: 2,946
Blog Entries: 1
Rep Power: 36
vinerm will become famous soon enough
Cell marking is just to help you in seeing the shape of the cells.

Inflation layers, whether made up of hexahedral or triangular prisms, will only show rectangles on the the surfaces. You have to create a surface of revolution, that is shaped like the object itself but is slightly offset from its surface so that you could display the mesh on this surface.

But as you can observe from the mesh on the surface of the object, all faces are polygons implying the inflation layer created in mesh is made up of triangular prisms and not hexahedral cells. If inflation layer would have'd been hexahedral, it would show quadrilaterals on surface of the object. But, as mentioned above, sides are always rectangular.
__________________
Regards,
Vinerm

PM to be used if and only if you do not want something to be shared publicly. PM is considered to be of the least priority.
vinerm is offline   Reply With Quote

Old   March 26, 2020, 08:11
Default
  #5
New Member
 
Iakov Bobrov
Join Date: Mar 2020
Posts: 4
Rep Power: 6
iakov1703 is on a distinguished road
Quote:
Originally Posted by vinerm View Post
Cell marking is just to help you in seeing the shape of the cells.

Inflation layers, whether made up of hexahedral or triangular prisms, will only show rectangles on the the surfaces. You have to create a surface of revolution, that is shaped like the object itself but is slightly offset from its surface so that you could display the mesh on this surface.

But as you can observe from the mesh on the surface of the object, all faces are polygons implying the inflation layer created in mesh is made up of triangular prisms and not hexahedral cells. If inflation layer would have'd been hexahedral, it would show quadrilaterals on surface of the object. But, as mentioned above, sides are always rectangular.
I understand! Thanks a lot!
iakov1703 is offline   Reply With Quote

Old   December 5, 2021, 13:36
Default
  #6
New Member
 
Giuseppe
Join Date: Dec 2021
Posts: 2
Rep Power: 0
gmatera43 is on a distinguished road
Hi, i got the exact same problem for polyhedral mesh. Did you find any solution to that?
gmatera43 is offline   Reply With Quote

Old   February 19, 2022, 15:58
Default
  #7
Member
 
Void_CFD-user
Join Date: Feb 2022
Posts: 67
Rep Power: 4
Indra is on a distinguished road
I'll say, simply use Fluent Meshing, it'll solve all your problems, no need to convert tet to poly if you make a poly to begin with. Will also make it easy to take care of the boundary layer at the cone tip.
Indra is offline   Reply With Quote

Reply


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
[snappyHexMesh] problem converting sHM generated mesh to 2D by extrudeMesh totoro_jp OpenFOAM Meshing & Mesh Conversion 0 May 9, 2019 07:55
[Commercial meshers] Problem converting fluent mesh vinz OpenFOAM Meshing & Mesh Conversion 28 October 12, 2015 07:37
Moving mesh Niklas Wikstrom (Wikstrom) OpenFOAM Running, Solving & CFD 122 June 15, 2014 07:20
[Gmsh] 2D Mesh Generation Tutorial for GMSH aeroslacker OpenFOAM Meshing & Mesh Conversion 12 January 19, 2012 04:52
[snappyHexMesh] is possible to do tetrahedral or polyhedral mesh using snappyHexMesh?? Ale_galleria OpenFOAM Meshing & Mesh Conversion 1 September 15, 2010 13:00


All times are GMT -4. The time now is 21:22.