← Back to team overview

yade-users team mailing list archive

[Question #257902]: Undefined or ambiguous IPhys dispatch for types FrictMat and CpmMat

 

New question #257902 on Yade:
https://answers.launchpad.net/yade/+question/257902

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_error' what():  Undefined or ambiguous IPhys dispatch for types FrictMat and CpmMat" 

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://answers.launchpad.net/yade/+question/254316
[2] https://answers.launchpad.net/yade/+question/254315
[3] https://answers.launchpad.net/yade/+question/248700

script
[4] https://drive.google.com/file/d/0B6azPyaq-2oNNlBxZmV4aldjWGs/view?usp=sharing

slab.yade
[5]  https://drive.google.com/file/d/0B6azPyaq-2oNMGVIeE85U0lzZU0/view?usp=sharing

-- 
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.