yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #02242
Re: Contact forces
> /home/nhadda/Documents/YADE/lib/yade-unknown/gui/PythonUI_rc.py in
> <module>()
> 11 if not i.isReal: continue
> 12 norm=i.geom['normal']
> ---> 13 angle=atan(norm[ax2]/norm[ax1])
> 14 force=i.phys['normalForce'].Length()
> 15 angles.append(angle)
Where is this code from? Always attach scripts you run. This is obvious
error in the code; you can replace that line with
angle=atan(norm[ax2]/norm[ax1]) if norm[ax1]!=0 else pi/2
References
-
Logging problem
From: Bruno Chareyre, 2009-12-14
-
Re: Logging problem
From: Václav Šmilauer, 2009-12-14
-
Re: Logging problem
From: Bruno Chareyre, 2009-12-15
-
Contact forces
From: nejib hadda, 2009-12-15
-
Re: Contact forces
From: Václav Šmilauer, 2009-12-15
-
Contact forces
From: nejib hadda, 2010-01-07
-
Re: Contact forces
From: Václav Šmilauer, 2010-01-07
-
Re: Contact forces
From: nejib hadda, 2010-01-07
-
Re: Contact forces
From: Václav Šmilauer, 2010-01-07
-
Re: Contact forces
From: nejib hadda, 2010-01-07