Question #295225 on Yade changed:
https://answers.launchpad.net/yade/+question/295225
Status: Open => Answered
Jérôme Duriez proposed the following answer:
All YADE source code can be
* either browsed online at https://github.com/yade/trunk
* or downloaded on your computer following the "source code" section of the
installation page of the doc somewhere at https://yade-dem.org/doc/ (which is
currently down---hopefully not for long---which prevents me to giving you the
exact URL)
Searching e.g. for "normalCohesion" in the code (see the search bar at
the top of github.com/yade/trunk webpages) will direct you to
pkg/dem/CohesiveFrictionalContactLaw.cpp that includes in particular the
code of Ip2_CohFrictMat_CohFrictMat_CohFrictPhys.
Therein, you will find that "normalAdhesion" is computed from the
minimum of the particles' "normalCohesion" (the same for "shear.."), see
[1] and [2]. Which hopefully answers your first question ! (The doc
could be indeed clarified)
Jerome
[1]
https://github.com/yade/trunk/blob/48fcf94a46f449dfb1ecda36f69eb8397d08d29d/pkg/dem/CohesiveFrictionalContactLaw.cpp#L251
[2]
https://github.com/yade/trunk/blob/48fcf94a46f449dfb1ecda36f69eb8397d08d29d/pkg/dem/CohesiveFrictionalContactLaw.cpp#L285
--
You received this question notification because your team yade-users is
an answer contact for Yade.
_______________________________________________
Mailing list: https://launchpad.net/~yade-users
Post to : [email protected]
Unsubscribe : https://launchpad.net/~yade-users
More help : https://help.launchpad.net/ListHelp