← Back to team overview

yade-users team mailing list archive

Re: [Question #251218]: Modifying the Cohesive Frictional Contact Law

 

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

Bruno Chareyre posted a new comment:
Dear Behzad,
It seems you decided to give the copy/paste method a go (option 3 in #1).
Please keep in mind that it is only a quick hack for testing equations.
If you want the new model to be functional for at least a couple years, you will need to implement more cleanly. Namely, to inherit (*) from CohFrictMat and add the missing data only. For the moment you are duplicating many variables which are already in the code (kn,ks,normalCohesion,etc.).
Please let us know if/how you need help for clean intergration.

(*) Inheriting is exactly what CohFrictMat does wrt. FrictMat, same for
CohFrictPhys vs. FrictPhys.

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