Undefined or ambiguous IPhys dispatch for types FrictMat and CpmMat
Hi all!
I try to simulate the damage in a concrete slab produced for a hammer shock. The script work well, but for little running time, this error appears:
"terminate called after throwing an instance of 'std::runtime_
I looked for this error in the forum [1][2][3], and I know that my problem is in O.engines. I have 2 materials, concrete and steel, and three types of bodies: spheres (for the slab concrete), wall (to soil) utils.wall and box (for the hammer head) utils.facetBox.
As can see in the script [4], the concrete slab is imported like slab.yade[5], but before, I defined the O.material == concrete. In the engines, I have taken into FrictMat and CpmMat and if is Sphere, Wall or Facet, but I know that the problem is here. Any idea? Maybe, after import the slab.yade, should be put something like "for i in range(0,len (O.bodies)): ... and then define the concrete material for spheres?
Thanks in advance!
Laura.
[1] https:/
[2] https:/
[3] https:/
script
[4] https:/
slab.yade
[5] https:/
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Yade Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Jan Stránský
- Solved:
- Last query:
- Last reply: