[Yade]How to output forces(Fx,Fy,Fz) acting on moving facet

Asked by Elaine

Hi, I am a novice for Yade. I am trying to simulate a moving structure(formed by facets in Yade) interacting with some sphere particles.

After simulation, I got radii, id, mask, clumped, color, linVelvec, angvelvec, linvellen,angvellen,nomalstresses, shearstress, normalstressnorm, materialID for sphere particles. I got color, stressVec, stressLen,materialID, mask information for facets.

My question is how can I get the output of force(Fx,Fy,Fz) and moment (Mx,My,Mz) acting on the moving facets? how can get the force and moment acting on each particles?

Thanks a lot!

Question information

Language:
English Edit question
Status:
Answered
For:
Yade Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Jan Stránský (honzik) said :
#1

Hi Elaine,
please be more specific what you mean by "output", i.e. printing on screen,
saving to file (text file, VTK file..) and how you got the other values
(what "got" means :-)
Thanks
Jan

2014-07-30 19:41 GMT+02:00 Elaine <email address hidden>:

> New question #252413 on Yade:
> https://answers.launchpad.net/yade/+question/252413
>
> Hi, I am a novice for Yade. I am trying to simulate a moving
> structure(formed by facets in Yade) interacting with some sphere particles.
>
> After simulation, I got radii, id, mask, clumped, color, linVelvec,
> angvelvec, linvellen,angvellen,nomalstresses, shearstress,
> normalstressnorm, materialID for sphere particles. I got color, stressVec,
> stressLen,materialID, mask information for facets.
>
> My question is how can I get the output of force(Fx,Fy,Fz) and moment
> (Mx,My,Mz) acting on the moving facets? how can get the force and moment
> acting on each particles?
>
> Thanks a lot!
>
> --
> 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 : <email address hidden>
> Unsubscribe : https://launchpad.net/~yade-users
> More help : https://help.launchpad.net/ListHelp
>

Revision history for this message
Elaine (elaine-mun) said :
#2

Hi Jan,

Thank you for your quick respond. Sorry for my unclear description.

I used

 VTKRecorder(fileName=filepath+'_vtk', recorders=['all'], iterPeriod=iterPeriod),
in my phython scripts. Then I got vtu files.

I opened those vtu files in Paraview. In Paraview, if I chose the facets(facets are moving towards to sphere particles in simulation), under the 'properties', there is a list for color, stressvec, stresslen,matericalId, mask options. if I chose the sphere particles, under their 'properties', there is a list for radii, id, mask,linVecVec .... options. then if 'save data' for sphere particles, I can get data in the list (such as radii, id, and linVelVec).

But I want to get data about forces(Fx,Fy,Fz) and moments acting on moving facets. and I want to get forces and moments acting on some specified particles. What should I do for this?

Thanks a lot!

Revision history for this message
Jan Stránský (honzik) said :
#3

Hi Elaine,

it seems that what you require is not implemented. Either you can wait for
somebody to do the implementation (I would do it if nobody apply for some
days/weeks :-) or you can try to implement it yourself.. How urgent it is
for you?
cheers
Jan

2014-07-30 20:26 GMT+02:00 Elaine <email address hidden>:

> Question #252413 on Yade changed:
> https://answers.launchpad.net/yade/+question/252413
>
> Status: Answered => Open
>
> Elaine is still having a problem:
> Hi Jan,
>
> Thank you for your quick respond. Sorry for my unclear description.
>
> I used
>
> VTKRecorder(fileName=filepath+'_vtk', recorders=['all'],
> iterPeriod=iterPeriod),
> in my phython scripts. Then I got vtu files.
>
> I opened those vtu files in Paraview. In Paraview, if I chose the
> facets(facets are moving towards to sphere particles in simulation),
> under the 'properties', there is a list for color, stressvec,
> stresslen,matericalId, mask options. if I chose the sphere particles,
> under their 'properties', there is a list for radii, id, mask,linVecVec
> .... options. then if 'save data' for sphere particles, I can get data
> in the list (such as radii, id, and linVelVec).
>
> But I want to get data about forces(Fx,Fy,Fz) and moments acting on
> moving facets. and I want to get forces and moments acting on some
> specified particles. What should I do for this?
>
> Thanks a lot!
>
> --
> 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 : <email address hidden>
> Unsubscribe : https://launchpad.net/~yade-users
> More help : https://help.launchpad.net/ListHelp
>

Revision history for this message
Elaine (elaine-mun) said :
#4

Hi Jan,

Thank you very much for your answer. this problem is not very urgent for me.

I have no idea how to do the implementation by myself :(

If you have time later(and nobody replies at that time ), It is so nice for you to help me do the implementation.

Thanks again.

Elaine

Revision history for this message
Jan Stránský (honzik) said :
#5

Hi Elaine,
exporting of forces and torques should be available in the newest trunk
version. Could you please try it and confirm if it works or not?
cheers
Jan

2014-08-04 16:17 GMT+02:00 Elaine <email address hidden>:

> Question #252413 on Yade changed:
> https://answers.launchpad.net/yade/+question/252413
>
> Status: Answered => Open
>
> Elaine is still having a problem:
> Hi Jan,
>
> Thank you very much for your answer. this problem is not very urgent for
> me.
>
> I have no idea how to do the implementation by myself :(
>
> If you have time later(and nobody replies at that time ), It is so nice
> for you to help me do the implementation.
>
> Thanks again.
>
> Elaine
>
> --
> 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 : <email address hidden>
> Unsubscribe : https://launchpad.net/~yade-users
> More help : https://help.launchpad.net/ListHelp
>

Revision history for this message
Elaine (elaine-mun) said :
#6

Hi Jan,

Thank you for your reply.

the newest trunk version is the lasted Yade(Yadedaily) or the Woo? Where I can get this trunk version? Sorry for asking this silly question.

During those days, I tried to calculate force outside Yade, I used Force = Stress*Area.

Regards,
Elaine

Revision history for this message
Jan Stránský (honzik) said :
#7

Hi Elaine,

for the newest trunk version is the newest Yade version, Woo is a different
software :-) You can download sources and compile from sources, see [1]. Or
you can use yadedaily, but I don't use it and can't tell you if it works or
not..

cheers
Jan

PS: during the development of large projects, it is usual to have different
branches (main branch and testing branches for new features for instance).
The main branch is usually called trunk, like in Yade.

[1] https://yade-dem.org/doc/installation.html

2014-08-08 14:02 GMT+02:00 Elaine <email address hidden>:

> Question #252413 on Yade changed:
> https://answers.launchpad.net/yade/+question/252413
>
> Status: Answered => Open
>
> Elaine is still having a problem:
> Hi Jan,
>
> Thank you for your reply.
>
> the newest trunk version is the lasted Yade(Yadedaily) or the Woo?
> Where I can get this trunk version? Sorry for asking this silly
> question.
>
> During those days, I tried to calculate force outside Yade, I used Force
> = Stress*Area.
>
> Regards,
> Elaine
>
> --
> 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 : <email address hidden>
> Unsubscribe : https://launchpad.net/~yade-users
> More help : https://help.launchpad.net/ListHelp
>

Revision history for this message
Elaine (elaine-mun) said :
#8

Hi Jan,

Thank you for patient explanations. I understand now.

Sorry again for my ignorance about Yade.

I will try and let you know.

Regards,
Elaine

Can you help with this problem?

Provide an answer of your own, or ask Elaine for more information if necessary.

To post a message you must log in.