Menu

#32 setStrain function in python

2.1
closed
None
2016-08-03
2016-08-02
Nathanael
No

When using MTEST via the python interface, it would be useful to have the setStrain function to initialize strains. Only SetImposedStrain seems to be available.
Thx

Discussion

  • Helfer Thomas

    Helfer Thomas - 2016-08-02
    • status: open --> accepted
     
  • Helfer Thomas

    Helfer Thomas - 2016-08-03
    • status: accepted --> closed
     
  • Helfer Thomas

    Helfer Thomas - 2016-08-03

    The setDrivingVariablesInitialValues and the
    setThermodynamicForcesInitialValues methods were added the MTest
    class of themtest python module to solve this issue.

    To be consistent with the MTest input file keywords, the following
    methods have also been added to the MTest class of themtest
    python module:

    • setStrain (valid for small strain behaviours)
    • setDeformationGradient (valid for finite strain behaviours)
    • setOpeningDisplacement (valid for cohesive zone models)
    • setStress (valid for small and finite strain behaviours)
    • setCohesiveForce (valid for cohesive zone models)

    This is done:

    • In revision 1411 for tfel-3.0.x
    • In revision 1412 for rliv-2.0
    • In revision 1413 for trunk

    Those versions shall be available for download during the night.

    Regards,

    Thomas

     

Log in to post a comment.