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

[snappyHexMesh] Different meshing for gear tooth

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

Like Tree1Likes
  • 1 Post By AtoHM

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 6, 2025, 16:22
Default Different meshing for gear tooth
  #1
New Member
 
Join Date: Oct 2024
Posts: 12
Rep Power: 3
Albertine is on a distinguished road
Hi,

I'm having this king of issue while meshing a gear, specifically I have troubles in correspondence of the tooth tip, some of them are meshed correctly straight while others become rounded. Since some of the are good I wouldn't say is a surfaceFeatures problem, but I really have no clues.

Can you suggest me some possible error sources? I think the problem is originated during the castellation phase.

Here are attached a screenshot of the .stl file, of the rounded tip and the correct one.

Thanks in advance

Last edited by Albertine; October 8, 2025 at 17:31.
Albertine is offline   Reply With Quote

Old   October 7, 2025, 04:29
Default
  #2
Senior Member
 
Yann
Join Date: Apr 2012
Location: France
Posts: 1,347
Rep Power: 32
Yann will become famous soon enoughYann will become famous soon enough
Something went wrong with your attachments and screenshots would definitely help!
Yann is offline   Reply With Quote

Old   October 8, 2025, 17:31
Default
  #3
New Member
 
Join Date: Oct 2024
Posts: 12
Rep Power: 3
Albertine is on a distinguished road
Quote:
Originally Posted by Yann View Post
Something went wrong with your attachments and screenshots would definitely help!
I'm sorry for the inconvenient, here are the pictures. I've investigated more and emerged that if I use nSmoothPatch 0, all the teeth are snapped correctly but roandmbly in some space between teeth some cells are wrongly created as in the third image. If I put nSmoothPatch >0 the spaces are correctly managed while some tooth tip are rounded.
I also tried to do 2 snapping phases a first one with nSmoothPatch >0 and then =0 to try to square the tooth tip but didn't work.
However, the mesh passed the checkMesh -allTopology, but I'm afraid that the simulation will struggle with such kind of cells.
Attached Images
File Type: jpg nSmoothPatch2_1.jpg (52.3 KB, 16 views)
File Type: jpg nSmoothPatch2.jpg (54.3 KB, 14 views)
File Type: png Screenshot 2025-10-08 alle 09.57.05.png (181.4 KB, 13 views)
Albertine is offline   Reply With Quote

Old   October 22, 2025, 07:52
Default
  #4
Senior Member
 
M
Join Date: Dec 2017
Posts: 718
Rep Power: 13
AtoHM is on a distinguished road
You only have 2 cells across the tip. The snapping works well for the shown tooth thats aligned with the background mesh and not so well on the inclined tooth, where snapping is harder. Might be better with more cells. It appears at the whole front face, so i agree, its not an edge refinement issue.
Also I see you are using a non-uniform blockMesh. The more you deviate from cubic cells, the harder it will be for snappy to create a good mesh.


What I would try:
- increase the refinement level
- is a cylindrical blockmesh an option? it woule align each tip with the background mesh
- start with a uniform blockmesh
- nCellsBetweenLevels to 4 might help
Yann likes this.
AtoHM is offline   Reply With Quote

Old   November 6, 2025, 10:29
Default
  #5
New Member
 
Join Date: Oct 2024
Posts: 12
Rep Power: 3
Albertine is on a distinguished road
Quote:
Originally Posted by AtoHM View Post
You only have 2 cells across the tip. The snapping works well for the shown tooth thats aligned with the background mesh and not so well on the inclined tooth, where snapping is harder. Might be better with more cells. It appears at the whole front face, so i agree, its not an edge refinement issue.
Also I see you are using a non-uniform blockMesh. The more you deviate from cubic cells, the harder it will be for snappy to create a good mesh.


What I would try:
- increase the refinement level
- is a cylindrical blockmesh an option? it woule align each tip with the background mesh
- start with a uniform blockmesh
- nCellsBetweenLevels to 4 might help
Thank you for your answer, basically I have already tried your suggestions, the best result has been obtained with a higher refinement but still with some minor issues, but with a huge amount of cells. I ended up to have a less accurate geometry but with a reasonable number of cells.
Albertine 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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[ANSYS Meshing] only automatic meshing works, kazra ANSYS Meshing & Geometry 2 February 23, 2017 12:38
[ICEM] Flow channel meshing problems StefanG ANSYS Meshing & Geometry 19 May 15, 2012 07:44
[ANSYS Meshing] Meshing strategy for External Flows Hybrid ANSYS Meshing & Geometry 0 January 24, 2012 15:27
Best Meshing scheme for Cylinder Nutrex Main CFD Forum 4 July 29, 2008 12:03
Volume Meshing & Face Meshing? singularity of grid ken FLUENT 0 September 4, 2003 12:08


All times are GMT -4. The time now is 19:07.