yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #04405
Re: [Question #153589]: Adding an IGeomFunctor subclass
Question #153589 on Yade changed:
https://answers.launchpad.net/yade/+question/153589
Status: Open => Answered
Chareyre proposed the following answer:
Hi François,
Sorry for not replying earlier.
I think I underestimated the need for a
Law2_CylScGeom6D_CohFrictPhys_CohesionMoment in previous discussions.
The BIG difference between Law2_CylSc* and all other laws existing in
Yade is that this law modelizes an interaction between 3 bodies (1
sphere + 2 cylinders nodes), not just 2 like others.
As a consequence, unfortunately, you need to write
Law2_CylScGeom6D_CohFrictPhys_CohesionMoment() that will ultimately
merge the features of Law2_ScGeom6D_CohFrictPhys_CohesionMoment
(codesion+moment) AND Law2_CylScGeom_FrictPhys_CundallStrack (ternary
interaction).
If you only need cohesion however (not moment), it is not so hard. The
ugly part is you will need to copy-paste the bigest part of
Law2_CylScGeom_FrictPhys_CundallStrack, then change the few lines that
have to be changed: fn can be negative, and maxFs is not just friction*fn
--
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.