From 288963cbcd3aacc0f094ca732ac3c3a7d2b64b5b Mon Sep 17 00:00:00 2001 From: FEA-eng <59876896+FEA-eng@users.noreply.github.com> Date: Tue, 30 Jul 2024 21:47:10 +0200 Subject: [PATCH] FEM: Update buckling_lateraltorsionalbuckling.py --- .../Fem/femexamples/buckling_lateraltorsionalbuckling.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Mod/Fem/femexamples/buckling_lateraltorsionalbuckling.py b/src/Mod/Fem/femexamples/buckling_lateraltorsionalbuckling.py index 70e8232ca2e6..49e86961c15f 100644 --- a/src/Mod/Fem/femexamples/buckling_lateraltorsionalbuckling.py +++ b/src/Mod/Fem/femexamples/buckling_lateraltorsionalbuckling.py @@ -147,15 +147,15 @@ def setup(doc=None, solvertype="ccxtools"): # constraints displacement con_disp_x = ObjectsFem.makeConstraintDisplacement(doc, "ConstraintDisplacement_X") con_disp_x.References = [(geom_obj, "Vertex2")] - con_disp_x.xFix = True + con_disp_x.xDisplacement = 0 con_disp_x.xFree = False analysis.addObject(con_disp_x) con_disp_yz = ObjectsFem.makeConstraintDisplacement(doc, "ConstraintDisplacement_YZ") con_disp_yz.References = [(geom_obj, ("Edge15", "Edge16"))] - con_disp_yz.yFix = True + con_disp_yz.yDisplacement = 0 con_disp_yz.yFree = False - con_disp_yz.zFix = True + con_disp_yz.zDisplacement = 0 con_disp_yz.zFree = False analysis.addObject(con_disp_yz)