Re: [Yade-dev] Some other clump issues

2013-08-21 Thread Christian Jakob

Hi Klaus,

Zitat von Klaus Thoeni klaus.tho...@gmail.com:


Hi guys

I really like the idea of having clump properties updated, thanks Christian.
However, I found a little problem: line 121-122 in Clump.cpp. Clumps with no
physical overlap are detected with intersecting=true, i.e. try this and you
have to wait quite a while:

O.bodies.appendClumped(regularOrtho(inAlignedBox((0.,0.,0.),
(2,2,2)),radius=0.1,gap=0.0))

There should be no overlap but it seems that updateProperties is called.

I guess it is because of the numerical rounding error in line 121. The check
in line 122 un0 should probably be changed to something like
un-0.001*min(r1,r2) with a tolerance. What do you think?


If you think it can be improved, please improve it ...



Secondly, I think we should leave it up to the user to define if he wants to
update the properties. It makes sense to let the user choose the divisor for
the regular grid and maybe divisor=0 could mean no update.


ok, good idea.



Any additional thought on this?

Klaus

P.S.: Thanks Bruno for starting the clump discussion ;-)


___
Mailing list: https://launchpad.net/~yade-dev
Post to : yade-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-dev
More help   : https://help.launchpad.net/ListHelp






___
Mailing list: https://launchpad.net/~yade-dev
Post to : yade-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-dev
More help   : https://help.launchpad.net/ListHelp


[Yade-dev] buildbot failure in Yade on yade-full

2013-08-21 Thread buildbot
The Buildbot has detected a failed build on builder yade-full while building 
yade.
Full details are available at:
 http://yade-dem.org/buildbot/builders/yade-full/builds/2101

Buildbot URL: http://yade-dem.org/buildbot/

Buildslave for this Build: r0calcul5

Build Reason: scheduler
Build Source Stamp: [branch master] e7106158bd193e77ee1257e73c2cd9c2869ea3d3
Blamelist: Christian Jakob ja...@ifgt.tu-freiberg.de

BUILD FAILED: failed test

sincerely,
 -The Buildbot



___
Mailing list: https://launchpad.net/~yade-dev
Post to : yade-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Yade-dev] Some other clump issues

2013-08-21 Thread Bruno Chareyre



 There should be no overlap but it seems that updateProperties is called.

 I guess it is because of the numerical rounding error in line 121.
 The check
 in line 122 un0 should probably be changed to something like
 un-0.001*min(r1,r2) with a tolerance. What do you think?

 If you think it can be improved, please improve it ...

I agree with both of you. :)


 Secondly, I think we should leave it up to the user to define if he
 wants to
 update the properties. It makes sense to let the user choose the
 divisor for
 the regular grid and maybe divisor=0 could mean no update.

 ok, good idea.
Agreed.

Bruno

___
Mailing list: https://launchpad.net/~yade-dev
Post to : yade-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-dev
More help   : https://help.launchpad.net/ListHelp


[Yade-dev] buildbot failure in Yade on yade-full

2013-08-21 Thread buildbot
The Buildbot has detected a failed build on builder yade-full while building 
yade.
Full details are available at:
 http://yade-dem.org/buildbot/builders/yade-full/builds/2102

Buildbot URL: http://yade-dem.org/buildbot/

Buildslave for this Build: r0calcul5

Build Reason: scheduler
Build Source Stamp: [branch master] e7106158bd193e77ee1257e73c2cd9c2869ea3d3
Blamelist: Bruno Chareyre bruno.chare...@hmg.inpg.fr,Christian Jakob 
ja...@ifgt.tu-freiberg.de

BUILD FAILED: failed test

sincerely,
 -The Buildbot



___
Mailing list: https://launchpad.net/~yade-dev
Post to : yade-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Yade-dev] Some update in example scripts and yade features

2013-08-21 Thread Bruno Chareyre
Hi Klaus, and all  (notes for François and Christian below)
 I just randomly tried a few example scripts and some needed an update. There 
 is still more to update:
 - I think we should change all randomDense-packs to returnSpherePack=True in 
 order to avoid the warning and troubles in the future especially for new 
 users. If you agree I am happy to change it.
Since I don't know how randomDense works, I kindof agree if nobody
object. You are probably right!

 - some scripts are not working, I didn't try all of them but for example 
 example/grids/Simple_Grid_Falling.py is not working.
François, could you please have a look?

 - I think it would be nice to group the scripts according to features
Yes. This is more or less the idea already, but there is always place
for improvement on this aspect.
The folders gts-horse, clumps, FluidCouplingPFV,
jointedCohesiveFrictionalPM, ... are along this line but they don't all
fit in this framework.

 @Bruno: As you mentioned to me I think it would be good to introduce a 
 section 
 Yade features on yade's main page. An example of subsections could be:
 - periodic boundary
 - clumps
 - material processing
 - granular flow
 - grids and meshes
 - rock joints
 - fluid-solid coupling
 - general features
 - ... 
Yes, though granular flow for instance is an application more than a
feature.
If we stick to features, I see at least (I'm sure I forget some)
A- GUI and 3D display
A- periodic BC
A/B?- clumps
B- grids and meshes
A/B?- rock joints
B- fluid-solid couplings (including capillary model and DEM-PFV model)
A- micro-stress/micro-strain analysis (or a more general
post-processing feature)

There are two kind of items here.
(A) Some of them can be just links to existing sections of the doc
(thanks to Vaclav for the most part): periodic BC [1], 
micro-stress/micro-strain [2], 3D display  video  [3], clumps [4]). It
makes the feature more visible without big effort.
(B) Others really need to add content, with possibly dedicated *.rst
files. This is the case of the DEM-PFV coupling. And I plan to do it.

For (A), features/subsections can be just a title linking to the
corresponding section. It makes the feature more visible without big effort.
For (B) there is some work to do. I'm planning this already for the PFV
model. For other things, the question is who can write something. For
grids and meshes, you and François Kneib may contribute I think.
For Clumps, it seems the recent improvements by Christian are not
mentioned in [4]. Could you please have a look Christian?

There are also awesome features that I don't know how to sort (e.g.
yade.utils.plotNumInteractionsHistogram). This is maybe why you suggest
general features, but then where to point to? It is spread everywhere
in the documentation.

 The subsections could then include videos and screenshots (maybe we would 
 need 
 to at one wiki page for each feature). Examples could then be organised 
 accordingly. 

 Any comments?
Yes, there are a few pages like this in the wiki [5,6] but the more we
have in the main website the better, I think. At least we should point
to [5,6] in the home page.
And any further organization of the examples will be welcome, of course. :)

Cheers.

Bruno


[1] https://yade-dem.org/doc/formulation.html#periodic-boundary-conditions
[2]
https://yade-dem.org/doc/user.html#micro-stress-and-micro-strain-using-tesselationwrapper
[3] https://yade-dem.org/doc/user.html#d-rendering-videos
[4] https://www.yade-dem.org/doc/user.html#clumping-particles-together
[5] https://www.yade-dem.org/wiki/CapillaryTriaxialTest
[6] https://www.yade-dem.org/wiki/Triangulation


___
Mailing list: https://launchpad.net/~yade-dev
Post to : yade-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-dev
More help   : https://help.launchpad.net/ListHelp


[Yade-dev] Yade 2.00?

2013-08-21 Thread Bruno Chareyre
Hi Anton,

Do you think it is now possible to package yade properly including the
FlowEngine code, and to distribute binary versions of it?
Since it significantly increases the dependencies, do you think there
could be two packages, yade and yade-fluid (like we had yade and
yade-debug before)?
Would it be worth a yade 2.00? :)

Bruno

-- 
___
Bruno Chareyre
Associate Professor
ENSE³ - Grenoble INP
Lab. 3SR
BP 53
38041 Grenoble cedex 9
Tél : +33 4 56 52 86 21
Fax : +33 4 76 82 70 43



___
Mailing list: https://launchpad.net/~yade-dev
Post to : yade-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Yade-dev] Yade 2.00?

2013-08-21 Thread Anton Gladky
Hi Bruno, just wanted to write about it :)

I am working on packages with flow-engine now. I should be ready
soon. We will probably need to remove Lucid-packages. The distribution
is already pretty old and there are some problems with dependencies.

Packages for other Ubuntu-distribution will probably work, but we need also
to test them. I will let you know. Could you, please, add one simple test or
check-script to test FlowEngine during build?

We need also to have a look at existing bugs and check, what
can we fix/close.

It seems, Klaus is working on examples. We probably need to wait,
when he finishes. Also it would be good to test all existing examples.
At least to look, whether they start.

We still have problems with test-builds. But, it seems, there is a problem
with buildbot, not with Yade itself.

Dem3Dof engine can be removed now. Or we have some dependencies
on it?

So, I think we can release a new Yade version soon, when we clarify
all these points. There is not much actually. The next Yade version,
from my point of view, can be just 1.0. But if you think 2.0 will be better,
I am ok with that. More opinions?

I do not have much time now to contribute to Yade a lot, sorry. But
I will try as best as I can.

Thanks,

Anton


2013/8/21 Bruno Chareyre bruno.chare...@hmg.inpg.fr:
 Hi Anton,

 Do you think it is now possible to package yade properly including the
 FlowEngine code, and to distribute binary versions of it?
 Since it significantly increases the dependencies, do you think there
 could be two packages, yade and yade-fluid (like we had yade and
 yade-debug before)?
 Would it be worth a yade 2.00? :)

 Bruno

 --
 ___
 Bruno Chareyre
 Associate Professor
 ENSE³ - Grenoble INP
 Lab. 3SR
 BP 53
 38041 Grenoble cedex 9
 Tél : +33 4 56 52 86 21
 Fax : +33 4 76 82 70 43
 


 ___
 Mailing list: https://launchpad.net/~yade-dev
 Post to : yade-dev@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~yade-dev
 More help   : https://help.launchpad.net/ListHelp

___
Mailing list: https://launchpad.net/~yade-dev
Post to : yade-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-dev
More help   : https://help.launchpad.net/ListHelp


[Yade-dev] buildbot failure in Yade on yade-clang

2013-08-21 Thread buildbot
The Buildbot has detected a failed build on builder yade-clang while building 
Yade.
Full details are available at:
 http://yade-dem.org/buildbot/builders/yade-clang/builds/172

Buildbot URL: http://yade-dem.org/buildbot/

Buildslave for this Build: r0calcul5

Build Reason: The Nightly scheduler named 'nightly' triggered this build
Build Source Stamp: HEAD
Blamelist: 

BUILD FAILED: failed test

sincerely,
 -The Buildbot



___
Mailing list: https://launchpad.net/~yade-dev
Post to : yade-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-dev
More help   : https://help.launchpad.net/ListHelp


[Yade-dev] buildbot failure in Yade on yade-full

2013-08-21 Thread buildbot
The Buildbot has detected a failed build on builder yade-full while building 
Yade.
Full details are available at:
 http://yade-dem.org/buildbot/builders/yade-full/builds/2103

Buildbot URL: http://yade-dem.org/buildbot/

Buildslave for this Build: r0calcul5

Build Reason: The Nightly scheduler named 'nightly' triggered this build
Build Source Stamp: HEAD
Blamelist: 

BUILD FAILED: failed test

sincerely,
 -The Buildbot



___
Mailing list: https://launchpad.net/~yade-dev
Post to : yade-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-dev
More help   : https://help.launchpad.net/ListHelp


[Yade-dev] Logging and debugging

2013-08-21 Thread Klaus Thoeni
Hi guys

log4cxx feature and yade.log module are not available any more, right? So how 
do you print your logs? I am used to use something like this in my scripts:

import yade.log
yade.log.setLevel('TheClassOfWhichLoggerYouWantToSet',yade.log.TRACE)

One can cmake with -DDEBUG=ON which should compile yade in debug mode. Before 
cmake yade --debug was used to run yade in debug mode. It seems that this 
option is not valid any more. So how do you guys run debug and optimized at 
the same time? Do you define an other INSTALL_PREFIX for debug?

Thanks
Klaus

___
Mailing list: https://launchpad.net/~yade-dev
Post to : yade-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Yade-dev] Logging and debugging

2013-08-21 Thread Anton Gladky
Hi Klaus,

2013/8/22 Klaus Thoeni klaus.tho...@gmail.com

 Hi guys

 log4cxx feature and yade.log module are not available any more, right? So
 how
 do you print your logs? I am used to use something like this in my scripts:

 import yade.log
 yade.log.setLevel('TheClassOfWhichLoggerYouWantToSet',yade.log.TRACE)


setLevel does not work any more.


 One can cmake with -DDEBUG=ON which should compile yade in debug mode.
 Before
 cmake yade --debug was used to run yade in debug mode. It seems that this
 option is not valid any more. So how do you guys run debug and optimized at
 the same time? Do you define an other INSTALL_PREFIX for debug?


Yes, you should have 2 different build-places and install debug and
optimized
versions in different paths or with different suffixes.

Cheers,

Anton
___
Mailing list: https://launchpad.net/~yade-dev
Post to : yade-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-dev
More help   : https://help.launchpad.net/ListHelp