← Back to team overview

yade-users team mailing list archive

Re: [Question #243909]: Representing beams, wires, grids, with connected cylinders

 

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

    Status: Solved => Open

David Zhang is still having a problem:
Hi Klaus,

I installed Ubuntu 13.10 and Yade 0.97 by using sudo apt-get install
yade on my computer. Following your suggestion, I created a file
(membrane.py) by copying the script you posted. However, I got the
following error

$ yade membrane.py
Welcome to Yade 0.97.0
TCP python prompt on localhost:9000, auth cookie `sscayd'
XMLRPC info provider on http://localhost:21000
Running script membrane.py
Traceback (most recent call last):
  File "/usr/bin/yade", line 168, in runScript
    execfile(script,globals())
  File "membrane.py", line 7, in <module>
    blocMat = O.materials.append(JCFpmMat(young=1e6,poisson=0.3,frictionAngle=radians(30),density=2600))
NameError: name 'JCFpmMat' is not defined

I suspect that I  need Yadedaily to include JCFpmMat. I then try to install Yadedaily by the following steps
1) sudo bash -c 'echo "deb http://www.yade-dem.org/packages/ saucy/" >> /etc/apt/sources.list'
2) wget -O - http://www.yade-dem.org/packages/yadedev_pub.gpg | sudo apt-key add -
3) sudo apt-get install yadedaily

It seems that 1) and 2) work well, but 3) give me an error below:
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package yadedaily

Any idea about the errors?

Cheers
David

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