Check simulation file

Asked by maria aurora natale on 2019-02-07

Good morning Yade community!

This is my question:

I would like to know how can I check the results inside a simulation file (a file with extension .yade). I know that a way to see them is using a plot function like instance "plot.addData()" or "plot.saveDataTxt()". If I'm not wrong there also is another way using the 3d view or the controller. However I'm not able to use them from my current workstation.

What I would simple like to know is there is any possibility to point out the results from the prompt, or using a python syntax in order to point out porosity() or avgNumInteraction() against i=O.iter. Until now I haven't got enough results.

I give you thank you in advance. Any suggestion wuold be very helpfull.



Question information

English Edit question
Yade Edit question
No assignee Edit question
Last query:
Last reply:
Jérôme Duriez (jduriez) said : #1


Once you O.load('something.yade') you can access using the command line and/or Inspect from the GUI all the YADE variables that are exposed to Python (ie almost everything, see [*])

These variables obviously are the variables at some given state = the state of the model when'something.yade') was called, let's call it the "present" state.

However, it seems you want to know the "past", eg the past history of porosity against O.iter. This is not possible...

It was up to the user who'd to monitor and export the time/iteration histories for the variables of interest.



Dear Jérôme,

I understood. Your answer was very clear!

Thank you so much!


Can you help with this problem?

Provide an answer of your own, or ask maria aurora natale for more information if necessary.

To post a message you must log in.