get newtonIntegrator and unbalancedForce sources

Asked by MOUSSIER

Hello,
I have a settlement problem when I apply gravity to particles. While supporting his own weight, the ground is settling 10cm at the interaction level between two types of soil. This is illogical according to the thickness of the layers (above : 1meter and below : 1meter) and the parameters we set.
In order to better understand the reasons of this phenomenon, anyone knows where could I get the NewtonIntegrator and UnbalancedForce codes?
And of course, if anyone has already met this kind of problem, any advice is welcomed!
Thanks for your help
MOUSSIER Romain

Question information

Language:
English Edit question
Status:
Solved
For:
Yade Edit question
Assignee:
No assignee Edit question
Solved by:
Jérôme Duriez
Solved:
Last query:
Last reply:
Revision history for this message
Best Jérôme Duriez (jduriez) said :
#1

Hi,

NewtonIntegrator code is here: https://github.com/yade/trunk/blob/master/pkg/dem/NewtonIntegrator.hpp and there: https://github.com/yade/trunk/blob/master/pkg/dem/NewtonIntegrator.cpp

And unbalancedForce() is here: https://github.com/yade/trunk/blob/master/pkg/dem/Shop.hpp#L79 and https://github.com/yade/trunk/blob/master/pkg/dem/Shop_01.cpp#L151

Note however that these links correspond to current yade code version: "trunk". It may not correspond to your version depending how / when you installed it.

If you would like to dig in the code for your Yade-usage (which is the beauty of open source codes !), I would advice - if you did not already did it - to download the code and work locally on your PC with e.g. KDevelop. It would be very very much more convenient browsing the code this way, rather using github.com

Jerome

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

Hello,

there are several places you can find the source code. Either in your
computer if you compile from source, or on launchpad->browse the code [1]
or github [2]

NewtonIntegrator is in yade/pkg/dem/NewtonIntegrator.*pp
unbalancedForce in yade/pkg/dem/Shop.hpp and yade/pkg/dem/Shop_01.cpp

I am not sure if the source code will help you.. it seems more like some
parameters are set incorrectly.. could create a screenshot of your problem
and send a link to it? Please also provide a MWE [3]

cheers
Jan

[1] http://bazaar.launchpad.net/~yade-pkg/yade/git-trunk/files
[2] https://github.com/yade/trunk
[3] https://yade-dem.org/wiki/Howtoask

2015-07-27 16:26 GMT+02:00 MOUSSIER <email address hidden>:

> New question #269705 on Yade:
> https://answers.launchpad.net/yade/+question/269705
>
> Hello,
> I have a settlement problem when I apply gravity to particles. While
> supporting his own weight, the ground is settling 10cm at the interaction
> level between two types of soil. This is illogical according to the
> thickness of the layers (above : 1meter and below : 1meter) and the
> parameters we set.
> In order to better understand the reasons of this phenomenon, anyone knows
> where could I get the NewtonIntegrator and UnbalancedForce codes?
> And of course, if anyone has already met this kind of problem, any advice
> is welcomed!
> Thanks for your help
> MOUSSIER Romain
>
> --
> 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
MOUSSIER (romain-moussier-ext) said :
#3

Thanks for your advice Jerôme.
I download Yade few weeks ago so I suppose the github versions are ok for me.
I will dig into it to see the influence of each parameter
Romain

Revision history for this message
MOUSSIER (romain-moussier-ext) said :
#4

Thanks Jan.
Yes you are right it may come from the parameters. That is why I am changing them to see their influence. I will try to resolve this settlement problem by myself otherwise I will come back to you :)
Romain