Fix mesh: Bad mesh, cannot continue.

Submitted by Min Zhang on
Min Zhang

Then I found this post and I tried:
https://www.cfdem.com/forums/elementexclusionlist-write

This is the new ERROR message:
Mesh walls_0: 80 mesh elements have more than 5 neighbors
ERROR on proc 0: Fix mesh: Bad mesh, cannot continue. Possibly corrupt elements with too many neighbors.

The mesh file "walls_new.stl" is the same as before. But I don't know why this time I have much more bad mesh elements.

Fri, 12 Jul 2019 - 03:16 Permalink

I used the following command in OpenFOAM to get the stl file.
surfaceMeshTriangulate -patches '(walls patch2 patch3)' walls_new.stl

I have no idea about this error. What should I do?
Mesh walls_0: 2 mesh elements have more than 5 neighbors
ERROR on proc 0: Fix mesh: Bad mesh, cannot continue. Possibly corrupt elements with too many neighbors. Remedies:
- You can use the 'element_exclusion_list' feature to remove elements with too many neighbors and elements with angles below t\
he hard limit
- If you know what you're doing, you can alternatively also try to change the definition of SurfaceMeshBase in tri_mesh.h and\
recompile (../surface_mesh_I.h:611)
srun: error: nid00014: task 0: Exited with exit code 255

Thanks!