Question #178830 on Yade changed: https://answers.launchpad.net/yade/+question/178830
Christian Jakob proposed the following answer: Zitat von Chiara Modenese <question178...@answers.launchpad.net>: > Question #178830 on Yade changed: > https://answers.launchpad.net/yade/+question/178830 > > Status: Open => Answered > > Chiara Modenese proposed the following answer: > On 17 November 2011 11:20, Chareyre > <question178...@answers.launchpad.net>wrote: > >> Question #178830 on Yade changed: >> https://answers.launchpad.net/yade/+question/178830 >> >> Chareyre posted a new comment: >> Jakob, this is an interesting and well commented script. >> However, I'm surprised that you didn't find problems with this procedure. >> Changing shape.radius as you do in this script is not supported (we should >> forbid that by design). rad1 and rad2 are copied inside the interactions >> when they are created. Here you change body's sizes but it is not reflected >> in interactions, leading to inconsistencies. >> > Bruno is right, but one possible workaround is that the interactions could > be created again (using O.interactions.clear()) after you change the > radius. I think there should be a comment about this somewhere in > documentation (to say that this sort of operations are not supported for > instance). So after every change in radii we have set O.interactions.clear() in the script and everything is ok? If yes, I will change the script and upload again... thanks chiara. > > Chiara > > >> If I understand your script correctly, I'm affraid the procedure you >> developped was already present in Yade. >> >> I suggest you have a look at the script I'm mentionning above. >> Performing a steady particles growth is a simple as this: >> >> triax=ThreeDTriaxialEngine( >> ... >> internalCompaction=True, # If true the confining pressure is >> generated by growing particles >> ... >> ) >> >> An even simpler way to see what it does is to generate a triaxial test >> via the yade interface (and clicking the "internalCompaction" option). >> >> Could you please confirm that this feature is what you had in mind? Then >> we can remove your script, which seems redundant to me (and uses >> unsupported operations at the moment). >> >> wangxiaolang, let us know if the triaxial tutorial does not solve your >> 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 >> > > -- > 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