------------------------------------------------------------ revno: 4035 committer: Jan Stránský <[email protected]> timestamp: Tue 2017-04-18 09:47:14 +0200 message: fixed a typo in micro-stress example question #622071 modified: doc/sphinx/user.rst
-- lp:yade https://code.launchpad.net/~yade-pkg/yade/git-trunk Your team Yade developers is subscribed to branch lp:yade. To unsubscribe from this branch go to https://code.launchpad.net/~yade-pkg/yade/git-trunk/+edit-subscription
=== modified file 'doc/sphinx/user.rst' --- doc/sphinx/user.rst 2016-11-08 16:18:55 +0000 +++ doc/sphinx/user.rst 2017-04-18 07:47:14 +0000 @@ -1577,7 +1577,7 @@ TW=TesselationWrapper() TW.computeVolumes() s=bodyStressTensors() - stress = s[b.id]**4.*pi/3.*b.shape.radius**3/TW.volume(b.id) + stress = s[b.id]*4.*pi/3.*b.shape.radius**3/TW.volume(b.id) As any other value, the stress can be exported to a vtk file for display in Paraview using :yref:`yade.export.VTKExporter`.
_______________________________________________ Mailing list: https://launchpad.net/~yade-dev Post to : [email protected] Unsubscribe : https://launchpad.net/~yade-dev More help : https://help.launchpad.net/ListHelp

