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

[snappyHexMesh] Using addLayers to create boundary layers OUTside of the added .stl file

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 27, 2019, 04:42
Lightbulb Using addLayers to create boundary layers OUTside of the added .stl file
  #1
New Member
 
Vincent
Join Date: Aug 2019
Location: Germany
Posts: 11
Rep Power: 2
vince_cfd is on a distinguished road
Hello foamers,


the title says it all I believe. I want to add a boundary layer on the outside of the .stl file that I'm adding to my mesh.

What I have tried so far is using SHM, splitting the mesh in two regions, then use SHM again with only addLayers activated and an entry for the second region. But it does not work like that. I believe there should be an easy command to solve my problem...

This is what my addLayersControls looks like right now:
Code:
addLayersControls                                            
{
    relativeSizes           true;

    minThickness            0.05;
    finalLayerThickness     0.5;
    expansionRatio            1.2;
    nGrow                           1;

    featureAngle                 90;
    slipFeaterAngle             30;
    nRelaxIter                      5;
    nSmoothSurfaceNormals     1;
    nSmoothNormals            3;
    nSmoothThickness       10;
    maxFaceThicknessRatio     0.5;
    maxThicknessToMedialRatio 0.3;
    minMedianAxisAngle     90;
    nBufferCellsNoExtrude     0;
    nLayerIter                   100;
     
    layers
        {
        fluid                
        {
        nSurfaceLayers 8;
        }
    }
}
The .stl that I added is stored in the cylinder region, the rest of the mesh is stored as fluid region.

Thank you already!
Vince
Attached Images
File Type: png boundarylayers.png (49.7 KB, 5 views)
vince_cfd 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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[OpenFOAM.org] Error creating ParaView-4.1.0 OpenFOAM 2.3.0 tlcoons OpenFOAM Installation 13 April 20, 2016 17:34
[swak4Foam] Problem installing swak_2.x for OpenFoam-2.4.0 towanda OpenFOAM Community Contributions 6 September 5, 2015 21:03
[Other] Adding solvers from DensityBasedTurbo to foam-extend 3.0 Seroga OpenFOAM Community Contributions 9 June 12, 2015 17:18
Trouble compiling utilities using source-built OpenFOAM Artur OpenFOAM Programming & Development 14 October 29, 2013 10:59
Version 15 on Mac OS X gschaider OpenFOAM Installation 113 December 2, 2009 10:23


All times are GMT -4. The time now is 09:37.