Calculation of damping energy on chosen particles of a sample

Asked by Yor1

Hello Yade users !

I try to calculate the damping energy in a shear test and tensile test.
Damping energy is computed in NewtonIntegrator :
https://github.com/yade/trunk/blob/master/pkg/dem/NewtonIntegrator.cpp#L43

In these test, I apply the boundary conditions on the particles :
For the shear test, i fix the boundary particles on ground of the sample.
For the tensile test, i apply the strain rate on the boundary particles on top and ground of the sample.
In my case, i have to calculate the damping energy in the particles which are not the boundary particles.
So the question : Is it possible to calculate the damping energy on particles which I choose ?

Best regards.
Jabrane.

Question information

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

Hi Jabrane,
have a look at State.isDamped [1]
cheers
Jan

[1] https://yade-dem.org/doc/yade.wrapper.html#yade.wrapper.State.isDamped

2016-06-19 16:42 GMT+02:00 Yor1 <email address hidden>:

> New question #295464 on Yade:
> https://answers.launchpad.net/yade/+question/295464
>
> Hello Yade users !
>
> I try to calculate the damping energy in a shear test and tensile test.
> Damping energy is computed in NewtonIntegrator :
> https://github.com/yade/trunk/blob/master/pkg/dem/NewtonIntegrator.cpp#L43
>
> In these test, I apply the boundary conditions on the particles :
> For the shear test, i fix the boundary particles on ground of the sample.
> For the tensile test, i apply the strain rate on the boundary particles on
> top and ground of the sample.
> In my case, i have to calculate the damping energy in the particles which
> are not the boundary particles.
> So the question : Is it possible to calculate the damping energy on
> particles which I choose ?
>
> Best regards.
> Jabrane.
>
>
> --
> 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 : <email address hidden>
> Unsubscribe : https://launchpad.net/~yade-users
> More help : https://help.launchpad.net/ListHelp
>

Revision history for this message
Yor1 (jabrane-hamdi) said :
#2

Hi Jan!

Thank you for the response.
I got a method to choose the particle in which I want to calculate the damping energy.
For the uniaxial test : i choose the particles which state.vel[0]!=0 and state.vel[2]!=0.
For the shear test : i choose the particle which state.vel!=(0,0,0)

Best regards.
Jabrane.