|
[Sponsors] |
[snappyHexMesh] Refinement inside a Cylinder and Layer Improvement |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 20, 2024, 08:59 |
Refinement inside a Cylinder and Layer Improvement
|
#1 |
New Member
Ilyes SAYAD
Join Date: Jul 2021
Posts: 22
Rep Power: 5 |
Hello everyone,
I am encountering some difficulties with snappyHexMesh and would appreciate your help. I am working on a CFD simulation involving a cylinder with a three-blade geometry inside. I have attached some screenshots of my current mesh, as well as a reference image from a thesis showing the desired mesh refinement.
Here the attached files:
Thank you in advance for your assistance ! Best regards, |
|
June 20, 2024, 10:13 |
|
#2 |
Senior Member
Yann
Join Date: Apr 2012
Location: France
Posts: 1,238
Rep Power: 29 |
Hello Ilyes,
It looks like you could add a bit of refinement on your blades and inside your rotating zone. So basically increase the refinement levels. For instance for the blades Code:
savonius { level (5 5); } Code:
refinementCylinder { mode inside; levels ((1e15 4)); } Yann |
|
June 25, 2024, 07:27 |
|
#3 |
New Member
Ilyes SAYAD
Join Date: Jul 2021
Posts: 22
Rep Power: 5 |
Hello Yann,
Thank you for your response. Attached is a screenshot of the mesh after applying your suggestions. It is still not uniform. Is there a way to force SnappyHexMesh to generate hexahedrons only in a certain domain? Does a mesh need to be "aesthetically pleasing"? Thanks in advance, |
|
June 25, 2024, 12:22 |
|
#4 | |
Senior Member
Yann
Join Date: Apr 2012
Location: France
Posts: 1,238
Rep Power: 29 |
Hello Ilyes,
The square pattern is a bit weird, I don't really see what could cause it. Could you share your snappyHexMeshDict and snappy log? Quote:
Please note the lines visible on your screenshot are only a matter of visualization in ParaView (see here for instance: do Squiggles in snappyHexMesh effect quality) You can also uncheck the "decompose polyhedra" option when loading your case in ParaView. (cfMesh noisy mesh) |
||
June 26, 2024, 05:14 |
|
#5 | ||
New Member
Ilyes SAYAD
Join Date: Jul 2021
Posts: 22
Rep Power: 5 |
Bonjour Yann,
Thank you for your answer. Quote:
I've attached the snappyHexMeshDict, snappy log, and case file. I think the blockMesh might be a significant factor. Any advice on the required refinement level would be appreciated. Quote:
By "aesthetically pleasing," I meant a uniform mesh without visible lines. I tried your suggestions and removed the lines in ParaView ! but the square patterns remain. Best, Ilyes |
|||
June 26, 2024, 06:27 |
|
#6 |
Senior Member
Yann
Join Date: Apr 2012
Location: France
Posts: 1,238
Rep Power: 29 |
Hello,
Snappy is reaching the cell number limit defined in the maxGlobalCells parameter in snappyHexMeshDict, as you can see in the log file: Code:
Shell refinement iteration 3 ---------------------------- No cells marked for refinement since reached limit 5000000. |
|
July 10, 2024, 04:48 |
|
#7 |
New Member
Ilyes SAYAD
Join Date: Jul 2021
Posts: 22
Rep Power: 5 |
Hello Yann,
It works fine ! Thanks a lot for your help. Regards, |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[snappyHexMesh] Cant manage to refine a cylinder with snappyhexmesh. | samwise14 | OpenFOAM Meshing & Mesh Conversion | 4 | October 3, 2022 09:08 |
[snappyHexMesh] layer not added | Rasmusiwersen | OpenFOAM Meshing & Mesh Conversion | 1 | January 2, 2020 10:43 |
[snappyHexMesh] Problem airfoil snappyhexmesh add layer | bye bye my blue | OpenFOAM Meshing & Mesh Conversion | 1 | May 5, 2017 06:56 |
[snappyHexMesh] Layers:problem with curvature | giulio.topazio | OpenFOAM Meshing & Mesh Conversion | 10 | August 22, 2012 10:03 |
[snappyHexMesh] Boundary layer generation problems | ivan_cozza | OpenFOAM Meshing & Mesh Conversion | 0 | October 6, 2010 14:47 |