|
[Sponsors] |
November 15, 2013, 07:16 |
|
#22 |
Senior Member
Andrea
Join Date: Feb 2012
Location: Leeds, UK
Posts: 179
Rep Power: 16 |
Hi Stuart,
I am following your approach (many thanks for the tips!) and actually I feel that I am close to obtain my goal I have created the conformal patch mesh on my unstructured region, but when I inflate the prisms from this surface mesh (enabling "using existing quad layers") the mesh is no more conformal at the interface, since the inflation of the prisms do modify the surface mesh at the interface (see attached pictures). Any suggestion on how overcome this problem? Thank you Andrea |
|
November 21, 2013, 06:43 |
|
#23 | |
Senior Member
Andrea
Join Date: Feb 2012
Location: Leeds, UK
Posts: 179
Rep Power: 16 |
Hi Scribby,
I am trying to use this approach in a simple test case with the aim of using it for my "real" complex geometry. I am able to correctly create the prism layer both in the tetra and in the hexa regions and a conformal interface between them, but the hexa mesh is highly distorted by the creation of the prisms layer (as you can see in the attached pictures). This is the same problem that I am experiencing on my real geometry, but in the latter case the deformation is even more dramatic because the blocking is far more complex with respect to a simple pipe. Do you or someone else have any idea on what is wrong with that? I am also attaching my case geometry, blocking and settings if someone wants to reproduce it. Thanks Andrea Quote:
|
||
November 21, 2013, 07:31 |
|
#24 |
Senior Member
Stuart Buckingham
Join Date: May 2010
Location: United Kingdom
Posts: 267
Rep Power: 26 |
Hi Far,
No you cannot avoid pentas at the interface. However the pentas that we are used to are the high aspect ratio pentas that are generated at the terminating faces of stairstepped prisms. These pentas are not the same as they are connected to (hopefully) a very high quality quad on one side, and 4 very high quality tris on the other sides. You should also smooth the pentas while freezing the prisms and hexas. There is no other way to join quads (from hexas) to tris (from tets) except using pentas. Stu |
|
November 21, 2013, 07:34 |
|
#25 |
Senior Member
Stuart Buckingham
Join Date: May 2010
Location: United Kingdom
Posts: 267
Rep Power: 26 |
Hi Andrea,
Make sure you set your prism parameters to match the quad faces. The sizes do not have to be exactly the same, but you will not get it to work if your first prism is double (or half) the height of your first hexa. Also, turn smoothing off for the prism generation. You should have started with a high quality surface mesh already, so smoothing should not be necessary. If your geometry is quite complex, however, smooth manually after the prism generation with the quads frozen. Good Luck, Stu |
|
November 21, 2013, 07:41 |
|
#26 |
Senior Member
Andrea
Join Date: Feb 2012
Location: Leeds, UK
Posts: 179
Rep Power: 16 |
Hi Stuart,
Thank you for the advice; I can see your point but one of the requirements for generating the prisms also in the hexa region is that the overall prisms height should be less than the first hexa height; so if, for example, I want to generate three layers of prisms there is no way to make the first prism height similar to the first hexa height. Am I right or something is wrong in my reasoning? Andrea |
|
November 21, 2013, 08:11 |
|
#27 |
Senior Member
Stuart Buckingham
Join Date: May 2010
Location: United Kingdom
Posts: 267
Rep Power: 26 |
Hi Andrea,
I should clarify, what was suggested earlier and my method are completely different. For my method with the "Using Quad Elements" enabled, you do not create the prisms in the hexa region, they are only created in the unstructured region before it is filled with tets. I developed this method for complex hexa geometries where creating the required distribution (large first layer then smaller second layer) required for running prism on hexas was not feasible. It is up to you which method you choose. I used my method to create the below image. Stu |
|
November 21, 2013, 08:15 |
|
#28 |
Senior Member
Andrea
Join Date: Feb 2012
Location: Leeds, UK
Posts: 179
Rep Power: 16 |
Now it is clear, I think my first option is going to be your method, because it seems more reasonable to not create the prism layer in the structured domain.
Thank you again Andrea |
|
November 21, 2013, 09:42 |
|
#29 | |
Senior Member
Andrea
Join Date: Feb 2012
Location: Leeds, UK
Posts: 179
Rep Power: 16 |
Hi Stuart,
just to let you and the others know that your method worked for me on a simple pipe with a single layer of prisms (attached picture); now let's do the hard work on the "real" thing. Thank you so much for sharing it (and maybe I should bother you again in the future ) Andrea Quote:
|
||
November 25, 2013, 09:39 |
|
#30 |
Senior Member
Andrea
Join Date: Feb 2012
Location: Leeds, UK
Posts: 179
Rep Power: 16 |
Hi Stuart,
as promised I am here to bother you again I am able to use your technique in simple test cases but I am really struggling to use it in my actual geometry. The main problem is that I am not able to generate the Prisms with the Pre Inflation Technique starting from my conformal surface mesh. (notice that I can successfully use the same surface mesh with Delaunay and then inflate the prism in my volume mesh but, as you mentioned, this is of no help if you want to create a conformal interface with the prisms). The log is the following: "completed smoothing extruding prism layer 1 there is a problem with the shell with vertices (-67.9916,-0.437414,-85.9903) (-67.1629,-0.433143,-85.9903) (-67.9384,2.80371,-85.9903) stopping prism and writing mesh performing cleanup smoothing Created inflation elements: Layer 1: 0 prisms, 0 pyramids, 0 hexas Layer 2: 0 prisms, 0 pyramids, 0 hexas Layer 3: 0 prisms, 0 pyramids, 0 hexas failed to create any inflation elements prism finished" ...and the three points listed in the log does not define any shell element! Do you have any idea of what the problem may be? Thanks Andrea |
|
November 25, 2013, 09:47 |
|
#31 |
Senior Member
Stuart Buckingham
Join Date: May 2010
Location: United Kingdom
Posts: 267
Rep Power: 26 |
Hi Andrea,
When inflating stand alone surface mesh, ICEM Prism uses the surface element normal to indicate the direction of inflation. You should check that the normals are pointing into the direction of the fluid volume. The easiest way (I think) to check this is to right click the shells in the Model Tree and select show normal arrows. All the arrows should be pointing into the fluid zone. Another possible reason Prism failed is because of bad quality surface mesh. As a rough guide, you should try and smooth your surface mesh up to at least 0.4 before inflating prisms. Stu |
|
November 28, 2013, 06:30 |
|
#32 |
Senior Member
Andrea
Join Date: Feb 2012
Location: Leeds, UK
Posts: 179
Rep Power: 16 |
Hi Stuart,
the normals orientation is ok and so is the shell mesh quality (lowest quality at about 0.45) but I still get the same problem. I am trying to run my simulation using another meshing technique, but when I will have a little bit of spare time I will come back to your approach. Thank you again for sharing your method Andrea |
|
July 28, 2014, 10:24 |
|
#33 |
Senior Member
Andrea
Join Date: Feb 2012
Location: Leeds, UK
Posts: 179
Rep Power: 16 |
Just a quick update on this topic as someone may be interested: finally, I managed to create a beautiful conformal interface between a tetra-with-prisms and an hexa mesh for a quite complex geometry (an industrial gas turbine combustor) following Stuart's approach (thanks again for sharing it).
If anyone else is interested please feel free to ask for details. Andrea |
|
February 26, 2015, 05:32 |
|
#34 |
New Member
Markus Schlipf
Join Date: Feb 2015
Location: University of Stuttgart
Posts: 2
Rep Power: 0 |
Hi Andrea,
I know this thread is a few months old, but I try to follow your and Stuart's approach since a few days and don't even manage to get a hybrid mesh with prism layer in the unstructured part in a tube. Not to mention my real case in a turbomachinery runner's channel. Here is my procedure: *Creating structured O-Grid in one part (pipe inlet, first half of the pipe wall and interface plane) and "load mesh from blocking" *Creating unstructured surface-mesh on other part of the pipe wall and outlet with "respect line elements" to get a fitting surface-mesh *Setting mesh parameters for prism to fit the first layer of the structured grid (only one layer or more layers with same height ratio doesn't make any difference). "Use Existing Quad Layers" in Advanced Parameters is chosen. *Try to compute the prism layer ICEM says at this point with: create_bfcart_inflation -inflate 1 -cleanup Total Num. tris = 906 creating offset layer... No new vertices created in offset layer and actually nothing happens... Error message works Can you tell me if there are more special settings to do or do you see any mistake in my procedure? I would be very happy if you could help me with this problem! Thank you in advance! Markus |
|
February 26, 2015, 09:30 |
|
#35 |
Senior Member
Andrea
Join Date: Feb 2012
Location: Leeds, UK
Posts: 179
Rep Power: 16 |
Hi Markus,
the steps to create the conformal interface are: 1) create the hexa mesh in the structured region and a full tetra mesh (i.e. without prisms) in the unstructured region 2) create a conformal interface between these two meshes 3) delete all the volume elements and all the surface elements in the structured region (but make sure you retain the quads at the interface) 4) if necessaray smooth the surface mesh freezing the quads 5) inflate prism layers from the surface mesh using the Existing quad layers option and making sure that the prisms layers match the nodes distribution of the structured mesh 6) fill the empty volume with Delaunay mesh 7) load the structured mesh 8) merge the nodes at the interface with a small tolerance 9) delete the quad elements in the interface part 10) check the mesh and hopefully everything should be ok! The crucial part is the prisms inflation step. You prism distribution should match the existing quads very precisely in order for this technique to work correctly. Good luck Andrea |
|
February 26, 2015, 10:56 |
|
#36 |
New Member
Markus Schlipf
Join Date: Feb 2015
Location: University of Stuttgart
Posts: 2
Rep Power: 0 |
Yeah, that works! Thank you very much!
|
|
February 5, 2019, 11:14 |
|
#37 |
New Member
Hilton
Join Date: Dec 2016
Location: Rio de Janeiro
Posts: 5
Rep Power: 9 |
Hi guys,
I'm doing a mesh similar to discussed here, but I'm still not able to do so. Could anyone give me another tip? Thank you! |
|
February 11, 2019, 14:21 |
|
#38 |
Member
Vish
Join Date: Dec 2016
Location: Purdue University, IN, USA.
Posts: 59
Rep Power: 13 |
What is your problem? Please explain in a little more details
Thanks Vishal Learn ICEM From Scratch https://www.youtube.com/channel/UCdP..._as=subscriber |
|
February 12, 2019, 10:28 |
|
#39 |
New Member
Mohammadreza
Join Date: Feb 2019
Posts: 3
Rep Power: 7 |
Hi guys, I have a question.
I am gonna generate a hexa/tetra or even tetra/tetra mesh in two domains. when my mesh is coarse, I get to merge them properly and at the interface, there is no problem. BUT, in case I am gonna refine the mesh, unfortunately, a few bad, damaged elements would be appeared at the interface. WHY??? I have even used Edit Mesh-Check Mesh to find out the reason or fix them or ignore them or even create a subset for them. Afterwards, I have used Smooth Mesh Globally too. The problem is that if I fail to fix these a few damaged elements, they are gonna be appeared in my boundary conditions in Fluent and I would not be able to set them 'interior' in Fluent. PLEASE Help me. Please shed light on this issue. Thank you so much. |
|
February 12, 2019, 11:38 |
|
#40 | |
New Member
Hilton
Join Date: Dec 2016
Location: Rio de Janeiro
Posts: 5
Rep Power: 9 |
Hi Anand32,
I'm trying to merge a hex and tetra mesh as discussed in the topic. I'm able to accomplish the method described by stuart23 when only one side of my unstructured domain is connected to a structured. But, in my real case, both sides are connected to a strucuted mesh. Following the steps showed by andrea, I try to delete all the volume elements (after merge meshes) but ICEM is not able to delete tetrahedas, then, I cannot create my Prism layer. Thanks Quote:
|
||
Tags |
icem, merge meshes, prism |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[ICEM] Creation of hexa dominant mesh and prism layer | gnuboard | ANSYS Meshing & Geometry | 7 | January 11, 2018 05:13 |
[ICEM] Prism for quad mesh | rikio | ANSYS Meshing & Geometry | 5 | December 10, 2016 03:53 |
[ICEM] Problem when I try to merge hexa & prism | pipolaki | ANSYS Meshing & Geometry | 7 | December 4, 2012 09:44 |
[ICEM] Hexa Prism layer NOT USING hexa (Blocking tab) | la7low | ANSYS Meshing & Geometry | 5 | January 29, 2012 00:50 |
ICEM - Prism Tool Problem | carpe85 | CFX | 0 | February 10, 2009 13:25 |