← Back to team overview

yade-users team mailing list archive

help for solving an error

 

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

Follow ups