← Back to team overview

yade-users team mailing list archive

Re: [Question #241915]: interaction modification

 

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

    Status: Open => Answered

Kneib François proposed the following answer:
Hi,

The problem is that the Law2_ScGeom6D_CohFrictPhys_CohesionMoment needs (as its name suggests) :
- Ip2_CohFrictMat_CohFrictMat_CohFrictPhys(...)
- Ig2_Sphere_Sphere_ScGeom6D()

What I suggest is to load your simulation, add both ip2 and ig2 above to
O.engines[2] (interaction loop). Then you will need to initialize all
contacts : O.interactions.clear(), and they will be recreated at the
firt timestep. The bad new is that you will loose contact history
(friction). Finaly, use setCohesionNow or setCohesionOnNewContacts to
activate cohesion.

François

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