Re: [Yade-users] [Question #663627]: DUSE_QT5=OFF but libQt5Xml & libQt5Core on use

2018-02-02 Thread Luc OGER
Question #663627 on Yade changed:
https://answers.launchpad.net/yade/+question/663627

Status: Needs information => Open

Luc OGER gave more information on the question:
I am using OpenSuse Leap 42.3
and I am using QT5=OFFas in my distribution as for example: somme command are 
not equivalent
 qmake command is linked to the qt4 
qmake-qt5 is the 'new version for qt5 and also for some other command.

-- 
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