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

[snappyHexMesh] snnapyhexMesh creating layers on sharp edges

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

Like Tree1Likes
  • 1 Post By efirvida

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 11, 2019, 10:26
Default snnapyhexMesh creating layers on sharp edges
  #1
Member
 
Eduardo Firvida
Join Date: Dec 2010
Posts: 44
Rep Power: 10
efirvida is on a distinguished road
Hello, I'm trying to create a mesh using SHM tool around an infinite parabola, I think that my castelled mesh process is successful but I canīt figure out how to create a layer on the corners of the obstacle where the geometry is very sharp. I attach an image of my best attempt, and also I'm uploading the case file.

Any advice with this?
Attached Images
File Type: jpg Annotation 2019-06-11 151338.jpg (78.0 KB, 39 views)
Attached Files
File Type: zip testB.zip (27.1 KB, 3 views)
efirvida is offline   Reply With Quote

Old   October 6, 2019, 11:52
Default
  #2
New Member
 
Join Date: Sep 2014
Posts: 27
Rep Power: 7
yongxiang is on a distinguished road
Hello Eduardo,
have you solved this problem with adding layer to sharp corner? I have the same problem with my mesh. Could you please share with me your solution.


regards
Yong
yongxiang is offline   Reply With Quote

Old   October 7, 2019, 05:05
Default
  #3
Member
 
Piotr Ładyński
Join Date: Apr 2017
Posts: 38
Rep Power: 4
piotr.mecht is on a distinguished road
Try to play with featureAngle parameter in addLayersControl.
Third picture on this tutorial seems to be self-explainatory on how this angle affects your mesh:
https://www.cfdsupport.com/OpenFOAM-...t/node128.html


Sometimes cells on this edge cannot be created, in order to prevent creating warped cells. You can force layer addition anyway by setting maxFaceThicknessRatio parameter to a greater value (like 2.0 or 3.0 instead or 0.5), but it might affect your mesh quality.
piotr.mecht is offline   Reply With Quote

Old   October 9, 2019, 11:09
Default
  #4
Member
 
Eduardo Firvida
Join Date: Dec 2010
Posts: 44
Rep Power: 10
efirvida is on a distinguished road
for such geometry seems that I canīt create the desired mesh, so what I deed is change a littelbit the geometry rounding that edge, and that works for me

Quote:
Originally Posted by yongxiang View Post
Hello Eduardo,
have you solved this problem with adding layer to sharp corner? I have the same problem with my mesh. Could you please share with me your solution.


regards
Yong
Krao likes this.
efirvida is offline   Reply With Quote

Old   October 10, 2019, 06:16
Default
  #5
Senior Member
 
Kmeti Rao
Join Date: May 2019
Posts: 105
Rep Power: 3
Krao is on a distinguished road
Quote:
Originally Posted by efirvida View Post
for such geometry seems that I canīt create the desired mesh, so what I deed is change a littelbit the geometry rounding that edge, and that works for me
I use cfMesh and I have a similar problem too, as you have mentioned, de-featuring is the best solution, what I have found during mesh generation. Making the sharp feature blunt or making round edges would definitely solve the problem.
Krao 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] Error snappyhexmesh - Multiple outside loops avinashjagdale OpenFOAM Meshing & Mesh Conversion 53 March 8, 2019 10:42
meshing sharp edges Ralf Schmidt FLUENT 2 April 6, 2015 10:11
[snappyHexMesh] snappyHexMesh won't work - zeros everywhere! sc298 OpenFOAM Meshing & Mesh Conversion 2 March 27, 2011 22:11
Boundary layer meshing with sharp trailing edges Andrew Berner FLUENT 1 August 28, 2007 18:39
Creating inflation layers for elbow with airfoil ! Aplus CFX 1 March 13, 2006 23:22


All times are GMT -4. The time now is 18:00.