nutofem / nuto

NuTo - yet another finite element library
https://nuto.readthedocs.io
Boost Software License 1.0
17 stars 5 forks source link

GmshWriter::Write() exports wrong normals in 2D #239

Open TTitscher opened 6 years ago

TTitscher commented 6 years ago

image

The normals of the interface quads are opposite to the other normals. Since we currently just take the normals from gmsh and do no further checking, this results in an inconsistent det(Jacobian).

joergfunger commented 6 years ago

Any reasons why we do not just check all det(J)>0?

TTitscher commented 6 years ago

This would be one option to warn the user. (The discussion on that is here #174) It does not fix the problem though. :cry:

We have to fix the GmshWriter code, but I have no time for that currently.