← Back to team overview

yade-users team mailing list archive

Re: [Question #231875]: the constitutive

 

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

    Status: Answered => Open

pingyang.1019@xxxxxxx is still having a problem:
thank you teacher, I will read these datas.





At 2013-07-09 18:56:26,"Jan Stránský" <question231875@xxxxxxxxxxxxxxxxxxxxx> wrote:
>Question #231875 on Yade changed:
>https://answers.launchpad.net/yade/+question/231875
>
>    Status: Open => Answered
>
>Jan Stránský proposed the following answer:
>Hello,
>
>Have a look on materials [1], IPhys [2,3] and Law [4] classes to choose the
>best one to inherit from. To help you more, it would be really valuable to
>know what you want to do :-)
>For implementation you would need:
>- some experience how yade works [5,6]
>- source code of Yade (i.e. not installed from packages)
>- create new files .hpp and .cpp for you new classes (named somehow
>reasonably)
>- do yourimplementation (possibly with inspiration from other classes:
>   - e.g. [7] for Law functor
>   - e.g. [8] for Material
>   - e.g. [9] for IPhys
>   - e.g. [10] for Iphys functor
>- recompile yade
>
>so very brief introductin :-) if you have any (ideally more specific)
>questions, do not hesitate to ask
>cheers
>Jan
>
>[1] https://yade-dem.org/doc/yade.wrapper.html#material
>[2] https://yade-dem.org/doc/yade.wrapper.html#iphys
>[3] https://yade-dem.org/doc/yade.wrapper.html#iphysfunctor
>[4] https://yade-dem.org/doc/yade.wrapper.html#lawfunctor
>[5] https://yade-dem.org/doc/tutorial.html
>[6] https://yade-dem.org/doc/user.html
>[7]
>http://bazaar.launchpad.net/~yade-pkg/yade/git-trunk/view/head:/pkg/dem/ElasticContactLaw.hpp
>,
>http://bazaar.launchpad.net/~yade-pkg/yade/git-trunk/view/head:/pkg/dem/ElasticContactLaw.cpp
>[8]
>http://bazaar.launchpad.net/~yade-pkg/yade/git-trunk/view/head:/pkg/common/ElastMat.hpp
>,
>http://bazaar.launchpad.net/~yade-pkg/yade/git-trunk/view/head:/pkg/common/ElastMat.cpp
>[9]
>http://bazaar.launchpad.net/~yade-pkg/yade/git-trunk/view/head:/pkg/dem/FrictPhys.hpp
>,
>http://bazaar.launchpad.net/~yade-pkg/yade/git-trunk/view/head:/pkg/dem/FrictPhys.cpp
>[10]
>http://bazaar.launchpad.net/~yade-pkg/yade/git-trunk/view/head:/pkg/dem/Ip2_FrictMat_FrictMat_FrictPhys.hpp
>,
>http://bazaar.launchpad.net/~yade-pkg/yade/git-trunk/view/head:/pkg/dem/Ip2_FrictMat_FrictMat_FrictPhys.cpp
>
>
>2013/7/9 平洋 <pingyang.1019@xxxxxxx>
>
>> Hello
>>   thank you teacher.
>>
>> I want to create new .  what  would I like to achieve?
>> At 2013-07-08 13:56:14,"Jan Stránský" <
>> question231875@xxxxxxxxxxxxxxxxxxxxx> wrote:
>> >Question #231875 on Yade changed:
>> >https://answers.launchpad.net/yade/+question/231875
>> >
>> >    Status: Open => Answered
>> >
>> >Jan Stránský proposed the following answer:
>> >Hello,
>> >
>> >"re-write" constitutive law can be done in many ways (modify existing law,
>> >extending existing law, creating new but similar law...)? Could you please
>> >be more specific what you would like to achieve? it will be easier for us
>> >to help you with the right answers :-)
>> >
>> >Tetrahedron (or any other shape) may be formed from spheres and cylinders
>> >as clumps [1,2,3].
>> >
>> >cheers
>> >Jan
>> >
>> >[1]
>> >
>> https://yade-dem.org/doc/yade.wrapper.html#yade.wrapper.BodyContainer.appendClumped
>> >[2]
>> >
>> http://bazaar.launchpad.net/~yade-pkg/yade/git-trunk/files/head:/examples/clumps/
>> >[3]
>> >
>> http://bazaar.launchpad.net/~yade-pkg/yade/git-trunk/view/head:/examples/test/clump.py
>> >
>> >PS: If you have two different problems, it is better (from maintenance and
>> >readability point of view) to open two different questions.
>> >
>> >
>> >2013/7/4 pingyang.1019@xxxxxxx <question231875@xxxxxxxxxxxxxxxxxxxxx>
>> >
>> >> Question #231875 on Yade changed:
>> >> https://answers.launchpad.net/yade/+question/231875
>> >>
>> >> pingyang.1019@xxxxxxx posted a new comment:
>> >> May I ask how to modify pre-treatment? I want to build  I want to create
>> >> tetrahedral elements formed by the balls and  cylinders,  can  it
>> >> achieve?
>> >>
>> >> --
>> >> 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@xxxxxxxxxxxxxxxxxxx
>> >> 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@xxxxxxxxxxxxxxxxxxx
>> >Unsubscribe : https://launchpad.net/~yade-users
>> >More help   : https://help.launchpad.net/ListHelp
>>
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~yade-users
>> Post to     : yade-users@xxxxxxxxxxxxxxxxxxx
>> 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@xxxxxxxxxxxxxxxxxxx
>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.