Question #675267 on Yade changed:
https://answers.launchpad.net/yade/+question/675267

Robert Caulk proposed the following answer:
TW.setState() is used to set states for comparison in order to generate
the strain field. If you want to TW to compute a strain field, set the
second state correctly (according to the link you provided) using:

TW.setState(1).

>>If you can export the changes in the strain field over time with
compression, it will be more suitable for me.Thanks for any help.

You're welcome:

TW=TesselationWrapper()
TW.computeVolumes()
TW.volume(20)
TW.setState(0)
step=0
while 1:
    step +=1
    O.run(1000,True)
    TW.setState(1)
    TW.defToVtk("strain_"+str(step)+".vtk")

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.

_______________________________________________
Mailing list: https://launchpad.net/~yade-users
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp

Reply via email to