Hello,
The mesh has some inverted triangles (black). How can I proceed to flip these normals in order to have the correct cells orientations locally?
I try this but it doesn’t work.
Check whether your mesh is manifold. That is, whether it can be unfolded into a 2D surface like those paper polyhedra we made during the school years. Being able to be unfolded, it allows to make all normals point into the same direction. Please, take a look at this: Remove faces in contact with non-manifold edges