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

[ICEM] create boundary layer mesh by extrusion, orientation problem

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 17, 2018, 05:14
Default create boundary layer mesh by extrusion, orientation problem
  #1
New Member
 
l
Join Date: Apr 2016
Posts: 10
Rep Power: 10
lazybone is on a distinguished road
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
lazybone is offline   Reply With Quote

Old   April 17, 2018, 17:16
Default
  #2
Senior Member
 
Gert-Jan
Join Date: Oct 2012
Location: Europe
Posts: 1,835
Rep Power: 27
Gert-Jan will become famous soon enough
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?
Gert-Jan is offline   Reply With Quote

Old   April 18, 2018, 02:02
Default
  #3
New Member
 
l
Join Date: Apr 2016
Posts: 10
Rep Power: 10
lazybone is on a distinguished road
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.
lazybone is offline   Reply With Quote

Old   April 18, 2018, 03:01
Default
  #4
Senior Member
 
Gert-Jan
Join Date: Oct 2012
Location: Europe
Posts: 1,835
Rep Power: 27
Gert-Jan will become famous soon enough
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.
Gert-Jan is offline   Reply With Quote

Old   April 18, 2018, 03:12
Default
  #5
New Member
 
l
Join Date: Apr 2016
Posts: 10
Rep Power: 10
lazybone is on a distinguished road
Quote:
Originally Posted by Gert-Jan View Post
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.
Thanks.

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.
lazybone is offline   Reply With Quote

Old   April 18, 2018, 03:15
Default
  #6
Senior Member
 
Gert-Jan
Join Date: Oct 2012
Location: Europe
Posts: 1,835
Rep Power: 27
Gert-Jan will become famous soon enough
You can only build prisms from tetrahedral elements.
Gert-Jan is offline   Reply With Quote

Old   April 18, 2018, 03:20
Default
  #7
New Member
 
l
Join Date: Apr 2016
Posts: 10
Rep Power: 10
lazybone is on a distinguished road
Is there any method to create post prims for hex elements by ICEM?
lazybone is offline   Reply With Quote

Old   April 18, 2018, 03:31
Default
  #8
Senior Member
 
Gert-Jan
Join Date: Oct 2012
Location: Europe
Posts: 1,835
Rep Power: 27
Gert-Jan will become famous soon enough
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.
Gert-Jan is offline   Reply With Quote

Old   April 18, 2018, 03:56
Default
  #9
New Member
 
l
Join Date: Apr 2016
Posts: 10
Rep Power: 10
lazybone is on a distinguished road
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?
lazybone is offline   Reply With Quote

Old   April 18, 2018, 04:09
Default
  #10
Senior Member
 
Gert-Jan
Join Date: Oct 2012
Location: Europe
Posts: 1,835
Rep Power: 27
Gert-Jan will become famous soon enough
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.
Gert-Jan is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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] Add Mesh Layers doesnt work on the whole surface Kryo OpenFOAM Meshing & Mesh Conversion 13 February 17, 2022 07:34
sliding mesh problem in CFX Saima CFX 46 September 11, 2021 07:38
OpenFoam "Permission denied" and "command not found" problems. iyidaniel@yahoo.co.uk OpenFOAM Running, Solving & CFD 11 January 2, 2018 06:47
[snappyHexMesh] Problem airfoil snappyhexmesh add layer bye bye my blue OpenFOAM Meshing & Mesh Conversion 1 May 5, 2017 05:56
[snappyHexMesh] sHM layer process keeps getting killed MBttR OpenFOAM Meshing & Mesh Conversion 4 August 15, 2016 03:21


All times are GMT -4. The time now is 07:01.