yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #08384
Re: [Question #237037]: Porosity control (fixed volume and particle size)
Question #237037 on Yade changed:
https://answers.launchpad.net/yade/+question/237037
Status: Open => Answered
Christian Jakob proposed the following answer:
Hi Adel,
For calculation of porosity you may want to use yades porosity [1] or voxelPorosity [2] functions.
You can use these function in a PyRunner [3] for example:
#your model boundaries:
b=Vector3(?,?,?)#start vector
t=Vector3(?,?,?)#end vector
#add a PyRunner to your engines:
O.engines=O.engines+[PyRunner(iterPeriod=100,command='print voxelPorosity(100,b,t)')]
Regards,
Christian
[1] https://yade-dem.org/doc/yade.utils.html?highlight=porosity#yade._utils.porosity
[2] https://yade-dem.org/doc/yade.utils.html?highlight=porosity#yade._utils.voxelPorosity
[3] https://yade-dem.org/doc/yade.wrapper.html?highlight=pyrunner#yade.wrapper.PyRunner
--
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.