Skip to content

Commit

Permalink
FEM: Update equation_deformation_spring_elmer.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 04d590b commit 6f06c8e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Mod/Fem/femexamples/equation_deformation_spring_elmer.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,9 +160,9 @@ def setup(doc=None, solvertype="elmer"):
DisplaceLeft.hasXFormula = True
DisplaceLeft.xDisplacementFormula = 'Variable "time"; Real MATC "0.006*tx"'
DisplaceLeft.yFree = False
DisplaceLeft.yFix = True
DisplaceLeft.yDisplacement = 0
DisplaceLeft.zFree = False
DisplaceLeft.zFix = True
DisplaceLeft.zDisplacement = 0
DisplaceLeft.References = [(SpringObject, "Face1")]
analysis.addObject(DisplaceLeft)

Expand All @@ -171,9 +171,9 @@ def setup(doc=None, solvertype="elmer"):
DisplaceRight.hasXFormula = True
DisplaceRight.xDisplacementFormula = 'Variable "time"; Real MATC "-0.006*tx"'
DisplaceRight.yFree = False
DisplaceRight.yFix = True
DisplaceRight.yDisplacement = 0
DisplaceRight.zFree = False
DisplaceRight.zFix = True
DisplaceRight.zDisplacement = 0
DisplaceRight.References = [(SpringObject, "Face5")]
analysis.addObject(DisplaceRight)

Expand Down

0 comments on commit 6f06c8e

Please sign in to comment.