|
[Sponsors] |
[snappyHexMesh] Odd shaped cells near cells and layers collapsing |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
February 15, 2024, 05:40 |
Odd shaped cells near cells and layers collapsing
|
#1 |
New Member
Tadeu Zagallo
Join Date: Sep 2023
Posts: 3
Rep Power: 2 |
Hello,
I'm meshing a half car model for external aerodynamics simulation, using a relatively fine mesh (~30M cells) and the surface mesh looks decent (apart from some cells snapping to the wrong feature line), but I'm struggling with the shape of the cells near the surface and layers collapsing. The attached snappyHexMeshDict has the latest configuration I used, where I significantly increased the following parameters, but it made no visible difference: Code:
nSmoothPatch: 3 -> 10 nSolveIter: 30 -> 100 nRelaxIter: 5 -> 20 nFeatureSnapIter: 10 -> 50 I'd really appreciate any suggestions on what I could try next, as I've spent a few months trying to improve this and going through every thread I could find here. Thanks, Tadeu |
|
February 15, 2024, 05:43 |
|
#2 |
New Member
Tadeu Zagallo
Join Date: Sep 2023
Posts: 3
Rep Power: 2 |
Sorry, I could only attach five files, here are the remaining screenshots.
|
|
February 15, 2024, 06:54 |
|
#3 |
New Member
Tadeu Zagallo
Join Date: Sep 2023
Posts: 3
Rep Power: 2 |
Sorry, I'm a newbie and completely forgot to turn on "Crinkle slice" in ParaView.
In the meantime I tried both setting minTetQuality and minVol to 1e-30 in meshQualityControls and the trick of scaling the STLs up, meshing, then scaling down. No visible difference. Here's a couple screenshots with crinkle slice enabled, the updated quality settings and scaling the mesh. |
|
February 16, 2024, 01:40 |
|
#4 |
Senior Member
M
Join Date: Dec 2017
Posts: 645
Rep Power: 12 |
There is no general fix for the layer generation with snappyHexMesh, its notoriously unstable.
Just a few hints that might help: 1) keep the refinement level at the surface constant where you want to grow layers. This helps to insert the layers. Currently you have smaller cells at leading and trailing edges, bigger mid-chord. 2) In the ESI version, you can use the laplacian mesh shrinker (see: https://www.openfoam.com/documentati...sh-layers.html at "DisplacementMotionSolver") 3) You can try using absolute sizing instead of relative. ... |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
flow over cylinder in openFoam | saeed jamshidi | OpenFOAM Pre-Processing | 3 | August 11, 2023 15:16 |
[snappyHexMesh] snappyHexMesh does not create any mesh except one for the reference cell | Arman_N | OpenFOAM Meshing & Mesh Conversion | 1 | May 20, 2019 17:16 |
[snappyHexMesh] No layers in a small gap | bobburnquist | OpenFOAM Meshing & Mesh Conversion | 6 | August 26, 2015 09:38 |
[snappyHexMesh] Collapsing Layers | Tim_Simon | OpenFOAM Meshing & Mesh Conversion | 5 | August 2, 2015 22:51 |
[snappyHexMesh] snappyHexMesh won't work - zeros everywhere! | sc298 | OpenFOAM Meshing & Mesh Conversion | 2 | March 27, 2011 21:11 |