← Back to team overview

yade-users team mailing list archive

Re: [Question #701837]: utils.voidratio2D()

 

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

    Status: Open => Answered

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

see source code [1,2,3,4].

If the documentation is not sufficient, fell free to create an issue on
gitlab or improve it yourself.

> What does "disk" mean in this method?

Disk is simply projection of a sphere into a plane.
Volume of a disk is area of the disk, pi*r^2.
V is computed as (true volume)/zlen

> Does this mean that we get the porosity of the particles blocked the
z-direction?

You get void ratio, not porosity.

You get the void ratio under assumption that all particles are in a
plane (not necessarily in xy), regardless blocked or not.

Cheers
Jan

[1] https://gitlab.com/yade-dev/trunk/-/blob/master/py/_utils.cpp#L890
[2] https://gitlab.com/yade-dev/trunk/-/blob/master/py/_utils.cpp#L515
[3] https://gitlab.com/yade-dev/trunk/-/blob/master/preprocessing/dem/Shop_02.cpp#L965
[4] https://gitlab.com/yade-dev/trunk/-/blob/master/preprocessing/dem/Shop_02.cpp#L950

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