CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[snappyHexMesh] mesh snapping at edge of patches created from .stl files

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

LinkBack Thread Tools Search this Thread Display Modes
Old   June 1, 2020, 09:23
Default mesh snapping at edge of patches created from .stl files
New Member
Alexandra H
Join Date: May 2020
Posts: 4
Rep Power: 5
simply-alex is on a distinguished road
Hello all, I hope you are well!

  • I am trying to simulate flow around a static aerofoil cascade (aka turning vanes) to direct flow around a 90deg corner.
  • I am trying to reduce the yPlus value below 1 on the entire surface, while at the same time reducing computational requirements.
  • To achieve this, I have split each aerofoil into 7 patches generated from stl files. The stl files are exported from solidworks and are waterproof (no overlap, no gaps).

  • During the snapping stage, the cells that are close to a patch edge snap correctly, but create a very small boundary face (see pictures).
  • During the addLayers stage, this small face is extruding, leading to thin cells and a high Courant Number.
  • Using a minArea limit is not possible, as the smallest problem cell is in refinement level 6 and the largest problem cell is in level 2. As such, their size magnitudes are different and cannot be captured by a minArea limit.
  • The new "mergeAcrossPatches" option does not seem to solve this problem (it also does not seem to work well when I try to add layers).

I have spent a long time trying to fix this, so any suggestions would be more than welcome! Thanks in advance and regards,

Attached Images
File Type: png img1.png (73.1 KB, 16 views)
File Type: png img2.png (68.4 KB, 14 views)
File Type: png img3.png (40.1 KB, 12 views)
simply-alex is offline   Reply With Quote


edge, patch, snapping, stl

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
[mesh manipulation] Multi-region mesh from .stl files in OpenFoam V7 carl_r OpenFOAM Meshing & Mesh Conversion 7 January 4, 2024 09:02
how to set periodic boundary conditions Ganesh FLUENT 15 November 18, 2020 06:09
[snappyHexMesh] SnappyHexMesh for internal Flow vishwa OpenFOAM Meshing & Mesh Conversion 24 June 27, 2016 08:54
Possible bug with stitchMesh and cyclics in OpenFoam Jack001 OpenFOAM Pre-Processing 0 May 21, 2016 08:00
[mesh manipulation] Importing Multiple Meshes thomasnwalshiii OpenFOAM Meshing & Mesh Conversion 18 December 19, 2015 18:57

All times are GMT -4. The time now is 13:04.