Re: [Yade-users] [Question #663965]: Tracking interaction forces on a surface

2018-02-05 Thread Giovanni Lorenzon
Question #663965 on Yade changed:
https://answers.launchpad.net/yade/+question/663965

Status: Answered => Solved

Giovanni Lorenzon confirmed that the question is solved:
Thanks Robert Caulk, that solved my question.

-- 
You received this question notification because your team yade-users 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 #663965]: Tracking interaction forces on a surface

2018-02-05 Thread Giovanni Lorenzon
Question #663965 on Yade changed:
https://answers.launchpad.net/yade/+question/663965

Giovanni Lorenzon posted a new comment:
Hi Robert,

thank you very much for your suggestion, it totally helped me!

With best regards,

Giovanni

-- 
You received this question notification because your team yade-users 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 #663965]: Tracking interaction forces on a surface

2018-02-02 Thread Giovanni Lorenzon
Question #663965 on Yade changed:
https://answers.launchpad.net/yade/+question/663965

Status: Answered => Open

Giovanni Lorenzon is still having a problem:
Hi Bruno,

Thank you very much for your answer.

I tried with that command, but I couldn't make it work. I thought that maybe 
the problem was related to the fact that the pressing body is a facet, but I am 
not sure about that.
The related code that I used was:

#
press = geom.facetCylinder((0,0,.03), .01, .001, segmentsNumber=30, wallMask=7)
idPress = O.bodies.append(press)

O.engines=[
[...code related to other purposes...],
PyRunner(command='addPlotData()', iterPeriod=100),
]

def addPlotData():
plot.addData(
[...code related to other purposes...],
force=O.forces.f(idPress)
)
#

And each time the command 'addPlotData' was called, YADE gave me the
following error message:

"ArgumentError: Python argument types in
ForceContainer.f(ForceContainer, list)
did not match C++ signature:
f(pyForceContainer {lvalue}, long id, bool sync=False)"

Anyway, even solving this error, I'm concerned with the very output of
the command: wouldn't it give me the amount of all the forces acting on
the body, would it? Thus both shear and normal stresses I guess, right?
That wouldn't actually be what I was looking for, since I need to define
the stopping condition according to the normal stress only.

I also found the command 'forcesOnPlane'/'forcesOnCoordPlane', but also this 
one computes both shear and normal stresses.
Therefore my worries about which strategy I should adopt.

Thanks again,

Giovanni Lorenzon

-- 
You received this question notification because your team yade-users 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 #663965]: Tracking interaction forces on a surface

2018-02-02 Thread Bruno Chareyre
Question #663965 on Yade changed:
https://answers.launchpad.net/yade/+question/663965

Status: Open => Answered

Bruno Chareyre proposed the following answer:
Hi Giovanni,
If what you need is the total force on a particular object then it should be 
enough to check O.forces.f(bodyId).
Would it answer your question?
Bruno

-- 
You received this question notification because your team yade-users 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 #663965]: Tracking interaction forces on a surface

2018-02-01 Thread Giovanni Lorenzon
Question #663965 on Yade changed:
https://answers.launchpad.net/yade/+question/663965

Description changed to:
Hi everybody,

thanks again for the amazing support that you provide on this platform.

I would like to ask for some suggestions about a project I'm working on. I'm 
trying to replicate a real-life compaction process in a cylindrical cavity, and 
I would like to stop the compaction when some specific normal strain value is 
reached. I am trying to build an actual cylinder to which impose a certain 
velocity to, and to stop its path towards the sample when a fixed strain is 
registered upon the contact surface.
The problem is that I am having difficulties in finding an appropriate way to 
measure the interaction between the particles and the pressing object's 
surface, in order to define the stopping condition for the compaction process.
Until now I was using the uniax.py example from GitHub, but its execution is 
way too demanding for the number of particles I'm wishing to simulate.
Any suggestion about which strategy would best fit my purpose?

Thank you very much for your help!

With best regards,

Giovanni Lorenzon

-- 
You received this question notification because your team yade-users 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


[Yade-users] [Question #663965]: Tracking interaction forces on a surface

2018-02-01 Thread Giovanni Lorenzon
New question #663965 on Yade:
https://answers.launchpad.net/yade/+question/663965

Hi everybody,

thanks again for the amazing support that you provide on this platform.

I would like to ask for some suggestions about a project I'm working on. I'm 
trying to replicate a real-life compaction process in a cylindrical cavity, and 
I would like to stop the compaction when some specific normal strain value is 
reached. I am trying to build an actual cylinder to which impose a certain 
velocity to, and to stop its path towards the sample when a fixed strain is 
registered upon the contact surface.
The problem is that I am having difficulties in finding an appropriate way to 
measure the interaction between the particle and the pressing object's surface, 
in order to define the stopping condition for the compaction process.
Until now I was using the uniax.py example from GitHub, but its execution is 
way too demanding for the number of particles I'm wishing to simulate.
Any suggestion about which strategy would best fit my purpose?

Thank you very much for your help!

With best regards,

Giovanni Lorenzon


-- 
You received this question notification because your team yade-users 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