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

[snappyHexMesh] SHM does not snap if I increase cells in blockMesh or increase maxNumbercells in SHM

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By AtoHM

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 29, 2024, 18:20
Default SHM does not snap if I increase cells in blockMesh or increase maxNumbercells in SHM
  #1
New Member
 
Aarib Irfan
Join Date: Mar 2020
Posts: 18
Rep Power: 6
Aarib is on a distinguished road
I am trying to simulate propeller in OpenFoam using the SHM. The meshing runs file if I use the default files from the propeller tutorial however the mesh is too coarse for my simulation. But if I try to increase the cells in blockMesh then the SHM does not snap the mesh to propeller and just give me blockMesh with inlet and outlet.

But if I use less cells in blockMesh then SHM works fine and snaps the mesh to the propeller. I don't understand why its doing this.

The same thing happens when I try to increase refinement level and maximum number of cells in SHM. Everything else remains the same. Can someone tell me why this happens?
Aarib is offline   Reply With Quote

Old   January 30, 2024, 02:28
Default
  #2
Senior Member
 
M
Join Date: Dec 2017
Posts: 703
Rep Power: 13
AtoHM is on a distinguished road
I have not done this tutorial, but if the number of cells/levels (higher spatial resolution) is really the only parameter that is changing, there might be an issue with the STL file itself. If the input stl is not closed and your cell size is able to resolve the gap, snappy will stop working and just hand you back your blockMesh which is what you described.
You can navigate to your folder and run
Code:
surfaceCheck propeller.stl
to see if it is closed.
Yann likes this.
AtoHM is offline   Reply With Quote

Reply

Tags
openfoam, shm, snap, 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
[snappyHexMesh] snappyHexMesh does not detect highly skewed faces? ptpacheco OpenFOAM Meshing & Mesh Conversion 1 January 4, 2022 13:37
[snappyHexMesh] SHM doesn't snap the boundary between two surfaces on same plane decanter OpenFOAM Meshing & Mesh Conversion 4 November 17, 2020 16:32
[snappyHexMesh] SHM not snapping to some surfaces Swift OpenFOAM Meshing & Mesh Conversion 13 January 4, 2016 02:56
[Netgen] Import netgen mesh to OpenFOAM hsieh OpenFOAM Meshing & Mesh Conversion 32 September 13, 2011 06:50
physical boundary error!! kris Siemens 2 August 3, 2005 01:32


All times are GMT -4. The time now is 10:59.