Re: [Yade-users] [Question #264142]: Law Functor
Question #264142 on Yade changed: https://answers.launchpad.net/yade/+question/264142 Felipe posted a new comment: Hello Jerome, Thank you for answering my question.. I'll read both tutorial. I also liked the link about others examples. For the moment, you solved my questions. Cheeres, Felipe -- You received this question notification because you are a member of yade-users, which 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
Re: [Yade-users] [Question #264142]: Law Functor
Question #264142 on Yade changed: https://answers.launchpad.net/yade/+question/264142 Status: Answered => Solved Felipe confirmed that the question is solved: Hello Jan, Thank you again. For sure, the next time I will try more specific in my questions. For the moment, you solved my questions. Thank you so much. Cheeres, Felipe -- You received this question notification because you are a member of yade-users, which 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
Re: [Yade-users] [Question #264142]: Law Functor
Question #264142 on Yade changed: https://answers.launchpad.net/yade/+question/264142 Felipe confirmed that the question is solved: Thanks Jan Stránský, that solved my question. -- You received this question notification because you are a member of yade-users, which 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
Re: [Yade-users] [Question #264142]: Law Functor
Question #264142 on Yade changed: https://answers.launchpad.net/yade/+question/264142 Jan Stránský proposed the following answer: Hi Felipe, brief summary contact laws are at [1]. There is brief description, publications and also names of example scripts you can look at. You can also browse documentation [2], where are listed parameters you can use. There are some derived from base classes which are not usually used (bases, dict, updateAttrs) and some you can set/modify, specifically for Law2_ScGeom_FrictPhys_CundallStrack [3]: neverErase, sphericalBodies. Furthermore you can use some methods defined on this law, on the example: elasticEnergy(), initPlasticDissipation(), plasticDissipation(). See examples for more details. if you are new to Yade, I really recommend to read the introduction, tutorial and user's manual, as cnatact law iteslf depends not only on law functor, but also on used particle shapes, materials, igeom functors and iphys functors.. cheers Jan PS: I am really not sure what "how you construct in ".py"" exactly means, next time please be more specific to get answer earlier :-) [1] https://yade-dem.org/wiki/ConstitutiveLaws#Constitutive_laws [2] https://yade-dem.org/doc/yade.wrapper.html#constitutive-laws [3] https://yade-dem.org/doc/yade.wrapper.html#yade.wrapper.Law2_ScGeom_FrictPhys_CundallStrack 2015-03-25 23:51 GMT+01:00 Felipe : > Question #264142 on Yade changed: > https://answers.launchpad.net/yade/+question/264142 > > Status: Answered => Open > > Felipe is still having a problem: > Hey Jan, > > Thank you for answering my question. > > I'm really appreciate that. > > However, I would like to learn more specific about contact laws. > > If you have examples about it, could you send me to learn and also > seeing how you construct in ".py"? > > Cheers, > > Felipe > > -- > You received this question notification because you are a member of > yade-users, which 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 > -- You received this question notification because you are a member of yade-users, which 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
Re: [Yade-users] [Question #264142]: Law Functor
Question #264142 on Yade changed: https://answers.launchpad.net/yade/+question/264142 Status: Open => Answered Jérôme Duriez proposed the following answer: Hi, ".py" stands for "python" which is one informatic language, and the one used for the Yade terminal. Basically, it is a text file obeying to some syntax (the python one, including all the Yade specific commands), like any informatic language.. As Jan said, you may find several examples of such python script e.g. in https://yade-dem.org/doc/tutorial-examples.html, and also "inside" the doc (User's manual, etc). Plus other examples you might find in different places (e.g. on the internet here : https://github.com/yade/trunk/tree/master/examples, see also subfolders) depending how you installed Yade. Jerome -- You received this question notification because you are a member of yade-users, which 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
Re: [Yade-users] [Question #264142]: Law Functor
Question #264142 on Yade changed: https://answers.launchpad.net/yade/+question/264142 Status: Answered => Open Felipe is still having a problem: Hey Jan, Thank you for answering my question. I'm really appreciate that. However, I would like to learn more specific about contact laws. If you have examples about it, could you send me to learn and also seeing how you construct in ".py"? Cheers, Felipe -- You received this question notification because you are a member of yade-users, which 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
Re: [Yade-users] [Question #264142]: Law Functor
Question #264142 on Yade changed: https://answers.launchpad.net/yade/+question/264142 Status: Open => Answered Jan Stránský proposed the following answer: Hello Felipe, welcome to Yade :-) to start, read introduction [1], tutorial [2] and user's manual [3], which are also accessible from the main Yade page. In tutorial, there is an "examples" section with simple basic (but complete) scripts. (Side note, there are movies from youtube on examples page, but my browser is blocking the content. If you have the same problem, you can change the browser settings..) If you have any more questions, do not hesitate to ask here cheers Jan PS: L3Geom is not maintained any more, we should add some notification to documentation.. [1] https://yade-dem.org/doc/introduction.html [2] https://yade-dem.org/doc/tutorial.html [3] https://yade-dem.org/doc/user.html 2015-03-25 0:31 GMT+01:00 Felipe : > New question #264142 on Yade: > https://answers.launchpad.net/yade/+question/264142 > > Hey guys, > > I'm a new user of the YADE and I'm studying some law functor (contact law). > > By the way, I have had some problem about how I can construct the program, > for example: > > [Law2_L3Geom_FrictPhys_ElPerfPl()] > > http://yade-dem.org/doc/yade.wrapper.html#constitutive-laws > > When I choose this law and select it, We can see many explanation about > it. Although there are many descriptions (you can see following), I don't > know exactly how I should do to construct correct program to Yade. > > class yade.wrapper.Law2_L3Geom_FrictPhys_ElPerfPl((object)arg1) > Basic law for testing L3Geom; it bears no cohesion (unless noBreak is > True), and plastic slip obeys the Mohr-Coulomb criterion (unless noSlip is > True). > > bases > Ordered list of types (as strings) this functor accepts. > > dict() → dict > Return dictionary of attributes. > > label(=uninitalized) > Textual label for this object; must be a valid python identifier, you can > refer to it directly from python. > > noBreak(=false) > Do not break contacts when particles separate. > > noSlip(=false) > No plastic slipping. > > timingDeltas > Detailed information about timing inside the Dispatcher itself. Empty > unless enabled in the source code and O.timingEnabled==True. > > updateAttrs((dict)arg2) → None > Update object attributes from given dictionary > > Could we give any explanation how I must assembly the program at the Yade > (correct structure)? > > thanks for any helps. > > Best Regards, > Felipe > > -- > You received this question notification because you are a member of > yade-users, which 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 > -- You received this question notification because you are a member of yade-users, which 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
Re: [Yade-users] [Question #264142]: Law Functor
Hello Felipe, welcome to Yade :-) to start, read introduction [1], tutorial [2] and user's manual [3], which are also accessible from the main Yade page. In tutorial, there is an "examples" section with simple basic (but complete) scripts. (Side note, there are movies from youtube on examples page, but my browser is blocking the content. If you have the same problem, you can change the browser settings..) If you have any more questions, do not hesitate to ask here cheers Jan PS: L3Geom is not maintained any more, we should add some notification to documentation.. [1] https://yade-dem.org/doc/introduction.html [2] https://yade-dem.org/doc/tutorial.html [3] https://yade-dem.org/doc/user.html 2015-03-25 0:31 GMT+01:00 Felipe : > New question #264142 on Yade: > https://answers.launchpad.net/yade/+question/264142 > > Hey guys, > > I'm a new user of the YADE and I'm studying some law functor (contact law). > > By the way, I have had some problem about how I can construct the program, > for example: > > [Law2_L3Geom_FrictPhys_ElPerfPl()] > > http://yade-dem.org/doc/yade.wrapper.html#constitutive-laws > > When I choose this law and select it, We can see many explanation about > it. Although there are many descriptions (you can see following), I don't > know exactly how I should do to construct correct program to Yade. > > class yade.wrapper.Law2_L3Geom_FrictPhys_ElPerfPl((object)arg1) > Basic law for testing L3Geom; it bears no cohesion (unless noBreak is > True), and plastic slip obeys the Mohr-Coulomb criterion (unless noSlip is > True). > > bases > Ordered list of types (as strings) this functor accepts. > > dict() → dict > Return dictionary of attributes. > > label(=uninitalized) > Textual label for this object; must be a valid python identifier, you can > refer to it directly from python. > > noBreak(=false) > Do not break contacts when particles separate. > > noSlip(=false) > No plastic slipping. > > timingDeltas > Detailed information about timing inside the Dispatcher itself. Empty > unless enabled in the source code and O.timingEnabled==True. > > updateAttrs((dict)arg2) → None > Update object attributes from given dictionary > > Could we give any explanation how I must assembly the program at the Yade > (correct structure)? > > thanks for any helps. > > Best Regards, > Felipe > > -- > You received this question notification because you are a member of > yade-users, which 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 > ___ 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