← Back to team overview

yade-users team mailing list archive

[Question #650554]: Is something going on in the background when pack.randomDensePack() is used?

 

New question #650554 on Yade:
https://answers.launchpad.net/yade/+question/650554

I have written the following code to display a box of particles with walls surrounding it:

walls = aabbWalls([(0,0,0), (3,2,2)], thickness = .1, material = 'walls')
pred = pack.inAlignedBox((0,0,0), (3,2,2))
sp = pack.randomDensePack(pred, spheresInCell = 100, radius = 1.5e-2, rRelFuzz = 0.5/1.5, color = (1, 0.917, 0.659), returnSpherePack=False)
O.reset()
O.bodies.append(sp)
O.bodies.append(walls)

When I execute this and open the 3D model, it displays it but after some time, the window freezes (i.e, it turns black and white). It seems like some thing is happening in the background, because I am not using any simulations right now and just displaying the geometry.



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