← Back to team overview

yade-users team mailing list archive

Re: [Question #247061]: Slow start-up time for small particles

 

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

    Status: Open => Answered

Klaus Thoeni proposed the following answer:
Hi,

here is one way of doing it by using the export/import functions, i.e.

1. create your packing and export it with with something like [1]:
    export.text('packing.txt')

2. crate a second script where you import the packing with something like [2]:
    packing=[]
    for dx in [0,1,2]:
      packing+=ymport.text('packing.txt',scale=1.0,shift=Vector3(dx,0,0))
    O.bodies.append(packing)

HTH
Klaus

[1] https://yade-dem.org/doc/yade.export.html#yade.export.text
[2] https://yade-dem.org/doc/yade.ymport.html#yade.ymport.text

-- 
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.