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
The setDrivingVariablesInitialValues and the setThermodynamicForcesInitialValues methods were added the MTest
class of themtestpython 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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The
setDrivingVariablesInitialValuesand thesetThermodynamicForcesInitialValuesmethods were added theMTestclass of the
mtestpythonmodule to solve this issue.To be consistent with the
MTestinput file keywords, the followingmethods have also been added to the
MTestclass of themtestpythonmodule: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:
tfel-3.0.xrliv-2.0trunkThose versions shall be available for download during the night.
Regards,
Thomas