Skip to content

Commit

Permalink
FEM: Update buckling_platebuckling.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 ec74f36 commit 04d590b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Mod/Fem/femexamples/buckling_platebuckling.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,13 +118,13 @@ def setup(doc=None, solvertype="ccxtools"):
# constraints displacement
con_disp_x = ObjectsFem.makeConstraintDisplacement(doc, "ConstraintDisplacement_X")
con_disp_x.References = [(geom_obj, "Edge1")]
con_disp_x.xFix = True
con_disp_x.xDisplacement = 0
con_disp_x.xFree = False
analysis.addObject(con_disp_x)

con_disp_y = ObjectsFem.makeConstraintDisplacement(doc, "ConstraintDisplacement_Y")
con_disp_y.References = [(geom_obj, "Vertex1")]
con_disp_y.yFix = True
con_disp_y.yDisplacement = 0
con_disp_y.yFree = False
analysis.addObject(con_disp_y)

Expand All @@ -135,7 +135,7 @@ def setup(doc=None, solvertype="ccxtools"):
(geom_obj, "Edge3"),
(geom_obj, "Edge4"),
]
con_disp_z.zFix = True
con_disp_z.zDisplacement = 0
con_disp_z.zFree = False
analysis.addObject(con_disp_z)

Expand Down

0 comments on commit 04d590b

Please sign in to comment.