← Back to team overview

yade-users team mailing list archive

Re: [Question #625502]: How to get the minimum porosity of packing using randomDensePack

 

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

    Status: Open => Answered

Robert Caulk proposed the following answer:
Hello,

I noticed you are not following the same procedure used by [1] to
achieve a specified porosity. Also, in your script you are not
triaxially compressing your cube before extracting your predicate. And
even if you did triaxially compress your cube before extraction, you are
extracting your predicate from the original non-compacted spherepack
(sp). So "assembly" is a sphere of spheres with the same porosity as the
original makeCloud sphere pack.

The error you are receiving is probably due to the fact that you are
trying to append a sphere pack into the middle of another sphere pack,
resulting in maybe some instability and the loss of all spheres from
your box.

Maybe this is the procedure you need:

Follow [1] to get to a cube of specified porosity
create a new cube spherepack from the compacted spheres
use filterSpherePack to create a spherical spherepack with the cube spherepack and the predicate
remove the cube bodies from your simulation
add the new spherical spherepack to your simulation

Cheers,

Robert

[1]https://github.com/yade/trunk/blob/e4e757f2e98a620e3177b7a36a1d10f69f6a6a28/examples
/triax-tutorial/script-session1.py

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