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

[snappyHexMesh] Adding layers around box

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 7, 2022, 11:15
Default Adding layers around box
  #1
New Member
 
Join Date: Mar 2021
Posts: 12
Rep Power: 5
BasG is on a distinguished road
Hi Foamers,

At the moment I am modelling wind flow around a building. In my test model I try to add layers to two different geometries. One represents the ground surface and one is a test geometry of a building. If I add layers (using snappyHexMesh) to both geometries, the transition in boundary layers is not very neat (see red circles in picture below). How could I improve this transition? I tried setting featureAngle to 180 degrees, but this did not improve the boundary layers. How could I further improve my mesh?

N.B. I like to seperate both .stl-files since I want to appoint different properties to the different geometries.

For completeness, I added my .stl-files and the necessary Dict-files.

I hope you can help me out.

Cheers,
Bas
Attached Images
File Type: jpg meshAroundBox.jpg (58.4 KB, 33 views)
Attached Files
File Type: zip upload.zip (6.0 KB, 3 views)
BasG is offline   Reply With Quote

Old   October 9, 2022, 11:37
Default
  #2
Senior Member
 
M
Join Date: Dec 2017
Posts: 698
Rep Power: 12
AtoHM is on a distinguished road
It can help to use an isotropic background mesh.
Depending on the OF version you are using, you could manage this locally (using anisotropic splits for the given blockMesh with the ESI version) or if you are on the foundation version, you probably have to adjust the blockMesh spacing itself.
AtoHM is offline   Reply With Quote

Reply

Tags
openfoam snappyhexmesh


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
chtMultiRegionFoam solver stops without any error amol_patel OpenFOAM Running, Solving & CFD 4 July 5, 2024 02:41
Adding refinement zone causes multiRegion case to fail boffin5 OpenFOAM Running, Solving & CFD 1 December 4, 2021 16:26
FOAM FATAL ERROR: Cannot find file "points" in directory "shell/polyMesh" amol_patel OpenFOAM Pre-Processing 22 October 29, 2021 14:34
Adding an FFD box to the mesh changes the flow convergence behaviour thodi SU2 4 February 19, 2021 15:24
multiRegionHeater error ordinary OpenFOAM Running, Solving & CFD 2 June 9, 2020 18:43


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