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

[snappyHexMesh] Boundary layer issues

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 23, 2018, 14:16
Default Boundary layer issues
  #1
New Member
 
Lucas Cabrera
Join Date: Jun 2018
Posts: 5
Rep Power: 7
CabreraLucas is on a distinguished road
Hello, foamers


I'm having trouble adding boundary layers to my mesh. I've been tinkering with the layer controls as well as reading related threads in here, but I wasn't able to create the boundary layer. I tried attaching my sHMDict, blockMeshdict and the outputs but it didn't let me, for some reason, so I've put them on pastebin.

sHM: https://pastebin.com/BSfdWWkv
blockMesh: https://pastebin.com/ub3iKxNC
layer output: https://pastebin.com/tvAqjd3t


Does anybody know what's wrong? Thanks in advance.


Lucas
CabreraLucas is offline   Reply With Quote

Old   August 25, 2018, 09:23
Default
  #2
Senior Member
 
Muhammad Waqas
Join Date: Jul 2014
Location: Germany
Posts: 122
Rep Power: 11
mwaqas is on a distinguished road
Send a message via Skype™ to mwaqas
Hello Lucas,


You already have alotof cells having pyramid volume less the 1e-13. Try to use a much smaller value for pyramid volume (may be like 1e-20). Also you are using relative size false. Are you sure your mesh cell size is in the same range?


Regards
mwaqas is offline   Reply With Quote

Old   August 25, 2018, 13:51
Default
  #3
New Member
 
Lucas Cabrera
Join Date: Jun 2018
Posts: 5
Rep Power: 7
CabreraLucas is on a distinguished road
Hello! Thanks for the reply!

I was using "relativeSize True" before so I decided to try it the other way. My geometry is an aneurysm about 5cm long.

I tried out your suggestion and unfortunately it didn't yield any different results.

Here's the output: https://pastebin.com/theQhMTX

Also I have attached what a slice of my geometry looks like after snap, but before layers. (After I run with addLayers on i get that exact same result)


Regards,

Lucas
Attached Images
File Type: png aneurysmslice_beforelayer.png (30.3 KB, 30 views)
CabreraLucas is offline   Reply With Quote

Old   August 25, 2018, 14:10
Default
  #4
Senior Member
 
Muhammad Waqas
Join Date: Jul 2014
Location: Germany
Posts: 122
Rep Power: 11
mwaqas is on a distinguished road
Send a message via Skype™ to mwaqas
How is your mesh quality before adding layers with pyramid volume <1e-20. May be you can try with relative size true starting with one layer. If you like, you can upload your case here and I can try myself (I will be able to test on manday).


Regards
mwaqas is offline   Reply With Quote

Old   August 25, 2018, 14:47
Default
  #5
New Member
 
Lucas Cabrera
Join Date: Jun 2018
Posts: 5
Rep Power: 7
CabreraLucas is on a distinguished road
Hi,


I've uploaded my case here: https://www.dropbox.com/s/1x24dhqtig...urysm.zip?dl=0


I ran checkMesh and it didn't give me any errors. I'll try changing other settings. Thanks for the help!
CabreraLucas is offline   Reply With Quote

Old   September 5, 2018, 08:03
Default
  #6
Member
 
Çağatay Emre Ayhan
Join Date: Sep 2017
Location: Istanbul, Turkey
Posts: 31
Rep Power: 8
Cagatayemre is on a distinguished road
Use default meshQualityDict for castellation and snap.
Try to use following meshQuality settings for only 'layer generation process'

maxNonOrtho 180;
maxBoundarySkewness -1;
maxInternalSkewness -1;
maxConcave 180;
minVol 0;
minTetQuality -1e30;
minArea -1;
minTwist 0.002;
minDeterminant 0.001;
minFaceWeight 0.05;
minVolRatio 0.01;
minTriangleTwist -1;
Cagatayemre is offline   Reply With Quote

Reply


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
sliding mesh problem in CFX Saima CFX 46 September 11, 2021 07:38
My radial inflow turbine Abo Anas CFX 27 May 11, 2018 01:44
Error finding variable "THERMX" sunilpatil CFX 8 April 26, 2013 07:00
[Commercial meshers] Trimmed cell and embedded refinement mesh conversion issues michele OpenFOAM Meshing & Mesh Conversion 2 July 15, 2005 04:15
boundary layer simulation : basic issues amol palekar Main CFD Forum 0 July 27, 2004 18:22


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