← Back to team overview

yade-users team mailing list archive

Re: [Question #691679]: About gravity deposition example in the yade documentation

 

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

    Status: Open => Answered

Jan Stránský proposed the following answer:
Hello,

1.
Parameters of geom.facetBox are center and extents, which are half-sizes of the final size (although the documentation says "lengths of the box sides").
So "the length of the rectangular box" is 1 and now the numbers should fit together better.

Again, feel free to
- update the documentation yourself
- open an issue on gitlab pointing that the documentation is inaccurate

2.
as the names should suggest, plot.addData just adds data to the plot storage and savaDataTxt saves the stored data to a text file.
See documentation [1,2] and user's manual [3] for more details

3.
O.energy [4,5] tracks energies in the simulations.
You can use O.energy.keys() to see what energies are currently stored.
Usually it differs from simulation to simulation, as e.g. different Law2 uses their own "keys" to store e.g. dissipation by friction, dissipation by viscosity etc.
It is not "file", it is a variable.

cheers
Jan

[1] https://yade-dem.org/doc/yade.plot.html#yade.plot.addData
[2] https://yade-dem.org/doc/yade.plot.html#yade.plot.saveDataTxt
[3] https://yade-dem.org/doc/user.html#tracking-variables
[4] https://yade-dem.org/doc/yade.wrapper.html#yade.wrapper.Omega.energy
[5] https://yade-dem.org/doc/yade.wrapper.html#yade.wrapper.EnergyTracker

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