Re: [Yade-users] [Question #556907]: Apply cohesive interaction on JCFpmMat

2017-03-20 Thread weijy
Question #556907 on Yade changed: https://answers.launchpad.net/yade/+question/556907 Status: Answered => Solved weijy confirmed that the question is solved: Thanks Luc Scholtès, that solved my question. -- You received this question notification because your team yade-users is an answer

Re: [Yade-users] [Question #556907]: Apply cohesive interaction on JCFpmMat

2017-03-19 Thread Luc Scholtès
Question #556907 on Yade changed: https://answers.launchpad.net/yade/+question/556907 Luc Scholtès proposed the following answer: Hi Weijy, Sorry for not working directly on your script but I found it easier to actually send you a script that I used to obtain the results presented in the paper

Re: [Yade-users] [Question #556907]: Apply cohesive interaction on JCFpmMat

2017-03-16 Thread weijy
Question #556907 on Yade changed: https://answers.launchpad.net/yade/+question/556907 weijy posted a new comment: That is awkward.. I copied a wrong script somehow. This should be the right one. And a simple question: InteractionContainer.countReal does not return a value. How should I use it?

Re: [Yade-users] [Question #556907]: Apply cohesive interaction on JCFpmMat

2017-03-16 Thread Jérôme Duriez
Question #556907 on Yade changed: https://answers.launchpad.net/yade/+question/556907 Jérôme Duriez proposed the following answer: I was mostly concerned by "ietrPeriod" which does not exist as an attribute for such an engine, as opposed to "iterPeriod" [*] [*] https://yade-

Re: [Yade-users] [Question #556907]: Apply cohesive interaction on JCFpmMat

2017-03-16 Thread weijy
Question #556907 on Yade changed: https://answers.launchpad.net/yade/+question/556907 weijy posted a new comment: Thank s for reminding, Jerome. But I still don't get where is the mistake. I wrote "checker.ietrPeriod = 1" in set_friction() definition because it should(as I think) set the

Re: [Yade-users] [Question #556907]: Apply cohesive interaction on JCFpmMat

2017-03-16 Thread Jérôme Duriez
Question #556907 on Yade changed: https://answers.launchpad.net/yade/+question/556907 Jérôme Duriez proposed the following answer: Hi, I would be surprised this is a working script as requested by Luc... See the typo "checker.ietrPeriod = 1" in set_friction() definition.. Note also that it's

Re: [Yade-users] [Question #556907]: Apply cohesive interaction on JCFpmMat

2017-03-15 Thread weijy
Question #556907 on Yade changed: https://answers.launchpad.net/yade/+question/556907 weijy posted a new comment: Hi Luc, here is my script: from yade import pack,export compFricDegree = 30 confiningPressure = 1e4 O.materials.append(JCFpmMat(young=5e6, poisson=0.5, frictionAngle =

Re: [Yade-users] [Question #556907]: Apply cohesive interaction on JCFpmMat

2017-03-14 Thread Robert Caulk
Question #556907 on Yade changed: https://answers.launchpad.net/yade/+question/556907 Robert Caulk posted a new comment: Thank you for the advice, Bruno. -- You received this question notification because your team yade-users is an answer contact for Yade.

Re: [Yade-users] [Question #556907]: Apply cohesive interaction on JCFpmMat

2017-03-14 Thread Bruno Chareyre
Question #556907 on Yade changed: https://answers.launchpad.net/yade/+question/556907 Bruno Chareyre proposed the following answer: >no physical implications in the model when using neverErase=True? Yes correct. In practice it should be used combined with another model (e.g. capillary force

Re: [Yade-users] [Question #556907]: Apply cohesive interaction on JCFpmMat

2017-03-14 Thread Luc Scholtès
Question #556907 on Yade changed: https://answers.launchpad.net/yade/+question/556907 Status: Open => Answered Luc Scholtès proposed the following answer: Sorry Weijy but I got a bit lost... It should not be so difficult to make this work. Could you please send a working script so that I

Re: [Yade-users] [Question #556907]: Apply cohesive interaction on JCFpmMat

2017-03-13 Thread weijy
Question #556907 on Yade changed: https://answers.launchpad.net/yade/+question/556907 Status: Answered => Open weijy is still having a problem: I'm afraid it doesn't work quite well on my try. I wrote: O.engines: ... Bo1_Sphere_Aabb(label = 'bo1s'),... Ig2_Sphere_Sphere_ScGeom(label =

Re: [Yade-users] [Question #556907]: Apply cohesive interaction on JCFpmMat

2017-03-13 Thread Robert Caulk
Question #556907 on Yade changed: https://answers.launchpad.net/yade/+question/556907 Robert Caulk posted a new comment: Thanks, Jérôme, for the explanation. Am I right to say there are no physical implications in the model when using neverErase=True? It is simply a flag that tells yade to keep

Re: [Yade-users] [Question #556907]: Apply cohesive interaction on JCFpmMat

2017-03-13 Thread Jérôme Duriez
Question #556907 on Yade changed: https://answers.launchpad.net/yade/+question/556907 Jérôme Duriez proposed the following answer: There actually is a sound justification to this behavior. A shear bond failure is not a loss of interaction: the cohesive properties disappear but the interaction

Re: [Yade-users] [Question #556907]: Apply cohesive interaction on JCFpmMat

2017-03-13 Thread Robert Caulk
Question #556907 on Yade changed: https://answers.launchpad.net/yade/+question/556907 Robert Caulk posted a new comment: >1. I can't visualize broken interactions in this way. At the end of the test, the interactions that showed >"isBroken" only make up about 5% I noticed in

Re: [Yade-users] [Question #556907]: Apply cohesive interaction on JCFpmMat

2017-03-13 Thread Luc Scholtès
Question #556907 on Yade changed: https://answers.launchpad.net/yade/+question/556907 Status: Open => Answered Luc Scholtès proposed the following answer: I guess that using the labels, you can get what you want. Here is a suggestion that actually I never used myself since I prepare my dense

Re: [Yade-users] [Question #556907]: Apply cohesive interaction on JCFpmMat

2017-03-13 Thread weijy
Question #556907 on Yade changed: https://answers.launchpad.net/yade/+question/556907 Status: Answered => Open weijy is still having a problem: Thanks for Luc's solution. But I still have a problem: In triaxial test, the confining pressure is applied through internal compaction. And the

Re: [Yade-users] [Question #556907]: Apply cohesive interaction on JCFpmMat

2017-03-13 Thread Luc Scholtès
Question #556907 on Yade changed: https://answers.launchpad.net/yade/+question/556907 Status: Open => Answered Luc Scholtès proposed the following answer: Hi, Yes, there is an easier way. Juste define the material parameters in such lines: def sphereMat(): return

Re: [Yade-users] [Question #556907]: Apply cohesive interaction on JCFpmMat

2017-03-13 Thread weijy
Question #556907 on Yade changed: https://answers.launchpad.net/yade/+question/556907 Description changed to: Hi all, I've been trying to model a triaxial test using JCFpmMat. This is the method I'm using now to apply cohesions: ... for i in O.interactions: if

[Yade-users] [Question #556907]: Apply cohesive interaction on JCFpmMat

2017-03-13 Thread weijy
New question #556907 on Yade: https://answers.launchpad.net/yade/+question/556907 Hi all, I've been trying to model a triaxial test using JCFpmMat. This is the method I'm using now to apply cohesions: ... for i in O.interactions: if isinstance(O.bodies[i.id1].shape,Sphere) and