yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #15653
Re: [Question #657126]: Performing a penetration test
Question #657126 on Yade changed:
https://answers.launchpad.net/yade/+question/657126
Swapnil posted a new comment:
It is indeed part of the same problem mate :)
I read the tracking of variables part. In summary, I could understand
that the "plot" module is the key here for tracking ( & obviously
plotting the desired data).
from what I read, I could figure out that one needs to perform one of
the following:
(1) use PyRunner to record and print the data required. It also records
the data periodically. e.g. PyRunner(command="print 'kinetic
energy',kineticEnergy()",realPeriod=5)
(2) define a function comprising the required data (as plot/print.....)
to be tracked and then call it into the Pyrunner as above.
Please correct me if I misunderstood this. Could you cite an example for
the task you performed above. Like taking a couple of variables, using
the commands and then tracking them. Also, how does one reach the file
where the data is stored?
--
You received this question notification because your team yade-users is
an answer contact for Yade.