← Back to team overview

yade-users team mailing list archive

Re: [Question #244498]: matchmaker

 

Question #244498 on Yade changed:
https://answers.launchpad.net/yade/+question/244498

    Status: Open => Answered

Klaus Thoeni proposed the following answer:
Hi,

MatchMaker need to be defined in the Ip2 functor for each pair of
possible contacts, e.g. when you have two materials:

	...
	[Ip2_FrictMat_FrictMat_MindlinPhys(
		# define restitution coefficients between different pairs of material ids
		en=MatchMaker(matches=((matId1,matId1,.4),(matId1,matId2,1),(matId2,matId2,1)))
	)],
	...

You can avoid (Mat2,Mat2) if you are sure this will never happen, e.g.
for the wall.

The error you get tells you that there is no parameter defined for an
interaction of material id 2 with material id 2 (2,2).

What contact law are you using? Just carefully define all the matches
for all the parameters and it should be fine.

HTH,
Klaus

-- 
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.