problems of surface coupling of DEM-FEM

Asked by De zhang

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:
Last query:
Last reply:
Revision history for this message
Best Bruno Chareyre (bruno-chareyre) said :
#1

>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

Revision history for this message
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

Revision history for this message
De zhang (dzlearnyade) said :
#3

Thanks Bruno Chareyre, that solved my question.