Re: [Yade-users] [Question #404455]: damping in ViscElMat

2016-12-16 Thread feda
Question #404455 on Yade changed:
https://answers.launchpad.net/yade/+question/404455

Status: Answered => Solved

feda confirmed that the question is solved:
Thanks Jérôme Duriez, 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 #404455]: damping in ViscElMat

2016-12-16 Thread feda
Question #404455 on Yade changed:
https://answers.launchpad.net/yade/+question/404455

feda posted a new comment:
Thank you for your suggestions and comments:
-using the restitution coefficient instead of cn and cs doesn't change the 
result.
-decreasing the maximum strain rate of periodic cell doesn't change enough the 
result.

Using global damping instead of viscous damping seems the better
solution to reach the target porosity in my case!

-- 
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 #406774]: Translation engine can not work

2016-12-16 Thread Tina Asia
Question #406774 on Yade changed:
https://answers.launchpad.net/yade/+question/406774

Status: Answered => Open

Tina Asia is still having a problem:
Hello,
Thanks Jerome and Jan, my code got no error but the upper platen still fixed. 
According to Jan's advice, my code got an error and the particle assembly 
disintegrated, sub-particles flew here and there. The error is here:
huihuang@huihuang-Aspire-F5-572G:~$ cd Desktop/single_particle
huihuang@huihuang-Aspire-F5-572G:~/Desktop/single_particle$ yade BPM.py
Welcome to Yade 1.20.0 
TCP python prompt on localhost:9000, auth cookie `skcsyd'
XMLRPC info provider on http://localhost:21000
Running script BPM.py
No suitable packing in database found, running PERIODIC compression
/usr/lib/x86_64-linux-gnu/yade/py/yade/pack.py:296: FutureWarning: The default 
behavior will change; specify returnSpherePack=True for the new behavior, and 
False to get rid of this warning (your code will break in the future, however). 
The returned SpherePack object can be added to the simulation using 
SpherePack.toSimulation()
  warnings.warn('The default behavior will change; specify 
returnSpherePack=True for the new behavior, and False to get rid of this 
warning (your code will break in the future, however). The returned SpherePack 
object can be added to the simulation using 
SpherePack.toSimulation()',category=FutureWarning)
Traceback (most recent call last):
  File "/usr/bin/yade", line 182, in runScript
execfile(script,globals())
  File "BPM.py", line 26, in 

TranslationEngine(translationAxis=(0,0,-1),velocity=0.09,ids=[upper_platen],label='trans'),
TypeError: No registered converter was able to produce a C++ rvalue of type int 
from this Python object of type list
[[ ^L clears screen, ^U kills line. F12 controller, F11 3d view (use h-key for 
showing help), F10 both, F9 generator, F8 plot. ]]

Yade [1]:

-- 
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 #406774]: Translation engine can not work

2016-12-16 Thread Jan Stránský
Question #406774 on Yade changed:
https://answers.launchpad.net/yade/+question/406774

Status: Open => Answered

Jan Stránský proposed the following answer:
Hello,
I am sorry, I thought that upper_platten is one body, then I realized that
it is more bodies, so the syntax is ok.
Could you please also provide the .mesh files? without them is it is not
possible to test the script..
One more question, what exactly does "can not move" mean? It does not move
visually? you checked positions of the particles?..
Thanks for more info
Jan

-- 
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 #406791]: error in making the .gts file from .stl file

2016-12-16 Thread alma
Question #406791 on Yade changed:
https://answers.launchpad.net/yade/+question/406791

alma posted a new comment:
Hi Jan,
I've attached my files for you to this address:
https://www.dropbox.com/s/jp0ht1om1ttv64x/test.rar?dl=0
the systems that I sue are "Yade 1.07.0" and "Yade 1.20.0-39-53c22a7~trusty". 
unfortunately I couldnt find the version of stl2gts.
Thanks for attention,
Alma

-- 
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 #406814]: kinetic energy in Yade

2016-12-16 Thread jiaying
New question #406814 on Yade:
https://answers.launchpad.net/yade/+question/406814

Hi everyone,

I am now trying to do something with the kinetic energy. 

What I want to know is the difference between the O.energy['kinetic'] and 
utils.kineticEnergy()
Are they are same?

I just found there is a slight difference for the values, e.g. 
0.039672285932676854 and 0.03967240895274994. Does the computation have 
differences?

Thank you very much. 

Jiaying

-- 
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 #406814]: kinetic energy in Yade

2016-12-16 Thread Jan Stránský
Question #406814 on Yade changed:
https://answers.launchpad.net/yade/+question/406814

Status: Open => Answered

Jan Stránský proposed the following answer:
Hello,
you can check the source code of kineticEnergy() [1] and as
O.energy['kinetic'] [2] is couputed.
The formulas used is the same (after a quick look, you may do more detailed
investigation if you are interested), however the computation itself **IS**
different, so the finite precision of computation and different order of
operations may cause different results [3].
How many particles do you have for this computation?

cheers
Jan

[1] https://github.com/yade/trunk/blob/master/pkg/dem/Shop_01.cpp#L180
[2]
https://github.com/yade/trunk/blob/master/pkg/dem/NewtonIntegrator.cpp#L40
[3] https://yade-dem.org/doc/formulation.html#result-indeterminism

-- 
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 #406775]: about the local variable

2016-12-16 Thread xjin
Question #406775 on Yade changed:
https://answers.launchpad.net/yade/+question/406775

Status: Answered => Solved

xjin confirmed that the question is solved:
Thanks Jérôme Duriez, 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