Re: [Yade-users] [Question #185098]: InteractionLocator.macroAroundPt module

2012-01-19 Thread Rinaldi Giuseppe
Question #185098 on Yade changed: https://answers.launchpad.net/yade/+question/185098 Status: Answered => Solved Rinaldi Giuseppe confirmed that the question is solved: I see. many thanks! Giuseppe -- You received this question notification because you are a member of yade-users, which is

Re: [Yade-users] [Question #185098]: InteractionLocator.macroAroundPt module

2012-01-19 Thread Chareyre
Question #185098 on Yade changed: https://answers.launchpad.net/yade/+question/185098 Status: Open => Answered Chareyre proposed the following answer: As said above, no. It would make no sense anyway, since it uses a "contact surface" concept not consistent with Mindlin's contact. -- You

Re: [Yade-users] [Question #185098]: InteractionLocator.macroAroundPt module

2012-01-19 Thread Rinaldi Giuseppe
Question #185098 on Yade changed: https://answers.launchpad.net/yade/+question/185098 Status: Answered => Open Rinaldi Giuseppe is still having a problem: hi Bruno Chareyre , I'm using Ip2_FrictMat_FrictMat_MindlinPhys and Law2_S cGeom_MindlinPhys _Mindlin. So can't I use the module in my s

Re: [Yade-users] [Question #185098]: InteractionLocator.macroAroundPt module

2012-01-19 Thread Chareyre
Question #185098 on Yade changed: https://answers.launchpad.net/yade/+question/185098 Chareyre proposed the following answer: Rinaldi, you are maybe wasting your time trying to solve this problem. macroAroundPoint is restricted to Dem3DofGeom and CpmPhys classes, which I doubt you are using for s

Re: [Yade-users] [Question #185098]: InteractionLocator.macroAroundPt module

2012-01-19 Thread Jan Stránský
Question #185098 on Yade changed: https://answers.launchpad.net/yade/+question/185098 Status: Open => Answered Jan Stránský proposed the following answer: The problem is, that at the time of InteractionLocator construction, you have no interactions present in the simulation. Try to place the

Re: [Yade-users] [Question #185098]: InteractionLocator.macroAroundPt module

2012-01-19 Thread Rinaldi Giuseppe
Question #185098 on Yade changed: https://answers.launchpad.net/yade/+question/185098 Status: Answered => Open Rinaldi Giuseppe is still having a problem: Hi Strànsky , if I do so I get the following: Yade [1]: --- Run

Re: [Yade-users] [Question #185098]: InteractionLocator.macroAroundPt module

2012-01-19 Thread Jan Stránský
Question #185098 on Yade changed: https://answers.launchpad.net/yade/+question/185098 Jan Stránský proposed the following answer: Hi Rinaldi, the problem could be that you have no instance (existing object) of InteractionLocator. Instead of line 145 try following: locator = eudoxos.InteractionLo

Re: [Yade-users] [Question #185098]: InteractionLocator.macroAroundPt module

2012-01-18 Thread Rinaldi Giuseppe
Question #185098 on Yade changed: https://answers.launchpad.net/yade/+question/185098 Rinaldi Giuseppe posted a new comment: now also if I use eudoxos without underscore I get the following: Yade [1]: --- TypeError

Re: [Yade-users] [Question #185098]: InteractionLocator.macroAroundPt module

2012-01-18 Thread Jan Stránský
Question #185098 on Yade changed: https://answers.launchpad.net/yade/+question/185098 Jan Stránský proposed the following answer: Hi Rinaldi, The problem is (as error message indicates) in indentation in your script. Read some text about python indentation and try to correct it on the line that c

Re: [Yade-users] [Question #185098]: InteractionLocator.macroAroundPt module

2012-01-18 Thread Chareyre
Question #185098 on Yade changed: https://answers.launchpad.net/yade/+question/185098 Status: Open => Answered Chareyre proposed the following answer: This problem is plrobably not related to the eudoxos module: pointstress=eudoxos.InteractionLocator.macroAroundPt((0.1,0.1,0.

Re: [Yade-users] [Question #185098]: InteractionLocator.macroAroundPt module

2012-01-18 Thread Rinaldi Giuseppe
Question #185098 on Yade changed: https://answers.launchpad.net/yade/+question/185098 Status: Answered => Open Rinaldi Giuseppe is still having a problem: first of all thank you for your quick response! if I use eudoxos without underscore I get the following: Running script simpleShear.py T

Re: [Yade-users] [Question #185098]: InteractionLocator.macroAroundPt module

2012-01-18 Thread Emanuele Catalano
Question #185098 on Yade changed: https://answers.launchpad.net/yade/+question/185098 Emanuele Catalano proposed the following answer: Hello Giuseppe, one solution is to add the line from yade import _eudoxos inside the function saveData() and not (or not only) outside. def saveData(): from

Re: [Yade-users] [Question #185098]: InteractionLocator.macroAroundPt module

2012-01-18 Thread jduriez
Question #185098 on Yade changed: https://answers.launchpad.net/yade/+question/185098 jduriez posted a new comment: In fact (it's clear now that I do not know python very well...), I think you should consider http://docs.python.org/tutorial/modules.html and the only sentence where there is "unders

Re: [Yade-users] [Question #185098]: InteractionLocator.macroAroundPt module

2012-01-18 Thread jduriez
Question #185098 on Yade changed: https://answers.launchpad.net/yade/+question/185098 jduriez proposed the following answer: The alternative solution, I think, would be that you need to import "_eudoxos" with underscore, instead of "eudoxos" without underscore. What if you type "from yade import

Re: [Yade-users] [Question #185098]: InteractionLocator.macroAroundPt module

2012-01-18 Thread Jan Stránský
Question #185098 on Yade changed: https://answers.launchpad.net/yade/+question/185098 Status: Open => Answered Jan Stránský proposed the following answer: Hi Rinaldi, as I see it, the script does not work, because (as error says) _eudoxos is not defined. Try to use eudoxos instead (without u

[Yade-users] [Question #185098]: InteractionLocator.macroAroundPt module

2012-01-18 Thread Rinaldi Giuseppe
New question #185098 on Yade: https://answers.launchpad.net/yade/+question/185098 HI all, I'm a postgraduate student and I'm writing my master thesis at the Warwick University. I'm studying the sand behaviour in Simple-shear test by changing the strain rate. In order to evaluate the stress