← Back to team overview

yade-users team mailing list archive

Re: [Question #670511]: Ambiguous dispatch : too much laws ?

 

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

    Status: Open => Answered

Bruno Chareyre proposed the following answer:
Hello Nicolas,
The order does not matter.

I am not sure there is a solution to this particular problem yet I am nearly sure that the problem (if it can be solved) comes from parts of the script that you did not show (assignement of materials to the different objects).
Also, the problem is not to have too many functors, instead it is due to _missing_ functors.

> ambiguous 2d dispatch (arg1=GridCoGridCoGeom, arg2=LubricationPhys,
distance=2)

It tells that contacts between different grid elements are supposed to be lubricated contacts (according to your materials definition). Since you did not include any Law2_GridCoGridCoGeom_ImplicitLubricationPhys yade tries to guess if another one could possibly be used through inheritance, and it finds many (8!), too many, hence the ambiguity.
Choosing one among them is not a solution since it is unlikely to give the desired behavior.
The real solution is to insert Law2_GridCoGridCoGeom_ImplicitLubricationPhys but it doesn't exist at the moment.

The true question is: do you really want to have lubricated contacts
between elements of the grid? If not, just don't assign a viscous
material to the grid and it should be fine.

Further questioning: why mixing WirePhys and PFacets? I would expect
WirePhys OR PFacets since they are two different ways to modelize grids,
so in  principle no reason to use both in one single simulation.

Bruno

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