← 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:
> Walls created by utils.wall will still move at the same speed after
contacting with other bodies.How to make the wall created by polyhedron
move in the same speed after colliding?

poly.state.blockedDOFs = "xyzXYZ"

> RuntimeError: Body #0: Body::material type CpmMat doesn't correspond
to Body::state type State (should be CpmState instead).

poly1.state = CpmState()

Cheers
Jan

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