FEM: examples, displacement constraint needs to set Free and Fix

This commit is contained in:
Bernd Hahnebach
2021-08-09 22:15:11 +02:00
parent ad63322ac7
commit a0d860679e

View File

@@ -159,6 +159,7 @@ def setup(doc=None, solvertype="ccxtools"):
# constraint displacement
con_disp = ObjectsFem.makeConstraintDisplacement(doc, "ConstraintDisplacmentPrescribed")
con_disp.References = [(geom_obj, "Face1")]
con_disp.zFree = False
con_disp.zFix = True
analysis.addObject(con_disp)