← Back to team overview

yade-users team mailing list archive

Re: [Question #232060]: ValueError:

 

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

    Status: Answered => Open

pingyang.1019@xxxxxxx is still having a problem:
Hello!
   12.py is my script, and operation system is LIUX. 
12.py: 

from yade import pack
mn,mx=Vector3(0,0,0),Vector3(0.025,0.025,0.05) # corners of the initial packing
thick = 0.01 # thickness of the plates
## create materials for spheres and plates
O.materials.append(CohFrictMat(young=15e6,poisson=0.2,density=2600,frictionAngle=radians(30),normalCohesion=1e6,shearCohesion=1e6,momentRotationLaw=True,etaRoll=0.1,label='spheres'))
O.materials.append(CohFrictMat(young=15e6,poisson=0.2,frictionAngle=0,density=0,label='walls'))
O.materials.append(CohFrictMat(young=15e6,poisson=0.2,frictionAngle=0,density=1800,label='chainedCylinder'))



O.bodies.append(utils.sphere((0,0,0),0.004,material='spheres'))
O.bodies.append(utils.sphere((0.025,0,0),0.0045,material='spheres'))
O.bodies.append(utils.sphere((0,0.025,0),0.0042,material='spheres'))
O.bodies.append(utils.sphere((0.025,0.025,0),0.0045,material='spheres'))
O.bodies.append(utils.sphere((0.0125,0.0125,0.0125),0.0036,material='spheres'))
O.bodies.append(utils.sphere((0.0125,0.0125,0),0.0037,material='spheres'))
O.bodies.append(utils.sphere((0,0,0.025),0.0045,material='spheres'))
O.bodies.append(utils.sphere((0,0.025,0.025),0.0035,material='spheres'))
O.bodies.append(utils.sphere((0,0.0125,0.0125),0.003,material='spheres'))
O.bodies.append(utils.sphere((0.025,0,0.025),0.0044,material='spheres'))
O.bodies.append(utils.sphere((0.025,0.025,0.025),0.004,material='spheres'))
O.bodies.append(utils.sphere((0.025,0.0125,0.0125),0.0034,material='spheres'))
O.bodies.append(utils.sphere((0.0125,0.0125,0.025),0.0035,material='spheres'))
O.bodies.append(utils.sphere((0.015,0,0.015),0.0045,material='spheres'))
O.bodies.append(utils.sphere((0.015,0.025,0.0125),0.004,material='spheres'))
O.bodies.append(utils.sphere((0.025,0.025,0.012),0.003,material='spheres'))
yade.utils.chainedCylinder(begin=Vector3(0.025,0.025,0.012), end=Vector3(0.0125,0.0125,0.0125), radius=0.0004, dynamic=None, fixed=False, wire=False, color=None, highlight=False, mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0.025,0.025,0.012), end=Vector3(0.025,0.0125,0.0125), radius=0.0004, dynamic=None, fixed=False, wire=False, color=None, highlight=False, mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0.025,0.025,0.012), end=Vector3(0.015,0.025,0.0125), radius=0.0004, dynamic=None, fixed=False, wire=False, color=None, highlight=False, mask=1, material='chainedCylinder')


O.bodies.append(utils.sphere((0.025,0.025,0.04),0.0032,material='spheres'))
yade.utils.chainedCylinder(begin=Vector3(0.025,0.025,0.04), end=Vector3(0.0125,0.0125,0.0375), radius=0.0004, dynamic=None, fixed=False, wire=False, color=None, highlight=False,  mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0.025,0.025,0.04), end=Vector3(0.025,0.0125,0.0375), radius=0.0004, dynamic=None, fixed=False, wire=False, color=None, highlight=False,  mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0.025,0.025,0.04), end=Vector3(0.015,0.025,0.0375), radius=0.0004, dynamic=None, fixed=False, wire=False, color=None, highlight=False,  mask=1, material='chainedCylinder')


O.bodies.append(utils.sphere((0.015,0,0),0.0028,material='spheres'))
yade.utils.chainedCylinder(begin=Vector3(0.015,0,0), end=Vector3(0.0125,0.0125,0), radius=0.0004, dynamic=None, fixed=False, wire=False, color=None, highlight=False,  mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0.015,0,0), end=Vector3(0.0125,0.0125,0.0125), radius=0.0004, dynamic=None, fixed=False, wire=False, color=None, highlight=False,  mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0.015,0,0), end=Vector3(0.015,0,0.015), radius=0.0004, dynamic=None, fixed=False, wire=False, color=None, highlight=False, mask=1, material='chainedCylinder')



O.bodies.append(utils.sphere((0,0.012,0),0.0026,material='spheres'))
yade.utils.chainedCylinder(begin=Vector3(0,0.012,0), end=Vector3(0.0125,0.0125,0), radius=0.0004, dynamic=None, fixed=False, wire=False, color=None, highlight=False, mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0,0.012,0), end=Vector3(0.0125,0.0125,0.0125), radius=0.0004, dynamic=None, fixed=False, wire=False, color=None, highlight=False,  mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0,0.012,0), end=Vector3(0,0.0125,0.0125), radius=0.0004, dynamic=None, fixed=False, wire=False, color=None, highlight=False, mask=1, material='chainedCylinder')


O.bodies.append(utils.sphere((0.012,0,0.025),0.0028,material='spheres'))
yade.utils.chainedCylinder(begin=Vector3(0.012,0,0.025), end=Vector3(0.0125,0.0125,0.025), radius=0.0004, dynamic=None, fixed=False, wire=False, color=None, highlight=False,  mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0.012,0,0.025), end=Vector3(0.0125,0.0125,0.0375), radius=0.0004, dynamic=None, fixed=False, wire=False, color=None, highlight=False, mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0.012,0,0.025), end=Vector3(0.015,0,0.04), radius=0.0004, dynamic=None, fixed=False, wire=False, color=None, highlight=False, mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0.012,0,0.025), end=Vector3(0.0125,0.0125,0.0125), radius=0.0004, dynamic=None, fixed=False, wire=False, color=None, highlight=False,  mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0.012,0,0.025), end=Vector3(0.015,0,0.015), radius=0.0004, dynamic=None, fixed=False, wire=False, color=None, highlight=False,  mask=1, material='chainedCylinder')



O.bodies.append(utils.sphere((0,0.015,0.025),0.0026,material='spheres'))
yade.utils.chainedCylinder(begin=Vector3(0,0.015,0.025), end=Vector3(0.0125,0.0125,0.025), radius=0.0004, dynamic=None, fixed=False, wire=False, color=None, highlight=False,  mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0,0.015,0.025), end=Vector3(0.0125,0.0125,0.0375), radius=0.0004, dynamic=None, fixed=False, wire=False, color=None, highlight=False,  mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0,0.015,0.025), end=Vector3(0,0.0125,0.0375), radius=0.0004, dynamic=None, fixed=False, wire=False, color=None, highlight=False, mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0,0.015,0.025), end=Vector3(0.0125,0.0125,0.0125), radius=0.0004, dynamic=None, fixed=False, wire=False, color=None, highlight=False,  mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0,0.015,0.025), end=Vector3(0,0.0125,0.0125), radius=0.0004, dynamic=None, fixed=False, wire=False, color=None, highlight=False,  mask=1, material='chainedCylinder')



O.bodies.append(utils.sphere((0.015,0.02,0),0.0025,material='spheres'))
yade.utils.chainedCylinder(begin=Vector3(0.015,0.02,0), end=Vector3(0.0125,0.0125,0), radius=0.0004, dynamic=None, fixed=False, wire=False, color=None, highlight=False,  mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0.015,0.02,0), end=Vector3(0,0.025,0), radius=0.00045, dynamic=None, fixed=False, wire=False, color=None, highlight=False,  mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0.015,0.02,0), end=Vector3(0.025,0.025,0), radius=0.0004, dynamic=None, fixed=False, wire=False, color=None, highlight=False,  mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0.015,0.02,0), end=Vector3(0.0125,0.0125,0.0125), radius=0.00045, dynamic=None, fixed=False, wire=False, color=None, highlight=False, mask=1, material='chainedCylinder')



O.bodies.append(utils.sphere((0,0,0.015),0.0035,material='spheres'))
yade.utils.chainedCylinder(begin=Vector3(0,0,0.015), end=Vector3(0.015,0,0.015), radius=0.00035, dynamic=None, fixed=False, wire=False, color=None, highlight=False,  mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0,0,0.015), end=Vector3(0.0125,0.0125,0.0125), radius=0.00045, dynamic=None, fixed=False, wire=False, color=None, highlight=False,  mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0,0,0.015), end=Vector3(0,0.0125,0.0125), radius=0.00045, dynamic=None, fixed=False, wire=False, color=None, highlight=False,  mask=1, material='chainedCylinder')



O.bodies.append(utils.sphere((0,0.025,0.035),0.003,material='spheres'))
yade.utils.chainedCylinder(begin=Vector3(0,0.025,0.035), end=Vector3(0,0.0125,0.0375), radius=0.0004, dynamic=None, fixed=False, wire=False, color=None, highlight=False,  mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0,0.025,0.035), end=Vector3(0.015,0.025,0.0375), radius=0.0004, dynamic=None, fixed=False, wire=False, color=None, highlight=False,mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0,0.025,0.035), end=Vector3(0.0125,0.0125,0.0375), radius=0.00045, dynamic=None, fixed=False, wire=False, color=None, highlight=False, mask=1, material='chainedCylinder')


O.bodies.append(utils.sphere((0.025,0.015,0),0.003,material='spheres'))
yade.utils.chainedCylinder(begin=Vector3(0.025,0.015,0), end=Vector3(0.0125,0.0125,0), radius=0.0004, dynamic=None, fixed=False, wire=False, color=None, highlight=False,  mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0.025,0.015,0), end=Vector3(0.0125,0.0125,0.0125), radius=0.0004, dynamic=None, fixed=False, wire=False, color=None, highlight=False, mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0.025,0.015,0), end=Vector3(0.025,0.0125,0.0125), radius=0.00045, dynamic=None, fixed=False, wire=False, color=None, highlight=False,  mask=1, material='chainedCylinder')


O.bodies.append(utils.sphere((0.025,0.012,0.025),0.003,material='spheres'))
yade.utils.chainedCylinder(begin=Vector3(0.025,0.012,0.025), end=Vector3(0.0125,0.0125,0.025), radius=0.0004, dynamic=None, fixed=False, wire=False, color=None, highlight=False, mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0.025,0.012,0.025), end=Vector3(0.0125,0.0125,0.0125), radius=0.0004, dynamic=None, fixed=False, wire=False, color=None, highlight=False,  mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0.025,0.012,0.025), end=Vector3(0.025,0.0125,0.0125), radius=0.00045, dynamic=None, fixed=False, wire=False, color=None, highlight=False,  mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0.025,0.012,0.025), end=Vector3(0.0125,0.0125,0.0375), radius=0.0004, dynamic=None, fixed=False, wire=False, color=None, highlight=False,  mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0.025,0.012,0.025), end=Vector3(0.025,0.0125,0.0375), radius=0.00045, dynamic=None, fixed=False, wire=False, color=None, highlight=False, mask=1)


O.bodies.append(utils.sphere((0.025,0.01,0.05),0.003,material='spheres'))
yade.utils.chainedCylinder(begin=Vector3(0.025,0.01,0.05), end=Vector3(0.0125,0.0125,0.05), radius=0.0004, dynamic=None, fixed=False, wire=False, color=None, highlight=False, mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0.025,0.01,0.05), end=Vector3(0.0125,0.0125,0.0375), radius=0.0004, dynamic=None, fixed=False, wire=False, color=None, highlight=False,  mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0.025,0.01,0.05), end=Vector3(0.025,0.0125,0.0375), radius=0.00045, dynamic=None, fixed=False, wire=False, color=None, highlight=False,  mask=1, material='chainedCylinder')



O.bodies.append(utils.sphere((0.0125,0.0125,0.0375),0.0045,material='spheres'))
O.bodies.append(utils.sphere((0.0125,0.0125,0.025),0.0042,material='spheres'))
O.bodies.append(utils.sphere((0,0,0.05),0.0045,material='spheres'))
O.bodies.append(utils.sphere((0,0.025,0.05),0.0035,material='spheres'))
O.bodies.append(utils.sphere((0,0.0125,0.0375),0.003,material='spheres'))
O.bodies.append(utils.sphere((0.025,0,0.05),0.005,material='spheres'))
O.bodies.append(utils.sphere((0.025,0.025,0.05),0.004,material='spheres'))
O.bodies.append(utils.sphere((0.025,0.0125,0.0375),0.003,material='spheres'))
O.bodies.append(utils.sphere((0.0125,0.0125,0.05),0.0035,material='spheres'))
O.bodies.append(utils.sphere((0.015,0,0.04),0.004,material='spheres'))
O.bodies.append(utils.sphere((0.015,0.025,0.0375),0.0034,material='spheres'))



yade.utils.chainedCylinder(begin=Vector3(0.0125,0.0125,0.0125), end=Vector3(0.015,0.025,0.0125), radius=0.00045, dynamic=None, fixed=False, wire=False, color=None, highlight=False,mask=1,material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0.0125,0.0125,0.0125), end=Vector3(0.0125,0.0125,0.025), radius=0.00045, dynamic=None, fixed=False, wire=False, color=None, highlight=False,  mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0.0125,0.0125,0.0125), end=Vector3(0.025,0.0125,0.0125), radius=0.00035, dynamic=None, fixed=False, wire=False, color=None, highlight=False,  mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0.0125,0.0125,0.0125), end=Vector3(0,0.0125,0.0125), radius=0.00035, dynamic=None, fixed=False, wire=False, color=None, highlight=False, mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0.0125,0.0125,0.0125), end=Vector3(0.015,0,0.015), radius=0.00045, dynamic=None, fixed=False, wire=False, color=None, highlight=False, mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0.0125,0.0125,0.0125), end=Vector3(0,0.025,0.025), radius=0.00045, dynamic=None, fixed=False, wire=False, color=None, highlight=False,  mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0.0125,0.0125,0.0125), end=Vector3(0,0,0.025), radius=0.00045, dynamic=None, fixed=False, wire=False, color=None, highlight=False, mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0.0125,0.0125,0.0125), end=Vector3(0.025,0.025,0.025), radius=0.0004, dynamic=None, fixed=False, wire=False, color=None,  material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0.0125,0.0125,0.0125), end=Vector3(0.025,0.025,0), radius=0.0005, dynamic=None, fixed=False, wire=False, color=None, highlight=False, mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0.0125,0.0125,0.0125), end=Vector3(0,0.025,0), radius=0.0005, dynamic=None, fixed=False, wire=False, color=None, highlight=False, mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0.0125,0.0125,0.0125), end=Vector3(0.025,0,0.025), radius=0.0005, dynamic=None, fixed=False, wire=False, color=None, highlight=False,  mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0.0125,0.0125,0.025), end=Vector3(0.025,0,0.025), radius=0.0005, dynamic=None, fixed=False, wire=False, color=None, highlight=False, mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0.0125,0.0125,0.025), end=Vector3(0.025,0.025,0.025), radius=0.0005, dynamic=None, fixed=False, wire=False, color=None, highlight=False,  mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0.0125,0.0125,0.025), end=Vector3(0,0,0.025), radius=0.0005, dynamic=None, fixed=False, wire=False, color=None, highlight=False,  mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0.0125,0.0125,0.025), end=Vector3(0,0.025,0.025), radius=0.0005, dynamic=None, fixed=False, wire=False, color=None, highlight=False, mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0.025,0.0125,0.0125), end=Vector3(0.025,0,0), radius=0.0005, dynamic=None, fixed=False, wire=False, color=None, highlight=False,  mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0.025,0.0125,0.0125), end=Vector3(0.025,0,0.025), radius=0.00045, dynamic=None, fixed=False, wire=False, color=None, highlight=False,  mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0.025,0.0125,0.0125), end=Vector3(0.025,0.025,0.025), radius=0.0004, dynamic=None, fixed=False, wire=False, color=None, highlight=False,  mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0.025,0.0125,0.0125), end=Vector3(0.025,0.025,0), radius=0.0005, dynamic=None, fixed=False, wire=False, color=None, highlight=False,  mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0.015,0,0.015), end=Vector3(0.025,0,0), radius=0.0005, dynamic=None, fixed=False, wire=False, color=None, highlight=False,  mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0.015,0,0.015), end=Vector3(0,0,0.025), radius=0.0005, dynamic=None, fixed=False, wire=False, color=None, highlight=False,  mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0.015,0,0.015), end=Vector3(0.025,0,0.025), radius=0.0005, dynamic=None, fixed=False, wire=False, color=None, highlight=False, mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0.015,0,0.015), end=Vector3(0,0,0), radius=0.0005, dynamic=None, fixed=False, wire=False, color=None, highlight=False,  mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0,0.0125,0.0125), end=Vector3(0,0,0), radius=0.00055, dynamic=None, fixed=False, wire=False, color=None, highlight=False,  mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0,0.0125,0.0125), end=Vector3(0,0.025,0), radius=0.00055, dynamic=None, fixed=False, wire=False, color=None, highlight=False,  mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0,0.0125,0.0125), end=Vector3(0,0,0.025), radius=0.00055, dynamic=None, fixed=False, wire=False, color=None, highlight=False,  mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0,0.0125,0.0125), end=Vector3(0,0.025,0.025), radius=0.00055, dynamic=None, fixed=False, wire=False, color=None, highlight=False, mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0.0125,0.0125,0), end=Vector3(0.025,0,0), radius=0.0005, dynamic=None, fixed=False, wire=False, color=None, highlight=False,  mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0.0125,0.0125,0), end=Vector3(0.025,0.025,0), radius=0.0005, dynamic=None, fixed=False, wire=False, color=None, highlight=False,  mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0.0125,0.0125,0), end=Vector3(0,0.025,0), radius=0.0005, dynamic=None, fixed=False, wire=False, color=None, highlight=False,  mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0.015,0.025,0.0125), end=Vector3(0,0.025,0), radius=0.0005, dynamic=None, fixed=False, wire=False, color=None, highlight=False,  mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0.015,0.025,0.0125), end=Vector3(0,0.025,0.025), radius=0.0005, dynamic=None, fixed=False, wire=False, color=None, highlight=False,  mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0.015,0.025,0.0125), end=Vector3(0.025,0.025,0.025), radius=0.0005, dynamic=None, fixed=False, wire=False, color=None, highlight=False,  mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0.015,0.025,0.0125), end=Vector3(0.025,0.025,0), radius=0.0005, dynamic=None, fixed=False, wire=False, color=None, highlight=False,  mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0.0125,0.0125,0.025), end=Vector3(0.0125,0.0125,0.0125), radius=0.0005, dynamic=None, fixed=False, wire=False, color=None, highlight=False,  mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0.025,0.0125,0.0125), end=Vector3(0.0125,0.0125,0.0125), radius=0.0005, dynamic=None, fixed=False, wire=False, color=None, highlight=False,  mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0.025,0.025,0.025), end=Vector3(0.0125,0.0125,0.0125), radius=0.0005, dynamic=None, fixed=False, wire=False, color=None, highlight=False,  mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0.025,0,0.025), end=Vector3(0.0125,0.0125,0.0125), radius=0.0005, dynamic=None, fixed=False, wire=False, color=None, highlight=False,  mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0,0.0125,0.0125), end=Vector3(0.0125,0.0125,0.0125), radius=0.0005, dynamic=None, fixed=False, wire=False, color=None, highlight=False, mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0,0.025,0), end=Vector3(0.025,0.025,0), radius=0.0005, dynamic=None, fixed=False, wire=False, color=None, highlight=False,  mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0, 0, 0), end=Vector3(0,0,0.025), radius=0.0005, dynamic=None, fixed=False, wire=False, color=None, highlight=False, mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0, 0.025, 0), end=Vector3(0,0.025,0.025), radius=0.0007, dynamic=None, fixed=False, wire=False, color=None, highlight=False,  mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0,0,0.025), end=Vector3(0,0.025,0.025), radius=0.0008, dynamic=None, fixed=False, wire=False, color=None, highlight=False, mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0.025,0.025,0.025), end=Vector3(0,0.025,0.025), radius=0.00065, dynamic=None, fixed=False, wire=False, color=None, highlight=False,  mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0.025,0.025,0.025), end=Vector3(0.025,0,0.025), radius=0.00061, dynamic=None, fixed=False, wire=False, color=None, highlight=False,  mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0.025,0.025,0.025), end=Vector3(0.025,0.025,0), radius=0.00061, dynamic=None, fixed=False, wire=False, color=None, highlight=False,  mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0.025,0.025,0.025), end=Vector3(0.025,0,0.025), radius=0.00071, dynamic=None, fixed=False, wire=False, color=None, highlight=False,  mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0.025,0,0.025), end=Vector3(0.025,0,0), radius=0.00061, dynamic=None, fixed=False, wire=False, color=None, highlight=False,  mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0.025,0,0.025), end=Vector3(0,0,0.025), radius=0.00061, dynamic=None, fixed=False, wire=False, color=None, highlight=False,  mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0.025,0.025,0), end=Vector3(0.025,0,0), radius=0.00071, dynamic=None, fixed=False, wire=False, color=None, highlight=False, mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0, 0, 0), end=Vector3(0.0125,0.0125,0), radius=0.00061, dynamic=None, fixed=False, wire=False, color=None, highlight=False,  mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0, 0, 0), end=Vector3(0.025,0,0), radius=0.00071, dynamic=None, fixed=False, wire=False, color=None, highlight=False,  mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0, 0, 0), end=Vector3(0,0.025,0), radius=0.00065, dynamic=None, fixed=False, wire=False, color=None, highlight=False, mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0, 0, 0), end=Vector3(0.0125,0.0125,0.0125), radius=0.0007, dynamic=None, fixed=False, wire=False, color=None, highlight=False,  mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0.025,0,0), end=Vector3(0.0125,0.0125,0.0125), radius=0.00058, dynamic=None, fixed=False, wire=False, color=None, highlight=False, mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0,0.025,0), end=Vector3(0.0125,0.0125,0.0125), radius=0.0006, dynamic=None, fixed=False, wire=False, color=None, highlight=False,  mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0.025,0.025,0), end=Vector3(0.0125,0.0125,0.0125), radius=0.0006, dynamic=None, fixed=False, wire=False, color=None, highlight=False,  mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0.0125,0.0125,0), end=Vector3(0.0125,0.0125,0.0125), radius=0.0006, dynamic=None, fixed=False, wire=False, color=None, highlight=False,  mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0.0125,0.0125,0), end=Vector3(0.025,0,0), radius=0.00055, dynamic=None, fixed=False, wire=False, color=None, highlight=False, mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0.0125,0.0125,0), end=Vector3(0.025,0.025,0), radius=0.0007, dynamic=None, fixed=False, wire=False, color=None, highlight=False,  mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0.0125,0.0125,0), end=Vector3(0,0.025,0), radius=0.00058, dynamic=None, fixed=False, wire=False, color=None, highlight=False, mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0.025,0,0), end=Vector3(0.025,0.025,0), radius=0.0006, dynamic=None, fixed=False, wire=False, color=None, highlight=False, mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0,0.025,0), end=Vector3(0.025,0.025,0), radius=0.0008, dynamic=None, fixed=False, wire=False, color=None, highlight=False,  mask=1, material='chainedCylinder')





yade.utils.chainedCylinder(begin=Vector3(0.0125,0.0125,0.0375), end=Vector3(0.015,0.025,0.0375), radius=0.0005, dynamic=None, fixed=False, wire=False, color=None, highlight=False,  mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0.0125,0.0125,0.0375), end=Vector3(0.0125,0.0125,0.05), radius=0.0005, dynamic=None, fixed=False, wire=False, color=None, highlight=False,  mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0.0125,0.0125,0.0375), end=Vector3(0.025,0.0125,0.0375), radius=0.0005, dynamic=None, fixed=False, wire=False, color=None, highlight=False,  mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0.0125,0.0125,0.0375), end=Vector3(0,0.0125,0.0375), radius=0.0005, dynamic=None, fixed=False, wire=False, color=None, highlight=False,  mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0.0125,0.0125,0.0375), end=Vector3(0.015,0,0.04), radius=0.0005, dynamic=None, fixed=False, wire=False, color=None, highlight=False,  mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0.0125,0.0125,0.0375), end=Vector3(0,0.025,0.05), radius=0.0005, dynamic=None, fixed=False, wire=False, color=None, highlight=False, mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0.0125,0.0125,0.0375), end=Vector3(0,0,0.05), radius=0.0005, dynamic=None, fixed=False, wire=False, color=None, highlight=False, mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0.0125,0.0125,0.0375), end=Vector3(0.025,0.025,0.05), radius=0.0005, dynamic=None, fixed=False, wire=False, color=None, highlight=False, mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0.0125,0.0125,0.0375), end=Vector3(0.025,0.025,0.025), radius=0.0005, dynamic=None, fixed=False, wire=False, color=None, highlight=False, mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0.0125,0.0125,0.0375), end=Vector3(0,0.025,0.025), radius=0.0005, dynamic=None, fixed=False, wire=False, color=None, highlight=False,  mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0.0125,0.0125,0.0375), end=Vector3(0.025,0,0.05), radius=0.0005, dynamic=None, fixed=False, wire=False, color=None, highlight=False,  mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0.0125,0.0125,0.05), end=Vector3(0.025,0,0.05), radius=0.0005, dynamic=None, fixed=False, wire=False, color=None, highlight=False, mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0.0125,0.0125,0.05), end=Vector3(0.025,0.025,0.05), radius=0.0005, dynamic=None, fixed=False, wire=False, color=None, highlight=False, mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0.0125,0.0125,0.05), end=Vector3(0,0,0.05), radius=0.0005, dynamic=None, fixed=False, wire=False, color=None, highlight=False,  mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0.0125,0.0125,0.05), end=Vector3(0,0.025,0.05), radius=0.0005, dynamic=None, fixed=False, wire=False, color=None, highlight=False,  mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0.025,0.0125,0.0375), end=Vector3(0.025,0,0.025), radius=0.0005, dynamic=None, fixed=False, wire=False, color=None, highlight=False,  mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0.025,0.0125,0.0375), end=Vector3(0.025,0,0.05), radius=0.0005, dynamic=None, fixed=False, wire=False, color=None, highlight=False,  mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0.025,0.0125,0.0375), end=Vector3(0.025,0.025,0.05), radius=0.0005, dynamic=None, fixed=False, wire=False, color=None, highlight=False,  mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0.025,0.0125,0.0375), end=Vector3(0.025,0.025,0.025), radius=0.0005, dynamic=None, fixed=False, wire=False, color=None, highlight=False,  mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0.015,0,0.04), end=Vector3(0.025,0,0.025), radius=0.0005, dynamic=None, fixed=False, wire=False, color=None, highlight=False, mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0.015,0,0.04), end=Vector3(0,0,0.05), radius=0.0005, dynamic=None, fixed=False, wire=False, color=None, highlight=False, mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0.015,0,0.04), end=Vector3(0.025,0,0.05), radius=0.0005, dynamic=None, fixed=False, wire=False, color=None, highlight=False,  mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0.015,0,0.04), end=Vector3(0,0,0.025), radius=0.0005, dynamic=None, fixed=False, wire=False, color=None, highlight=False,  mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0,0.0125,0.0375), end=Vector3(0,0,0.025), radius=0.00055, dynamic=None, fixed=False, wire=False, color=None, highlight=False, mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0,0.0125,0.0375), end=Vector3(0,0.025,0.025), radius=0.00055, dynamic=None, fixed=False, wire=False, color=None, highlight=False, mask=1,material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0,0.0125,0.0375), end=Vector3(0,0,0.05), radius=0.00055, dynamic=None, fixed=False, wire=False, color=None, highlight=False, mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0,0.0125,0.0375), end=Vector3(0,0.025,0.05), radius=0.00055, dynamic=None, fixed=False, wire=False, color=None, highlight=False,  mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0.0125,0.0125,0.025), end=Vector3(0.025,0,0.025), radius=0.0005, dynamic=None, fixed=False, wire=False, color=None, highlight=False,  mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0.0125,0.0125,0.025), end=Vector3(0.025,0.025,0.025), radius=0.0005, dynamic=None, fixed=False, wire=False, color=None, highlight=False,  mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0.0125,0.0125,0.025), end=Vector3(0,0.025,0.025), radius=0.0005, dynamic=None, fixed=False, wire=False, color=None, highlight=False,  mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0.015,0.025,0.0375), end=Vector3(0,0.025,0.025), radius=0.0005, dynamic=None, fixed=False, wire=False, color=None, highlight=False,  mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0.015,0.025,0.0375), end=Vector3(0,0.025,0.05), radius=0.0005, dynamic=None, fixed=False, wire=False, color=None, highlight=False,  mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0.015,0.025,0.0375), end=Vector3(0.025,0.025,0.05), radius=0.0005, dynamic=None, fixed=False, wire=False, color=None, highlight=False,  mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0.015,0.025,0.0375), end=Vector3(0.025,0.025,0.025), radius=0.0005, dynamic=None, fixed=False, wire=False, color=None, highlight=False,  mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0.0125,0.0125,0.05), end=Vector3(0.0125,0.0125,0.0375), radius=0.0005, dynamic=None, fixed=False, wire=False, color=None, highlight=False,  mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0.025,0.0125,0.0375), end=Vector3(0.0125,0.0125,0.0375), radius=0.0005, dynamic=None, fixed=False, wire=False, color=None, highlight=False,  mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0.025,0.025,0.05), end=Vector3(0.0125,0.0125,0.0375), radius=0.0005, dynamic=None, fixed=False, wire=False, color=None, highlight=False,  mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0.025,0,0.05), end=Vector3(0.0125,0.0125,0.0375), radius=0.0005, dynamic=None, fixed=False, wire=False, color=None, highlight=False,  mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0,0.0125,0.0375), end=Vector3(0.0125,0.0125,0.0375), radius=0.0005, dynamic=None, fixed=False, wire=False, color=None, highlight=False,  mask=1,material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0, 0, 0.025), end=Vector3(0,0,0.05), radius=0.0005, dynamic=None, fixed=False, wire=False, color=None, highlight=False,mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0, 0.025, 0.025), end=Vector3(0,0.025,0.05), radius=0.0007, dynamic=None, fixed=False, wire=False, color=None, highlight=False, mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0,0,0.05), end=Vector3(0,0.025,0.05), radius=0.0008, dynamic=None, fixed=False, wire=False, color=None, highlight=False, mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0.025,0.025,0.05), end=Vector3(0,0.025,0.05), radius=0.00065, dynamic=None, fixed=False, wire=False, color=None, highlight=False, mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0.025,0.025,0.05), end=Vector3(0.025,0,0.05), radius=0.00061, dynamic=None, fixed=False, wire=False, color=None, highlight=False,  mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0.025,0.025,0.05), end=Vector3(0.025,0.025,0.05), radius=0.00061, dynamic=None, fixed=False, wire=False, color=None, highlight=False,  mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0.025,0.025,0.05), end=Vector3(0.025,0,0.05), radius=0.00071, dynamic=None, fixed=False, wire=False, color=None, highlight=False,  mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0.025,0,0.05), end=Vector3(0.025,0,0.025), radius=0.00061, dynamic=None, fixed=False, wire=False, color=None, highlight=False, mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0.025,0,0.05), end=Vector3(0,0,0.05), radius=0.00061, dynamic=None, fixed=False, wire=False, color=None, highlight=False,  mask=1, material='chainedCylinder')


yade.utils.chainedCylinder(begin=Vector3(0, 0, 0.025), end=Vector3(0.0125,0.0125,0.0375), radius=0.0007, dynamic=None, fixed=False, wire=False, color=None, highlight=False,  mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0.025,0,0.025), end=Vector3(0.0125,0.0125,0.0375), radius=0.00058, dynamic=None, fixed=False, wire=False, color=None, highlight=False,  mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0,0.025,0.025), end=Vector3(0.0125,0.0125,0.0375), radius=0.0006, dynamic=None, fixed=False, wire=False, color=None, highlight=False,  mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0.025,0.025,0.025), end=Vector3(0.0125,0.0125,0.0375), radius=0.0006, dynamic=None, fixed=False, wire=False, color=None, highlight=False,  mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0.0125,0.0125,0.025), end=Vector3(0.0125,0.0125,0.0375), radius=0.0006, dynamic=None, fixed=False, wire=False, color=None, highlight=False,  mask=1, material='chainedCylinder')
yade.utils.chainedCylinder(begin=Vector3(0.025,0.025,0.025), end=Vector3(0.025,0.025,0.05), radius=0.0006, dynamic=None, fixed=False, wire=False, color=None, highlight=False, mask=1, material='chainedCylinder')


## create walls around the packing
walls=utils.aabbWalls(material='walls')
wallIds=O.bodies.append(walls)


triax=TriaxialCompressionEngine(
wall_bottom_id=wallIds[2],
wall_top_id=wallIds[3],
wall_left_id=wallIds[0],
wall_right_id=wallIds[1],
wall_back_id=wallIds[4],
wall_front_id=wallIds[5],
internalCompaction=False,
sigmaIsoCompaction=50e3,
sigmaLateralConfinement=50e3,
max_vel=10,
strainRate=0.03,
label="triax"
)


O.engines=[
ForceResetter(),
InsertionSortCollider([Bo1_Sphere_Aabb(),Bo1_Box_Aabb()]),
InteractionLoop(
#box-sphere interactions will be the simple normal-shear law, we use ScGeom for them
[Ig2_Sphere_Sphere_ScGeom6D(),Ig2_Box_Sphere_ScGeom(),Ig2_Sphere_ChainedCylinder_CylScGeom()],
#Boxes will be frictional (FrictMat), so the sphere-box physics is FrictMat vs. CohFrictMat, the Ip type will be found via the inheritance tree (CohFrictMat is a FrictMat) and will result in FrictPhys interaction physics
#and will result in a FrictPhys
[Ip2_FrictMat_FrictMat_FrictPhys(),Ip2_CohFrictMat_CohFrictMat_CohFrictPhys(label="cohesiveIp")],
#Finally, two different contact laws for sphere-box and sphere-sphere
[Law2_ScGeom_FrictPhys_CundallStrack(),Law2_ScGeom6D_CohFrictPhys_CohesionMoment(
useIncrementalForm=True, #useIncrementalForm is turned on as we want plasticity on the contact moments
always_use_moment_law=False,  #if we want "rolling" friction even if the contact is not cohesive (or cohesion is broken), we will have to turn this true somewhere
label='cohesiveLaw')]
),
GlobalStiffnessTimeStepper(active=1,timeStepUpdateInterval=100,timestepSafetyCoefficient=0.5),
triax,
NewtonIntegrator(damping=.4)
]


from yade import plot
O.engines=O.engines[0:5]+[PyRunner(iterPeriod=20,command='history()',label='recorder')]+O.engines[5:7]
def history():
  plot.addData(e11=O.engines[4].strain[0], e22=O.engines[4].strain[1], e33=O.engines[4].strain[2],
   s11=-O.engines[4].stress(0)[0],
   s22=-O.engines[4].stress(2)[1],
   s33=-O.engines[4].stress(4)[2],
   i=O.iter)


plot.plots={'i':(('e11',"bo"),('e22',"ro"),('e33',"go"),None,('s11',"bx"),('s22',"rx"),('s33',"gx"))}
plot.plot()


print "computing, be patient..."
#First run without moment and without cohesion
O.run(7000,True)






At 2013-07-09 15:11:37,"Jan Stránský" <question232060@xxxxxxxxxxxxxxxxxxxxx> wrote:
>Question #232060 on Yade changed:
>https://answers.launchpad.net/yade/+question/232060
>
>    Status: Open => Answered
>
>Jan Stránský proposed the following answer:
>Hello,
>
>I am sorry to say that your information did not helped so much.. To be able
>to properly help you, we would need another information, mainly:
>- how 12.py looks like? you can copy-paste the content of the file directly
>to the email. is it your script or did anybody else wrote it?
>- how do you run the script?
>- what operation system (+ version) do you use?
>
>Thanks
>Jan
>
>
>
>2013/7/9 pingyang.1019@xxxxxxx <question232060@xxxxxxxxxxxxxxxxxxxxx>
>
>> Question #232060 on Yade changed:
>> https://answers.launchpad.net/yade/+question/232060
>>
>>     Status: Answered => Open
>>
>> pingyang.1019@xxxxxxx is still having a problem:
>> thank you teacher
>> I use Yade 0.95.0 . I want to calculate 12.py ,but error occurs.
>> How to do?
>>
>>
>>
>>
>>
>> At 2013-07-08 20:21:26,"Jan Stránský" <
>> question232060@xxxxxxxxxxxxxxxxxxxxx> wrote:
>> >Your question #232060 on Yade changed:
>> >https://answers.launchpad.net/yade/+question/232060
>> >
>> >    Status: Open => Answered
>> >
>> >Jan Stránský proposed the following answer:
>> >Hello,
>> >
>> >if you get such type of error, it is always useful to post also the script
>> >(ideally with deleted unimportant parts) reproducing your problem or to
>> >describe slightly more in detail under which circumstances the error
>> >occurred, e.g. what you typed in the console, what version of Yade and
>> >system you are using etc.. It will help us to help you :-) So please
>> >describe more what you did and hopefully we will be able to help
>> >cheers
>> >Jan
>> >
>> >
>> >
>> >2013/7/8 pingyang.1019@xxxxxxx <question232060@xxxxxxxxxxxxxxxxxxxxx>
>> >
>> >> New question #232060 on Yade:
>> >> https://answers.launchpad.net/yade/+question/232060
>> >>
>> >> Hi teachers!
>> >>      " ValueError                                Traceback (most recent
>> >> call last)
>> >> /home/py/yade/lib/yade-pingyang/py/yade/__init__.pyc in
>> refreshEvent(self)
>> >>     191         def zxySlot(self): self.setViewAxes((0,-1,0),(1,0,0))
>> >>     192         def refreshEvent(self):
>> >> --> 193                 self.refreshValues()
>> >>     194                 self.activateControls()
>> >>     195         def deactivateControls(self):
>> >>
>> >> /home/py/yade/lib/yade-pingyang/py/yade/__init__.pyc in
>> refreshValues(self)
>> >>     264                         self.iterLabel.setText('#%ld / %ld,
>> %.1f/s
>> >> %s'%(O.iter,stopAtIter,self.iterPerSec,subStepInfo))
>> >>     265                 if t!=float('inf'):
>> >> --> 266                         s=int(t); ms=int(t*1000)%1000;
>> >> us=int(t*1000000)%1000; ns=int(t*1000000000)%1000
>> >>     267
>> >> self.virtTimeLabel.setText(u'%03ds%03dm%03dμ%03dn'%(s,ms,us,ns))
>> >>     268                 else: self.virtTimeLabel.setText(u'[ ∞ ] ?!')
>> >>
>> >> ValueError: cannot convert float NaN to integer".
>> >>
>> >> What means is it ?  How to do?
>> >>
>> >> Thank you!
>> >>
>> >>
>> >> --
>> >> You received this question notification because you are a member of
>> >> yade-users, which is an answer contact for Yade.
>> >>
>> >> _______________________________________________
>> >> Mailing list: https://launchpad.net/~yade-users
>> >> Post to     : yade-users@xxxxxxxxxxxxxxxxxxx
>> >> Unsubscribe : https://launchpad.net/~yade-users
>> >> More help   : https://help.launchpad.net/ListHelp
>> >>
>> >
>> >--
>> >If this answers your question, please go to the following page to let us
>> >know that it is solved:
>> >https://answers.launchpad.net/yade/+question/232060/+confirm?answer_id=0
>> >
>> >If you still need help, you can reply to this email or go to the
>> >following page to enter your feedback:
>> >https://answers.launchpad.net/yade/+question/232060
>> >
>> >You received this question notification because you asked the question.
>>
>> --
>> You received this question notification because you are a member of
>> yade-users, which is an answer contact for Yade.
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~yade-users
>> Post to     : yade-users@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~yade-users
>> More help   : https://help.launchpad.net/ListHelp
>>
>
>-- 
>You received this question notification because you are a member of
>yade-users, which is an answer contact for Yade.
>
>_______________________________________________
>Mailing list: https://launchpad.net/~yade-users
>Post to     : yade-users@xxxxxxxxxxxxxxxxxxx
>Unsubscribe : https://launchpad.net/~yade-users
>More help   : https://help.launchpad.net/ListHelp

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