← Back to team overview

yade-users team mailing list archive

[Question #149254]: On basic operation (Beginner)

 

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

I am a beginner of yade!
When I try the sample in Tutorial, I foud the following error.
1 Yade [39]: s2=utils.sphere((-2,0,0),radius=1,fixed=True)>error
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)

/home/michael/YADE/lib/yade-cleanComp060/py/yade/__init__.pyc in <module>()
----> 1 
      2 
      3 
      4 
      5 

TypeError: sphere() got an unexpected keyword argument 'fixed'

2 O.engins=[
    ForceResetter(),
    InsertionSortCollider([Bo1_Sphere_Aabb(),Bo1_Wall_Aabb()]),
    InteractionLoop(
         [Ig2_Sphere_Sphere_L3Geom_Inc(),Ig2_Wall_Sphere_L3Geom()],
         [Ip2_FrictMat_FrictMat_FrictPhys()],
         [Law2_L3Geom_FrictPhys_ElPerfPl()]
     ),
      NewtonIntegrator(damping=.2,label='newton')
]
---------------------------------------------------------------------------
NameError                                 Traceback (most recent call last)

/home/michael/YADE/lib/yade-cleanComp060/py/yade/__init__.pyc in <module>()
      3
      4
----> 5
      6
      7

NameError: name 'Ig2_Wall_Sphere_L3Geom' is not defined

3 and also I have tried the periodical Triaxial compression sample

  I met error below
  NameError:name 'Ip2_Sphere_Sphere_L3Geom' is not defined



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