CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM

How to add a fine boundary layer

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

LinkBack Thread Tools Search this Thread Display Modes
Old   April 17, 2019, 04:04
Default How to add a fine boundary layer
Joe lee
Join Date: Nov 2018
Posts: 59
Rep Power: 6
Jinjolee is on a distinguished road
I was trying to add a boundary layer to my mesh, but from the log file, it seems that the boundary layers were failed to be added.

Background Info:
I have a model with reference length of about 1.64m, and constant inlet air velocity of 12.5m/s. As I would like to use K-epsilon model, I first tried to use a y+ value of 50. By substituting the information into the y+ calculation toolbox, I got a first layer thickness of about 0.001m.

In snappyHexMeshDict, I have the addLayersControls with the following setting:
    relativeSizes true;
            nSurfaceLayers 15;
    expansionRatio 1.3;
    firstLayerThickness 0.001;
    minThickness 0.001;
    nGrow 5;
    featureAngle 5;
    slipFeatureAngle 20;
    nRelaxIter 5;
    nSmoothSurfaceNormals 1;
    nSmoothNormals 3;
    nSmoothThickness 10;
    maxFaceThicknessRatio 0.5;
    maxThicknessToMedialRatio 0.3;
    minMedianAxisAngle 90;
    nBufferCellsNoExtrude 0;
    nLayerIter 15;
And my model in paraview be like:

As shown in the above image, some surface do not have a boundary layer, and the overall quality of mesh also seems not to be good.

Could there be any fix to the mesh? Thanks a lot!

P.S. I have attached the log.snappyHexMesh and snappyHexMeshDict files in case that you need to have a look on it.
Attached Files
File Type: gz log.snappyHexMesh.gz (20.1 KB, 5 views)
File Type: gz snappyHexMeshDict.gz (3.3 KB, 5 views)
Jinjolee is offline   Reply With Quote


boundary layer control, snappyhexmesh

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
My radial inflow turbine Abo Anas CFX 27 May 11, 2018 01:44
[Gmsh] How to add a prismatic-cell boundary layer in GMSH? klausb OpenFOAM Meshing & Mesh Conversion 4 November 22, 2016 17:30
Error - Solar absorber - Solar Thermal Radiation MichaelK CFX 12 September 1, 2016 05:15
[ICEM] 3D Dynamic Mesh - Boundary layer mesh issues nathanricks ANSYS Meshing & Geometry 0 September 23, 2015 05:14
Radiation interface hinca CFX 15 January 26, 2014 17:11

All times are GMT -4. The time now is 16:48.