Menu

#31 Access to equilibrium criterion for module mtest

2.0
closed
nobody
None
2016-07-29
2016-07-29
No

For api python mtest (and ptest for 3.0) , could it be possible to access to keywords :

- @DeformationGradientEpsilon
- @StressEpsilon

in order to change the default values ?

Thanks
Rémi

Discussion

  • Helfer Thomas

    Helfer Thomas - 2016-07-29
    • status: open --> closed
     
  • Helfer Thomas

    Helfer Thomas - 2016-07-29

    Hi,

    the api python provides the setDrivingVariableEpsilon and the setThermodynamicForceEpsilon methods which works in any case.

    Nevertheless, to be consistent with the MTest input file keywords, I just added the following methods that wrap the previous ones:

    • setStrainEpsilon (valid for small strain behaviours)
    • setDeformationGradientEpsilon (valid for finite strain behaviours)
    • setOpeningDisplacementEpsilon (valid for cohesive zone models)
    • setStressEpsilon (valid for small and finite strain behaviours)
    • setCohesiveForceEpsilon (valid for cohesive zone models)

    This has been merged in:

    • revision 1404 for rdev-3.0
    • revision 1405 for rliv-2.0
    • revision 1406 for trunk

    This shall be available this night on the website. This only modified file is bindings/mfront/MTest.cxx which can easily be backported to tfel-2.0.3: see the attached file.

    Regards,

    Thomas

     

Log in to post a comment.

MongoDB Logo MongoDB