← Back to team overview

yade-users team mailing list archive

Re: [Question #687386]: "Law2_ScGeom_MindlinPhys_Mindlin ()" engine problem

 

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

    Status: Open => Answered

Jan Stránský proposed the following answer:
> I used the Yade 2018.02b + Ubuntu 18.04.3 LTS.

thanks

> The error would occur when the particles contact each other.

I have run 3M timesteps without any problem.
Please update the script to be MWE also w.r.t time (making the problematic interaction in the first or a few time steps).

> I would like to know if I can realize the following requirements:

probably not "as it is". 
If you had fewer Law2s, it could be feasible.
In the case Yade could not find the Law2 exactly matching given IGeom and IPhys, it tries to use one based on igeom and iphys base classes (at least I think so, but I am not sure :-).
In your case, it finds a lot of matches (since ScGeom is base of  GridCoGridCoGeom and ScGeom6D and FrictPhys is base of CohFrictPhys and MindlinPhys) and do not know what to do, therefore ending with the ambiguity error.

A solution is to add another Law2, exactly matching GridCoGridCoGeom and MindlinPhys.
Internally, it can just call any other Law2.
This way, the dispatch would not be ambiguous.
However, this solution needs modification of source code..

cheers
Jan

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