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

[snappyHexMesh] Cell splitting in the wrong place

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By rocketLauncher

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 2, 2024, 02:11
Default Cell splitting in the wrong place
  #1
New Member
 
Join Date: Aug 2024
Posts: 2
Rep Power: 0
n936an is on a distinguished road
Hello there,

This is my first time using snappyHexMesh with a custom STL file. It's the right wing of a 737.

After running blockMesh and surfaceFeatures, I ran snappyHexMesh (with only addLayers turned off). It seems to snap to the wing geometry just fine, but at the same time it randomly cuts some of the cells on the outermost faces of the blockMesh, which seem to be completely isolated regions from the wing itself. I've attached a screenshot highlighting the issue.

So far I've been trying to fix this in the CAD software, thinking it's got something to do with the STL file itself. I tried repairing the STL and removing some of the smaller details like the vortex generators, but I didn't see clear changes when rerunning snappy. I'm not sure if the issue is correlated to that.

So, my questions are:

1) Is this something I can fix using any of the dict files? Or is it a purely STL problem?

2) Would this affect how long the simulation takes (due to added number of cells) and/or the results?

I've also attached my case directory with the mesh in question.
https://drive.google.com/file/d/12o7...usp=drive_link

Thanks in advance for the help.
Attached Images
File Type: jpg screenshot.jpg (200.0 KB, 9 views)
n936an is offline   Reply With Quote

Old   August 5, 2024, 05:03
Default
  #2
Member
 
Join Date: May 2024
Location: France
Posts: 35
Rep Power: 2
rocketLauncher is on a distinguished road
Hello,

Fixing the stl file is always a good instinct, try to refine the geometry stl mesh as best as you can. Are you using Salome for that?

Next step is the blockMesh. You appear to be using a very large domain, is that necessary? The quality of your castellation and snapping is closely correlated to the blockMesh. Aim for an aspect ratio of 1. To make things easier, you can use an interface like BaramMesh (it's free).

Then, check in the castellation parameters your feature angle. Default is typically 30, you could try lowering it a little.

Fianlly, in the snapping controls, you can increase the snapping relaxation iterations to 300 for a better quality. It will just take more time.

Try those and come back to the forum with some more screenshots if the problem persists. Good luck!
n936an likes this.
rocketLauncher is offline   Reply With Quote

Reply


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
Controlling species wall flux using a UDF that checks adjacent cell species conc. ZachFrankman Fluent UDF and Scheme Programming 1 August 10, 2022 04:36
[mesh manipulation] Importing Multiple Meshes thomasnwalshiii OpenFOAM Meshing & Mesh Conversion 18 December 19, 2015 19:57
[mesh manipulation] Utility for hexaedra cell splitting karlli OpenFOAM Meshing & Mesh Conversion 1 July 6, 2015 10:27
[CGNS] foamToCGNS converter got Error: wrong number of vertices in cell aqua OpenFOAM Meshing & Mesh Conversion 2 March 1, 2012 19:00
Cells with t below lower limit Purushothama Siemens 2 May 31, 2010 22:58


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