|
[Sponsors] |
[snappyHexMesh] help to troubleshooting snappy mesh errors |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 9, 2020, 11:10 |
help to troubleshooting snappy mesh errors
|
#1 |
Senior Member
Franco
Join Date: Nov 2019
Location: Compiègne, France
Posts: 129
Rep Power: 7 |
hello,
I am trying to use snappyHexMesh with a complex geometry, it has really small volumes, in some parts (see figures attached). the surface mesh i prepeared with salome from the STEP file. the background mesh i am creating it with blockMesh function, my issue is that when doing snappy, it gets a lot of illegal faces in the morphing phase (only faces with face pyramid volume < 1e-13: 30842824 ), so snappy keeps trying to solve this problem and the morphing phase iterations begins, until the morph iteration 10 the illegal faces stay the same, and after, the face with face pyramid volume < 1e-13 begins to decrease, other errors begins to appear .... ( first non-orthogonality > 65 degrees that increas in number until morph 22 then faces with face-decomposition tet quality < 1e-15 and faces with face twist < 0.02 appears). after this i beging getting foam warnings: Code:
From function static Foam::vectorField Foam::snappySnapDriver::calcNearestSurface(const Foam::meshRefinement&, const scalarField&, const indirectPrimitivePatch&, Foam::pointField&, Foam::vectorField&) in file snappyHexMeshDriver/snappySnapDriver.C at line 1638 Code:
non-orthogonality > 65 degrees : 8904 faces with face pyramid volume < 1e-13 : 30833798 faces with face-decomposition tet quality < 1e-15 : 41 faces with concavity > 80 degrees : 3 faces with skewness > 4 (internal) or 20 (boundary) : 1 faces with interpolation weights (0..1) < 0.05 : 1 faces with volume ratio of neighbour cells < 0.01 : 0 faces with face twist < 0.02 : 5 faces on cells with determinant < 0.001 : 4 Finished meshing with 30842757 illegal faces (concave, zero area or negative cell pyramid volume) I do not know where to beging as there is so much features in snappy, and as it takes some time to run (17000secs) I can not change easyly the parameters and re run it... I am attaching the blockMeshDict and also the snnapy and the log.snappy if it helps. i also attach the photos of the surface mesh , how it looks inside, and also the edges i capture from the surfaceFeatureExtract (i can say that it is extracting the correct edges....) best regards, franco |
|
June 9, 2020, 23:30 |
|
#2 |
Member
Ardalan
Join Date: Jul 2012
Location: Atlanta, USA
Posts: 77
Rep Power: 14 |
Hi,
Snappy is not a perfect tool for automesh generation. As you extracted acceptable edges from your surface, I only recommend to play with the global and local number of cells. Decrease the number refinement and see what happens. Try to find a star good coarse mesh and then refine the mesh. Snappy does not give y plus 1 so do not refine close to the wall to much. Try too deal with it. Good luck Ardalan |
|
June 10, 2020, 03:05 |
|
#3 | |
Senior Member
Franco
Join Date: Nov 2019
Location: Compiègne, France
Posts: 129
Rep Power: 7 |
Quote:
thanks for your advice, yeah I am quiet happy that I can recover the "real" edges with such precision. global and local numbers of cells is up to the sky already :/ I am at 12 000 000 of cells for the global and 2 000 000 for the locals (but I will give a try!) decrease the number of refinement? i though that it will be better the higher the number is... star mesh you refear to the background mesh dont you? it was I was trying to modify now. Snappy does not give y plus,Snappy is not a perfect tool for automesh generation , please allow me to ask you, what you would recommend? i have several geometries with the same boundaries and the same bounding bock with more or less the same internal dimensions so i thought that if I find the correct parameters for snappy it would be a good option, but I am really open to suggestions ! I thought about cfMesh but as the development stop it i thought it would not be a good idea... I don't know. any recommendation is appreciated it! and thanks again for the help ! franco |
||
July 16, 2023, 09:04 |
|
#4 |
New Member
Join Date: Jun 2023
Location: Brest
Posts: 21
Rep Power: 3 |
Hello,
I wonder if you managed in the end to reduce the number of illegal faces because I am facing the same problem, with more than 1M cells. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[snappyHexMesh] Snappy Hex Mesh - issue with smoothness of the model edges | olek.warc | OpenFOAM Meshing & Mesh Conversion | 1 | August 31, 2018 12:31 |
Unstructrued O-type Mesh of a cylinder with icoFoam | kindle | OpenFOAM Running, Solving & CFD | 1 | December 2, 2016 12:45 |
Floating point exception error | lpz_michele | OpenFOAM Running, Solving & CFD | 53 | October 19, 2015 03:50 |
AMI interDyMFoam for mixer nu problem | danny123 | OpenFOAM Programming & Development | 8 | September 6, 2013 03:34 |
Icemcfd 11: Loss of mesh from surface mesh option? | Joe | CFX | 2 | March 26, 2007 19:10 |