← Back to team overview

yade-users team mailing list archive

[Question #670376]: frictAngle matchmaker in Ip2_CohFrictMat_CohFrictMat_CohFrictPhys


New question #670376 on Yade:

Dear all,
I'd like to use a matchmaker to specify the friction angle between different material types.
The simulation uses cohesive materials, so I'm using Ip2_CohFrictMat_CohFrictMat_CohFrictPhys.
However, it seems this functor doesn't accept a frictionangle matchmaker: 

frictAngleMatchMaker = MatchMaker(algo='max')
Ip2_FrictMat_FrictMat_FrictPhys(frictAngle = frictAngleMatchMaker)
Ip2_CohFrictMat_CohFrictMat_CohFrictPhys(frictAngle = frictAngleMatchMaker)

   File "/../FrictAngleMatchmaker.py", line 3, in <module>
    Ip2_CohFrictMat_CohFrictMat_CohFrictPhys(frictAngle = frictAngleMatchMaker)
AttributeError: No such attribute: frictAngle.

I was thinking this would be possible, since it's based on Ip2_FrictMat_FrictMat_FrictPhys.
Is there a way to get around this?

You received this question notification because your team yade-users is
an answer contact for Yade.