← Back to team overview

yade-users team mailing list archive

Re: [Question #703024]: Particles in the middle of the cylinder disappeared after adding the thermal engine

 

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

    Status: Needs information => Open

Ziyu Wang gave more information on the question:
Hi Karol,

Sorry for ignore this error,in fact,the packing-cylinder.spheres is
generated by following script(I don't know how to upload external files,
so I can only provide this method...)

######
from yade import pack,export,ymport

name='cylinder'

bottom,top=Vector3(0,0,0),Vector3(0,0,0.05)
radius=0.0125
sp=pack.SpherePack()
pred=pack.inCylinder(bottom,top,radius)
sp=pack.randomDensePack(pred,radius=0.0005,rRelFuzz=0,returnSpherePack=True,memoizeDb='/tmp/triax.sqlite')
spheres=sp.toSimulation(color=(0.9,0.8,0.6))

export.text('packing-'+name+'.spheres')
######

Thank you for your kindly help again!

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