← Back to team overview

yade-users team mailing list archive

Re: String Argument Error

 

> Understood, thanks for the help.
You should subscribe to the list, please read the relevant documentation
again. Otherwise I have to moderate your posts by hand and you will not
receive the replies.

> Unfortunately the same thing happened for the interaction dispatcher, I've rechecked the syntax & I'm not sure why the error is happening:
> O.engines+=[InteractionDispatchers([Ig2_Sphere_Sphere_Dem3DofGeom(distFactor=intradius)],[Ip2_CpmMat_CpmMat_CpmPhys()])]
Again, read the docs:

https://yade-dem.org/sphinx/yade.wrapper.html#yade.wrapper.InteractionDispatchers

"Special constructor: Constructs from 3 lists of Ig2, Ip2, Law functors
respectively;" -- you are missing the 3rd list (which should not be
empty, otherwise you will get exception about unhandled interaction at
runtime).

HTH, v.




References