# [ICEM] Creation of hexa dominant mesh and prism layer

 Register Blogs Members List Search Today's Posts Mark Forums Read

 May 16, 2010, 20:10 Creation of hexa dominant mesh and prism layer #1 New Member   Etienne Join Date: May 2010 Posts: 7 Rep Power: 9 Sponsored Links Hi everyody, TEST GEOMETRY: a sphere in a rectangular box WANTED MESH DESCRIPTION: I want to create an hexa-dominant mesh with ICEM-cfd, with an prism layer on the sphere. COMPUTER SYSTEM: windows7 32 bits, 4 gig of RAM (3.5gig really) ANSYS ICEM-CFD V12 is used THE PROBLEM: 1. if i start the meshing by create the hexa core in the box, and after, to do the prism layer on the sphere, the prism creation fail. To partly solve my problem: 1.I create an octree tetra mesh all over the box 2.I create the prism layer 3.I transform the tetra in hexa (12 tetra for 1 hexa) With this solution, the problem is the memory fail. The first mesh is tetra, so i need to create a lot more tetra to finally got only some hexa. If i could create the hexa first, i could get more refinement. Do you have an other idea to create this kind of mesh? Thanks Etienne

 May 17, 2010, 09:37 Options... #2 Retired from CFD Online     Simon Pereira Join Date: Mar 2009 Location: Ann Arbor, MI Posts: 2,665 Blog Entries: 1 Rep Power: 39 The ICEM CFD Prism algorithm can not move hexa's out of the way as it inflates the prisms. Therefore, you need to make sure that you don't convert tetra to hexa before prism inflation. With ICEM CFD, there are always other ways... 1) You could try a Hexa (blocking tab) mesh. This would be really easy if you really wanted to do a sphere in a box... What is your real application? Aircraft shapes, wings, etc. are also pretty easy to do with Hexa blocking. It gives a pure hexa mesh very quickly with the best boundary layers possible and it has very low memory requirements (the lowest of any meshing tool I know). 2) You could try hexa core... Personally, I prefer the transitions in the 12 to 1 conversion, but Hexa Core will use less memory (cartesian algorithm). To use it, start with a Tetra prism mesh, but with a large max size in the volume (to reduce the amount of mesh generated in the volume). Then generate prisms... Then go back into Params by parts and set a max size and turn on hexcore for the volume parts you want to have hexa core in... (other hexa core settings are under global params => volume params => Cartesian => Hexa Core.) This will dump your octree tetras (but keep the surface mesh and prisms). It then uses a cartesian algorithm to generate the hexa core of the right size in the volume, which it then steps back a few layers from the pre existing mesh. Then it uses a delaunay algorithm to fill in the gap between the Hexas and Prisms with Tetras... 3) The ICEM CFD Hexa core isn't as good as the TGrid Hexa Core. TGrid is a bit of a memory pig, but if it is all the same to you, you should try it out. TGrid Hexa core is ideal for Fluent in that it supports hanging nodes, even with adjacent tetras (ICEM Hexa Core only supports haning nodes within the Cartesian region, but fails if they are at the surface adjacent to tetras). The TGrid Hexa Core is also able to go to the walls if they are flat. 4) You could try subdividing your geometry into smaller chunks that your memory capacity could handle. Again, the practicality of this would be dependent on the geometry...

 May 17, 2010, 11:27 #3 New Member   Etienne Join Date: May 2010 Posts: 7 Rep Power: 9 Hi PSYMN, The sphere is a test model, my real application is automotive application. I'm trying to replicate the same type of mesh that i saw in this article (but my model is very very simpler):www.ansys.com/industries/automotive/TPL9793.pdf or search "Automotive CFD" in google, this is the first link. Tonight, i'll try your first tips. Could you explain more your tips # 4, it seems very interesting. Thanks for your clear answer.

 May 17, 2010, 12:36 #4 Retired from CFD Online     Simon Pereira Join Date: Mar 2009 Location: Ann Arbor, MI Posts: 2,665 Blog Entries: 1 Rep Power: 39 4) Subdividing the geometry works best if you have natural locations for the subdivision... A vehicle subdivision is somewhat less natural, but you might find that you could mesh the majority of the far field with Hexa and then mesh the complex near car region with Tetra, add prisms and then do the tet to hex... This would be at a reduced memory level from your current plan. Pictures of this done with a race car can be found in my ICEMCFD Tips and Tricks 2008 pdf... I will find the link later and post it, or you can look thru my older posts since I have posted it many times before. As for the article, it compared ICEM CFD/Tgrid with Harpoon. You will need to be more specific about what part of that you wanted to reproduce.

 May 17, 2010, 15:23 #5 New Member   Etienne Join Date: May 2010 Posts: 7 Rep Power: 9 I found your tips and tricks in the thread "[ICEM] Hybrid mesh". I'll look at this tonight. Scuse me, my last last question on the article was very fuzzy. To answering you, i want to reproduce the mesh as described in the paragraph 2.4 (maybe not the same size) and have an prism layer on the outer surface. I'll only study the outer body. Etienne

 May 18, 2010, 10:27 Side link... #6 Retired from CFD Online     Simon Pereira Join Date: Mar 2009 Location: Ann Arbor, MI Posts: 2,665 Blog Entries: 1 Rep Power: 39 While working on Joel's model (for this thread... http://www.cfd-online.com/Forums/ans...tml#post259307 ) I did tet to hex conversion around a prism layer and am linking it here in case it helps.

August 21, 2016, 19:53
#7
New Member

Hao Xu
Join Date: Apr 2016
Posts: 1
Rep Power: 0
Quote:
 Originally Posted by PSYMN The ICEM CFD Prism algorithm can not move hexa's out of the way as it inflates the prisms. Therefore, you need to make sure that you don't convert tetra to hexa before prism inflation. With ICEM CFD, there are always other ways... 1) You could try a Hexa (blocking tab) mesh. This would be really easy if you really wanted to do a sphere in a box... What is your real application? Aircraft shapes, wings, etc. are also pretty easy to do with Hexa blocking. It gives a pure hexa mesh very quickly with the best boundary layers possible and it has very low memory requirements (the lowest of any meshing tool I know). 2) You could try hexa core... Personally, I prefer the transitions in the 12 to 1 conversion, but Hexa Core will use less memory (cartesian algorithm). To use it, start with a Tetra prism mesh, but with a large max size in the volume (to reduce the amount of mesh generated in the volume). Then generate prisms... Then go back into Params by parts and set a max size and turn on hexcore for the volume parts you want to have hexa core in... (other hexa core settings are under global params => volume params => Cartesian => Hexa Core.) This will dump your octree tetras (but keep the surface mesh and prisms). It then uses a cartesian algorithm to generate the hexa core of the right size in the volume, which it then steps back a few layers from the pre existing mesh. Then it uses a delaunay algorithm to fill in the gap between the Hexas and Prisms with Tetras... 3) The ICEM CFD Hexa core isn't as good as the TGrid Hexa Core. TGrid is a bit of a memory pig, but if it is all the same to you, you should try it out. TGrid Hexa core is ideal for Fluent in that it supports hanging nodes, even with adjacent tetras (ICEM Hexa Core only supports haning nodes within the Cartesian region, but fails if they are at the surface adjacent to tetras). The TGrid Hexa Core is also able to go to the walls if they are flat. 4) You could try subdividing your geometry into smaller chunks that your memory capacity could handle. Again, the practicality of this would be dependent on the geometry...
Hi Simon,
don't if you are still following this thread.
I'm trying to use the way 2) to generate a hexa/tetra/prism mixed mesh. But the problem is when I finished tetra and prism mesh which are saved in same part, I regenerate the hexa mesh but then the previous tetra and prism mesh are gone. I think because it recomputes the mesh of that part. Could you give me some suggestions?
Basicly the geometry is a box but with its bottom surface as a real terrain.

 Thread Tools Display Modes Linear Mode

 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 OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post DarrenC ANSYS Meshing & Geometry 11 August 5, 2013 06:42 Joe CFX 16 October 10, 2011 07:06 peresah STAR-CCM+ 6 October 6, 2009 14:39 sponiar OpenFOAM Other Meshers: ICEM, Star, Ansys, Pointwise, GridPro, Ansa, ... 2 March 30, 2009 15:02 Joe CFX 2 March 26, 2007 18:10