yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #23444
[Question #691679]: About gravity deposition example in the yade documentation
New question #691679 on Yade:
https://answers.launchpad.net/yade/+question/691679
Dear all,
When I study the Gravity deposition example in the yade documentation, some places of the script confuse me a lot.
The script link is as following:
https://gitlab.com/yade-dev/trunk/blob/master/doc/sphinx/tutorial/02-gravity-deposition.py
My questions:
1. From "O.bodies.append(geom.facetBox((.5,.5,.5),(.5,.5,.5),wallMask=31))", we know the length of the rectangular box is 0.5. But the maximum corner of the sphere cloud is (1,1,1)"sp.makeCloud((0,0,0),(1,1,1),rMean=.05,rRelFuzz=.5)". Whether the maximum corner of the sphere cloud should be (.5,.5,.5)?
2. The script includes "plot.saveDataTxt('bbb.txt.bz2')" and "plot.addData(i=O.iter,unbalanced=unbalancedForce(),**O.energy)". What is the difference between the function of "plot.saveDataTxt()" and "plot.addData()"?
3. In this sentence "plot.addData(i=O.iter,unbalanced=unbalancedForce(),**O.energy)", what is the meaning of the "energy"? What data does this "energy" file contain?
Many thanks in advance
--
You received this question notification because your team yade-users is
an answer contact for Yade.