Re: [Yade-users] [Question #292014]: Error opening the inspector on Ubuntu 15.10 using yade 1.20.0

2016-04-22 Thread Anton Gladky
Question #292014 on Yade changed:
https://answers.launchpad.net/yade/+question/292014

Anton Gladky proposed the following answer:
Hi,

.pyc is the byte code, which is not supposed to be opened
by human. I will try to install 15.10 on virtual machine and
try to reproduce the problem. But 15.10 is not the best from
"Yade point of view": it was released, when packages in
Debian were in a very unstable state.

Regards


Anton

2016-04-23 1:37 GMT+02:00 Jonathan Pergoli <
question292...@answers.launchpad.net>:

> Question #292014 on Yade changed:
> https://answers.launchpad.net/yade/+question/292014
>
> Jonathan Pergoli posted a new comment:
> Hi Jerome!
>
> I used gedit but it is not capable of reading the content. I didn't
> consider Microsoft Word :D.
> I'll try the other programs.
>
> Thanks
>
> --
> 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
>

-- 
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 #292015]: Controller on yade 1.07.0

2016-04-22 Thread Jonathan Pergoli
Question #292015 on Yade changed:
https://answers.launchpad.net/yade/+question/292015

Jonathan Pergoli posted a new comment:
I have to underline that I'm using yade in batch mode.

-- 
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 #292015]: Controller on yade 1.07.0

2016-04-22 Thread Jonathan Pergoli
Question #292015 on Yade changed:
https://answers.launchpad.net/yade/+question/292015

Jonathan Pergoli posted a new comment:
Hello,

I have only clear screen, kills line and F8 plot. I tried to import qt
from yade but it doesn't work.

-- 
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 #292014]: Error opening the inspector on Ubuntu 15.10 using yade 1.20.0

2016-04-22 Thread Jonathan Pergoli
Question #292014 on Yade changed:
https://answers.launchpad.net/yade/+question/292014

Jonathan Pergoli posted a new comment:
Hi Jerome!

I used gedit but it is not capable of reading the content. I didn't consider 
Microsoft Word :D.
I'll try the other programs.

Thanks

-- 
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 #292014]: Error opening the inspector on Ubuntu 15.10 using yade 1.20.0

2016-04-22 Thread Jérôme Duriez
Question #292014 on Yade changed:
https://answers.launchpad.net/yade/+question/292014

Status: Open => Answered

Jérôme Duriez proposed the following answer:
Did you try to open this __init__.pyc with your favorite text editor ?
(something like gedit, Kate, nano, emacs, and so on... not Microsoft
Word.. ;-) )

-- 
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 #292015]: Controller on yade 1.07.0

2016-04-22 Thread Jérôme Duriez
Question #292015 on Yade changed:
https://answers.launchpad.net/yade/+question/292015

Status: Open => Answered

Jérôme Duriez proposed the following answer:
Hello,

Definitively, yade-1.07.0 should have a controller (there has been one for 9 
years, as far as I know...). Don't you have such kind of message at Yade start:
[[ ^L clears screen, ^U kills line. F12 controller, F11 3d view (use h-key for 
showing help), F10 both, F9 generator, F8 plot. ]] ?
Some of the keyboard shortcuts might be unefficient (F11 just switches to full 
screen here) but you should still be able to let appear what you want.

Or simply
yade.qt.Controller()


-- 
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 #292015]: Controller on yade 1.07.0

2016-04-22 Thread Jérôme Duriez
Question #292015 on Yade changed:
https://answers.launchpad.net/yade/+question/292015

Jérôme Duriez posted a new comment:
As for the inspector, I'm unsure when this feature has been introduced

-- 
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 #292015]: Controller on yade 1.07.0

2016-04-22 Thread Jonathan Pergoli
New question #292015 on Yade:
https://answers.launchpad.net/yade/+question/292015

Hi!

Is there a controller on yade-1.07.0 like in yade-1.20.0? If yes, how to open 
it and the inspector? I have read the documentation but I cannot find any 
command.

Thank you.

P.S. 
I'm new in yade so, sorry for my several questions.

-- 
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 #292014]: Error opening the inspector on Ubuntu 15.10 using yade 1.20.0

2016-04-22 Thread Jonathan Pergoli
New question #292014 on Yade:
https://answers.launchpad.net/yade/+question/292014

Hi!

I was trying to open the inspector and yade gives me back the same error as in 
the question #274036 with a difference. The file to be modified is __init__.pyc 
instead of __init.py, and I don't know how to open a file.pyc so I can't 
replace grid.SetMargin(0) with grid.setContentsMargin(0,0,0,0).

Thank you.

-- 
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 #291326]: Packing and predicate dimension

2016-04-22 Thread Jan Stránský
Question #291326 on Yade changed:
https://answers.launchpad.net/yade/+question/291326

Status: Open => Answered

Jan Stránský proposed the following answer:
Hi Luis,

I used slightly modified script from #2. The result is 57%.
cheers
Jan

picture result:
https://www.dropbox.com/s/93j2bfhujhcimd7/Screenshot%20from%202016-04-22%2022%3A46%3A19.png?dl=0

script:
#
#!/usr/bin/python
# -*- coding: utf-8 -*-
#==
from yade import pack
import gts
from yade import utils
surf=gts.read(open('tetrahedron.gts'))
pred=pack.inGtsSurface(surf,noPad=True)
vol = surf.volume()
#==
# Spheres
O.materials.append(JCFpmMat(type=1,young=1e8,poisson=0.3,frictionAngle=radians(30),density=3000,tensileStrength=1e6,cohesion=1e6,jointNormalStiffness=1e7,jointShearStiffness=1e7,jointCohesion=1e6,jointFrictionAngle=radians(20),jointDilationAngle=0.0,label='sphereso'))
#==
O.bodies.append(pack.gtsSurface2Facets(surf,color=(0,0,1)))
sp = pack.randomDensePack(pred,radius=0.08,rRelFuzz=0.01, material =
'sphereo',useOBB=False,returnSpherePack=True,spheresInCell=300)
sp.toSimulation(color=(0.9,0.8,0.6))
#==
O.engines=[
ForceResetter(),
InsertionSortCollider([Bo1_Sphere_Aabb(),Bo1_Facet_Aabb()]),
InteractionLoop(
[Ig2_Sphere_Sphere_ScGeom(),Ig2_Facet_Sphere_ScGeom()],
[Ip2_JCFpmMat_JCFpmMat_JCFpmPhys(cohesiveTresholdIteration=1)],
[Law2_ScGeom_JCFpmPhys_JointedCohesiveFrictionalPM(smoothJoint=False)]
),
GlobalStiffnessTimeStepper(active=1,timeStepUpdateInterval=100,timestepSafetyCoefficient=0.2),
NewtonIntegrator(damping=0.9,gravity=[0,0,-9.81]),
]
ve=utils.getSpheresVolume()
print vol,ve,ve/vol
#===
from yade import qt
qt.View()
qt.Controller()
#

tetrahedron.gts:
4 6 4
-1.63299 -0.942809 -0.67
0 1.88562 -0.67
1.63299 -0.942809 -0.67
0 0 2
2 1
3 2
2 4
1 3
4 1
3 4
1 2 4
5 3 1
3 6 2
6 5 4


2016-04-21 19:13 GMT+02:00 Luis Barbosa <
question291...@answers.launchpad.net>:

> Question #291326 on Yade changed:
> https://answers.launchpad.net/yade/+question/291326
>
> Status: Answered => Open
>
> Luis Barbosa is still having a problem:
> Hi Jan,
> I didn't know if I got the idea,
> but my volume of spheres is near 39%, and again, is not dense.
> Could you share what you have done?
>
> Here is what I'm using to calc volume of sphere,creating Gts and dense
> pack, respectively:
>
> utils.getSpheresVolume()
>
> pred=pack.inGtsSurface(surf,noPad=True)
>
> pack.randomDensePack(pred,spheresInCell=500,radius=0.08,rRelFuzz=0.01,
> material = 'sphereo',useOBB=False,returnSpherePack=True)
>
> Thanks
> Luis
>
> --
> 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
>

-- 
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 #291781]: [Triaxial test]:unbalanced force & axial stress

2016-04-22 Thread mohsen
Question #291781 on Yade changed:
https://answers.launchpad.net/yade/+question/291781

Status: Open => Answered

mohsen proposed the following answer:
In the name of god
Hi Geo


> 1)When the confining pressure 10KPa is added, the particles in the packing 
> decrease. Maybe the packing has exploded?
This could be True. by increasing E, stiffness would be larger and leads to 
lower critical time step (see [1] equation 13). and because of this by 
decreasing dt the simulation continues! 

>The specimen is compacted and the particles doesn't disappear. It is
defective that the unbalanced force can't <0.01, >increasing the damping
is no use. I increase the max unbalanced force to 0.03, the script can
just continue. But when I >load the deviatoric stress by controlling
strain rate=-0.02, the axial stress is decreasing gradually from 0.8MPa
even to >0.4MPa.(The confining pressure is 0.8MPa.) And when deviatoric
loading, I can see the obviously moving of the particles.

That is right. when you increase stability threshold (from 0.01 to 0.03), in 
the beginning of loading phase, there would be a decrease in dedicator stress. 
if you wait after several iterations (depending on your simulation may be from 
order of 1000) again dedicator stress increases. Therefore:
1- try do your simulation with max unbalanced force=0.01. may this takes along 
to get 0.01but finally it would reach it
2-  max unbalanced force depends on your material, number and shape of 
particles, ... .

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

-- 
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 #290372]: Young modulus computation

2016-04-22 Thread Anton Gladky
Question #290372 on Yade changed:
https://answers.launchpad.net/yade/+question/290372

Status: Open => Answered

Anton Gladky proposed the following answer:
Hi,

this yade vesion is relatively old. You should update and get
yadedaily_1.20.0-119-4269284

Best regards

Anton

-- 
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 #290372]: Young modulus computation

2016-04-22 Thread mohsen
Question #290372 on Yade changed:
https://answers.launchpad.net/yade/+question/290372

Status: Answered => Open

mohsen is still having a problem:
Hi Jan
I am seeking your help!!

-- 
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 #291538]: triaxial test:Law2_ScGeom_FrictPhys_CundallStrack

2016-04-22 Thread hjz
Question #291538 on Yade changed:
https://answers.launchpad.net/yade/+question/291538

hjz posted a new comment:
Bruno, 
  I'm very sorry. I will be careful next time.

hjz

-- 
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 #291725]: Yade undefined symbol

2016-04-22 Thread Anton Gladky
Question #291725 on Yade changed:
https://answers.launchpad.net/yade/+question/291725

Status: Open => Answered

Anton Gladky proposed the following answer:
Hi,

that is strange error. Please try to compile Yade without CGAL and check,
whether it works. You need to pass -DENABLE_CGAL=0 into the cmake
option.

Also it is a very bad idea to edit makefiles, generated by cmake. Please use
options in cmake configuration line.

Regards


Anton

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