FEM gmsh mesh, set SecondOrderLinear standard to False

This commit is contained in:
Bernd Hahnebach
2020-05-27 17:55:54 +02:00
parent 65f39cded1
commit 8650fb9d16

View File

@@ -204,7 +204,13 @@ class MeshGmsh(base_fempythonobject.BaseFemPythonObject):
"FEM Gmsh Mesh Params",
"Second order nodes are created by linear interpolation"
)
obj.SecondOrderLinear = True
obj.SecondOrderLinear = False
# gives much better meshes in the regard of nonpositive jacobians
# but
# on curved faces the constraint nodes will no longer found
# thus standard will be False
# https://forum.freecadweb.org/viewtopic.php?t=41738
# https://forum.freecadweb.org/viewtopic.php?f=18&t=45260&start=20#p389494
if not hasattr(obj, "Algorithm2D"):
obj.addProperty(