How does YADE calculate VF (volume fraction)

Asked by Huanyu Liao

I'm wondering how YADE calculates VF. For example, does it apply a representative volume which contains cut particles or just calculate the volume of full particles within the bounding box?
I haven't used this code before and I'm studying on particle packing right now. Could some else who had the experience with YADE give me a hint?

Question information

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

Hello,

> I'm wondering how YADE calculates VF.

please be more specific on what you have already tired / seen, if you ask just informatively etc. (also please see [1]).
Yade has python interface, so you can write your own computations that fits your needs.

> For example, does it apply a representative volume which contains cut particles or just calculate the volume of full particles within the bounding box?

see above, you can do both

cheers
Jan

[1] https://yade-dem.org/wiki/Howtoask

Revision history for this message
Jérôme Duriez (jduriez) said :
#2

Hi,

In case you had in mind the specific example of built-in porosity() function, the corresponding doc at [1] (or in your YADE session, just type "porosity?") hopefully is clear enough.
Because YADE is open source, you may also check the source code at [2] to check / better understand what the doc says.

Jérôme

[1] https://yade-dem.org/doc/yade.utils.html?highlight=porosity#yade._utils.porosity
[2] https://github.com/yade/trunk/blob/master/pkg/dem/Shop_01.cpp#L299

Can you help with this problem?

Provide an answer of your own, or ask Huanyu Liao for more information if necessary.

To post a message you must log in.