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

    Status: Open => Answered

Jan Stránský proposed the following answer:
Hello,

> I am new to DEM simulations

welcome :-)

> which values does yade take

generally speaking, it may be different for different materials,
different contact laws etc.

General "philosophy":
- Material (e.g. FrictMat) stores properties of material = material properties 
of particle
- IPhys stores properties of interaction = material properties of interaction
- Ip2 defines, how IPhys properties are computed from Material
See [1] for more information.

Note that "material properties of particle" and "material properties of 
interaction" may be (usually are not, but may be) very different things.
E.g. for FrictMat and FrictPhys:
- FrictMat has frictionAngle property
- FrictPhys has tangensOfFrictionAngle property
- Ip2_FrictMat_FrictMat_FrictPhys has frictAngle property


For the case of FrictMat and Ip2_FrictMat_FrictMat_FrictPhys, by default
Ip2_FrictMat_FrictMat_FrictPhys() # no arguments
takes a minimum value of the two friction angles.

However, you can define a MatchMaker [2] to fit your needs and e.g. take 
average or maximum value:
Ip2_FrictMat_FrictMat_FrictPhys( frictAngle=MatchMaker(...) )


To get this information, you can:
- read documentation [3]
- build a simple scene (1 sphere, 1 wall, 1 predefined contact) and test 
yourself
- ask a question here
- read source code [4]

Roughly ordered by preference, but it may differ.
E.g. for beginners, it is ok to ask very basic things here before they learn 
how to use and search documentation.
Advanced users / developers may prefer reading source code.

Cheers
Jan

[1] https://yade-dem.org/doc/user.html#functors-choice
[2] https://yade-dem.org/doc/yade.wrapper.html#yade.wrapper.MatchMaker
[3] 
https://yade-dem.org/doc/yade.wrapper.html#yade.wrapper.Ip2_FrictMat_FrictMat_FrictPhys.frictAngle
[4] https://gitlab.com/yade-dev/trunk/-/blob/master/pkg/dem/FrictPhys.cpp#L39

-- 
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     : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp

Reply via email to