|
[Sponsors] |
[ICEM] create boundary layer mesh by extrusion, orientation problem |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 17, 2018, 06:14 |
create boundary layer mesh by extrusion, orientation problem
|
#1 |
New Member
l
Join Date: Apr 2016
Posts: 10
Rep Power: 10 |
Hi,
I was trying to create a thin layer of boundary layer mesh by extruding the surface mesh of existed mesh to outward of the fluid domain. But it always resulted in volume orientation problem. Is there any solution to solve this problem? The key issue is that I have to create boundary layer or prism-type mesh base on the existed mesh. Thanks. L |
|
April 17, 2018, 18:16 |
|
#2 |
Senior Member
Gert-Jan
Join Date: Oct 2012
Location: Europe
Posts: 1,928
Rep Power: 28 |
Are you sure that the orientation of the elements that you extrude have the same orientation/normal vector? In other words, is the orientation consistent?
|
|
April 18, 2018, 03:02 |
|
#3 |
New Member
l
Join Date: Apr 2016
Posts: 10
Rep Power: 10 |
Hi Gert-Jan,
The orientation is consistent. But there are several points with invalid normals ( which is defined here: https://www.sharcnet.ca/Software/TGr...ug/node225.htm) I guess it is impossible to create extruded inflation layer for the complex geometry with invalid normals. So I turned to try the prism mesh with Post Inflation in ICEM. Unfortunately, I got the warning: Assertion Failed! Program:\med.exe File: improve.C Line: 339 Expression: nngh. |
|
April 18, 2018, 04:01 |
|
#4 |
Senior Member
Gert-Jan
Join Date: Oct 2012
Location: Europe
Posts: 1,928
Rep Power: 28 |
You are using ICEM, but are looking in the help of TGrid. I would at least make that consistent ........ :-)
If you have a mesh with only tetrahedrals, then post creation of prisms should work. Only if you have a very small gap where your tets are large (only 1 element in the gap?) and prisms do not fit in anymore, then you get this error: Assertion failed. Do you get this error already with 1 prism layer? Just for a check......... Mostly, the solution is use smaller elements in the gaps. |
|
April 18, 2018, 04:12 |
|
#5 | |
New Member
l
Join Date: Apr 2016
Posts: 10
Rep Power: 10 |
Quote:
lol - I also tried T-grid and also failed. The original mesh is consisted of hex and wedge elements. Indeed, there are many small gaps and only two elements in those gaps. The error already appears with 1 prism layer. I shall try more elements in gaps now and see what will happen. |
||
April 18, 2018, 04:15 |
|
#6 |
Senior Member
Gert-Jan
Join Date: Oct 2012
Location: Europe
Posts: 1,928
Rep Power: 28 |
You can only build prisms from tetrahedral elements.
|
|
April 18, 2018, 04:20 |
|
#7 |
New Member
l
Join Date: Apr 2016
Posts: 10
Rep Power: 10 |
Is there any method to create post prims for hex elements by ICEM?
|
|
April 18, 2018, 04:31 |
|
#8 |
Senior Member
Gert-Jan
Join Date: Oct 2012
Location: Europe
Posts: 1,928
Rep Power: 28 |
No. That is impossilbe. How would you do that? You can't even get it done with pen and paper. Because if you have hex elements, then all faces are rectangular. So, you cannot get prisms from rectangular faces using Post creation process.
If you have hex elements, and want refinement close to the wall for resolving your boundary layer, then why don't you just create a refinement using hex elements. Even better then prisms. |
|
April 18, 2018, 04:56 |
|
#9 |
New Member
l
Join Date: Apr 2016
Posts: 10
Rep Power: 10 |
My geometry is very complicated.
So I cannot handle each face manually, then I have to write script to generate the surface elements. Base on extrusion of the surface elements via some directions with ICEM, I can create the volume elements. By this I can control the total grid numbers and the mesh quality - But I am not able to design the prism by script. So I was trying to get the prism done by ICEM or other tools. Thanks for the suggestion. Is it possible to mark the first layer of grids in ICEM and split it into 1 thin layer and 1 larger one? |
|
April 18, 2018, 05:09 |
|
#10 |
Senior Member
Gert-Jan
Join Date: Oct 2012
Location: Europe
Posts: 1,928
Rep Power: 28 |
You can split the first layer of prism elements. You can split it once, twice, whatever.
You can also split the fifth layer, or the tenth. All possible. Not sure if you can split the first hex element. I am not that familiar with hex meshing. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[snappyHexMesh] Add Mesh Layers doesnt work on the whole surface | Kryo | OpenFOAM Meshing & Mesh Conversion | 13 | February 17, 2022 08:34 |
sliding mesh problem in CFX | Saima | CFX | 46 | September 11, 2021 08:38 |
OpenFoam "Permission denied" and "command not found" problems. | iyidaniel@yahoo.co.uk | OpenFOAM Running, Solving & CFD | 11 | January 2, 2018 07:47 |
[snappyHexMesh] Problem airfoil snappyhexmesh add layer | bye bye my blue | OpenFOAM Meshing & Mesh Conversion | 1 | May 5, 2017 06:56 |
[snappyHexMesh] sHM layer process keeps getting killed | MBttR | OpenFOAM Meshing & Mesh Conversion | 4 | August 15, 2016 04:21 |