yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #15637
Re: [Question #657126]: Performing a penetration test
Question #657126 on Yade changed:
https://answers.launchpad.net/yade/+question/657126
Swapnil posted a new comment:
Thanks Jan, I made the changes you suggested including the silly bracket
correction ,-). However, now there seems to be another error.
the full script is as follows:
from yade import pack,plot
pred=pack.inCylinder((0,0,0),(0,0,0.25),0.10)
sp=pack.randomDensePack(pred,radius=0.01)
O.bodies.append(sp)
yade.qt.Controller()
idSteel=O.materials.append(FrictMat(young=210e9,poisson=.25,frictionAngle=.8,label="steel"))
hammer=sphere((0,0,0.30),0.04,material=idSteel)
hammerID=O.bodies.append(hammer)
hammer.state.blockedDOFs=`z´
hammer.state.vel=Vector3(0,0,-0.0005)
O.dt=0.5*PWaveTimeStep()
O.saveTmp()
the error displayed is: SyntaxError: Non-ASCII character '\xc2' in file
pentry1.py on line 9, but no encoding declared.
--
You received this question notification because your team yade-users is
an answer contact for Yade.