Skip to content

Commit

Permalink
FEM: Update buckling_lateraltorsionalbuckling.py
Browse files Browse the repository at this point in the history
  • Loading branch information
FEA-eng authored and chennes committed Aug 3, 2024
1 parent 6f06c8e commit 288963c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Mod/Fem/femexamples/buckling_lateraltorsionalbuckling.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 288963c

Please sign in to comment.