← Back to team overview

yade-users team mailing list archive

Re: help for solving an error

 

On Mon, Apr 19, 2010 at 4:06 PM, Nasibeh Moradi <nasibeh.moradi@xxxxxxxxx>wrote:

> hi,
> I have a script to test my law,
> when I run it, it says:
>
>   File "MyProject/ConnectiveModelTest.py", line 65, in myAddPlotData
>     plot.addData(Fn=i.phys.normalForce[0],
> AttributeError: 'InteractionPhysics' object has no attribute 'normalForce'
>
> the interactionPhysics is define correctly and its forces(shear and normal
> forces),
> I did same the other law in Yade.
> I don't know why it says "has no attribute normalForce"
> how can solve this error?
>
> Cheers,
> Nasibeh Moradi
>


I use CohesiveFrictionalContactInteraction!!!
this error is because of :
FIXME: class CohesiveFrictionalContactInteraction does not register with
YADE_CLASS_BASE_DOC_ATTR*; will be inaccessible from python.

now If I want to use this type of interaction, what should I do?

Nasibeh

Follow ups

References