← Back to team overview

yade-users team mailing list archive

Re: [Question #696759]: How can polyhedron use CpmMat 、Ip2_CpmMat_CpmMat_CpmPhys()and Law2_ScGeom_CpmPhys_Cpm() ?

 

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

    Status: Open => Answered

Jan Stránský proposed the following answer:
Hello,

sorry for late answer

> and then I ran a step to set the polyhedron material to frictmat
>
> O.dt = 0. #run one iteration
> poly1.material=m #change material
> O.dt = 1e-6

If you insist on automatic interaction creation, you need O.step (or
similar) before changing poly1.material.

Concerning the error, you probably need a new Ig2_Wall_Polyhedra_ScGeom..
You can hack it by creating the walls made of polyhedron.

Cheers
Jan

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