utils.voidratio2D()

Asked by enki

utils.voidratio2D()

Compute 2D packing void ratio (V-Vs)/Vs where V is overall volume and Vs is volume of disks.

Parameters zlen (float) – length in the third direction.

What does "disk" mean in this method?

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

Question information

Language:
English Edit question
Status:
Solved
For:
Yade Edit question
Assignee:
No assignee Edit question
Solved by:
Jan Stránský
Solved:
Last query:
Last reply:
Revision history for this message
Best Jan Stránský (honzik) said :
#1

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

Revision history for this message
enki (kikiyu) said :
#2

Thanks Jan Stránský, that solved my question.