← Back to team overview

yade-users team mailing list archive

Re: [Question #152906]: how to run the example in the tutorial

 

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

Vincia Jackson posted a new comment:
I tried running the program like this:  Does this following error have
any significance?


Yade [4]: run 1.py
---------------------------------------------------------------------------
NameError                                 Traceback (most recent call last)

/home/ervin/1.py in <module>()
      6 # add 2 particles to the simulation

      7 # they the default material (utils.defaultMat)

----> 8 O.bodies.append([
      9    # fixed: particle's position in space will not change (support)

     10    utils.sphere(center=(0,0,0),radius=.5,fixed=True),

NameError: name 'O' is not defined
WARNING: Failure executing file: <1.py>
Yade [5]:

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