problems of surface coupling of DEM-FEM

Asked by De zhang on 2018-12-05

Hi everyone,
I did a dem-fem surface couplering base on the updated code of Jan Stranský surf-example and modified.

Here is the code git: https://github.com/Dez2018/dez.git

 I first ran the 'yade-preproc.py' to generate the geom of polyhedra with the file 'surf7-polyhedra.dat' (by the way, I didn't use the libyade but used the yadedaily), and then I ran the 'surf7.sh' shell to run the project.

The project aimed to :
first step: to generate the sample of ballast just in YADE.
second step: make DEM-FEM coupling and load on the last polyhedra which is the loading plate with sin function.

But I have met some problem of it.
The warning was shown as: InsertionSortCollider.cpp:240 action: verletDist is set to 0 because no spheres were found. It will result in suboptimal performances, consider setting a positive verletDist in your script. terminate called after throwing an instance of 'std::runtime_error' what(): Undefined or ambiguous IPhys dispatch for types FrictMat and PolyhedraMat. Aborted (core dumped)

So what's the problem?

Thanks!
Dez

Question information

Language:
English Edit question
Status:
Solved
For:
Yade Edit question
Assignee:
No assignee Edit question
Solved by:
Bruno Chareyre
Solved:
2018-12-06
Last query:
2018-12-06
Last reply:
2018-12-05

>Undefined or ambiguous IPhys dispatch for types FrictMat and PolyhedraMat

Hi
You are mixing two different material types and you don't provide functors able to handle mixed interactions between them.
This is unrelated to surface coupling.
Bruno

De zhang (dzlearnyade) said : #2

Hi Bruno,
Thanks~ I checked the script and found I missed the 'O.material.append()'. After adding that, it worked. Thanks again.
Best regards,
Dez

De zhang (dzlearnyade) said : #3

Thanks Bruno Chareyre, that solved my question.