yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #16490
Re: [Question #662040]: How to include an initial porosity in triax test
Question #662040 on Yade changed:
https://answers.launchpad.net/yade/+question/662040
Status: Open => Answered
Jérôme Duriez proposed the following answer:
Hi,
Does "initial porosity" mean the porosity after these commands:
sp=pack.randomDensePack(pred,radius=0.005,spheresInCell=num_spheres,material='spheres')#returnSpherePack=True)
O.bodies.append(sp)
?
(it would help if you specified in the question that you replaced the use of makeCloud with randomDensePack)
If yes, the answer is no, according to the corresponding function's doc
[*] which does not include any porosity-related attribute.
randomDensePack() actually is a sort of black box function which
performs the same kind of simulations than the "original triaxial
script", see [**] for details.
It is not supposed to be used in conjunction with these triaxial scripts
(no need to do twice the same job)
[*] https://yade-dem.org/doc/yade.pack.html?highlight=randomdensepack#yade.pack.randomDensePack
[**] https://github.com/yade/trunk/blob/670694b60d31d914b36e725f2aaf758bf64b2ebd/py/pack/pack.py#L454
--
You received this question notification because your team yade-users is
an answer contact for Yade.