Re: [Yade-users] [Question #390174]: No to_python (by-value) converter found for C++ type: boost:: ...

2016-09-10 Thread Václav Šmilauer
Question #390174 on Yade changed: https://answers.launchpad.net/yade/+question/390174 Václav Šmilauer proposed the following answer: This is a regression inreoduced in boost 1.60 and fixed in 1.61 (https://github.com/boostorg/python/issues/56). Use <1.60 or >1.60 and the error will g

Re: [Yade-users] [Question #254339]: questions about flexible boundary in Yade

2015-07-03 Thread Václav Šmilauer
Question #254339 on Yade changed: https://answers.launchpad.net/yade/+question/254339 Václav Šmilauer proposed the following answer: Hi Fu, WooDEM (fork of yade) implements flexible membranes, as shown e.g. in https://woodem.org/cases/cyl-triax/index.html . HTH, Václav -- You received

Re: [Yade-users] [Question #266644]: creating a predicate

2015-05-27 Thread Václav Šmilauer
Question #266644 on Yade changed: https://answers.launchpad.net/yade/+question/266644 Václav Šmilauer proposed the following answer: You can also create your own predicate class in python and describe the geometry analytically. You can look in py/pack/pack.py, find class inGtsSurface_py (which

Re: [Yade-users] [Question #267106]: error when running example mill.py

2015-05-19 Thread Václav Šmilauer
Question #267106 on Yade changed: https://answers.launchpad.net/yade/+question/267106 Václav Šmilauer proposed the following answer: Hi Ralph, the forum for Woo is at http://answers.launchpad.net/woo, but never mind, let me reply here. That's an error in the script (due to a recent incompatible

Re: [Yade-users] [Question #265995]: DEM/FEM

2015-05-15 Thread Václav Šmilauer
Question #265995 on Yade changed: https://answers.launchpad.net/yade/+question/265995 Václav Šmilauer posted a new comment: Hi Gabriel, you could consider using Woo, open-source fork of Yade, which has some FE things integrated (elastic triangular and tetrahedral elements, with easy extension

Re: [Yade-users] [Question #247806]: apply rigid body rotation of a periodic cell

2014-05-12 Thread Václav Šmilauer
Question #247806 on Yade changed: https://answers.launchpad.net/yade/+question/247806 Václav Šmilauer posted a new comment: @Bruno: thanks for the spin info. The rotation I meant is about rotating free-standing spheres with no forces applied, like this: http://youtu.be/bzDo4aHIYPE . When

Re: [Yade-users] [Question #248093]: Is TriaxialStressController specific for boxes or could it be used for cylinders

2014-05-05 Thread Václav Šmilauer
Question #248093 on Yade changed: https://answers.launchpad.net/yade/+question/248093 Václav Šmilauer proposed the following answer: Hi yogesh, if you don't insist on Yade, you can check out Woo cylindrical triaxial test (with membrane boundary): http://woodem.eu/doc/woo.pre.html#woo-pre-cyltriax

Re: [Yade-users] [Question #247806]: apply rigid body rotation of a periodic cell

2014-04-30 Thread Václav Šmilauer
Question #247806 on Yade changed: https://answers.launchpad.net/yade/+question/247806 Václav Šmilauer proposed the following answer: Hi guys, for the rotation of particles with PBC, I've done the homework for you: http://woodem.eu/doc/theory/leapfrog.html#motion-in-uniformly- deforming-space

Re: [Yade-users] [Question #247689]: Cundall Strack Vs Mindlin law

2014-04-27 Thread Václav Šmilauer
Question #247689 on Yade changed: https://answers.launchpad.net/yade/+question/247689 Status: Open = Answered Václav Šmilauer proposed the following answer: Hi Sina, if you need to study dynamic behavior, do not EVER use the non- viscous (a.k.a. Cundall numerical) damping - it is nonphysical

Re: [Yade-users] [Question #246875]: PSD task in YADE

2014-04-27 Thread Václav Šmilauer
Question #246875 on Yade changed: https://answers.launchpad.net/yade/+question/246875 Václav Šmilauer posted a new comment: Hi, you can also look at http://woodem.eu, its PSD generators are much more flexible (including generating clumps and non-spherical particles from PSD - http

Re: [Yade-users] [Question #246489]: Parallel computation

2014-04-08 Thread Václav Šmilauer
Question #246489 on Yade changed: https://answers.launchpad.net/yade/+question/246489 Václav Šmilauer posted a new comment: Hi behzad, you've hyperthreading turned on in your CPU (/proc/cpuinfo shows 8 CPUs but cpu cores: 4. That will make paralellization rather inefficient. I suggest you disable

Re: [Yade-users] [Question #243909]: Representing beams, wires, grids, with connected cylinders

2014-02-23 Thread Václav Šmilauer
Question #243909 on Yade changed: https://answers.launchpad.net/yade/+question/243909 Václav Šmilauer posted a new comment: Hi David, just a comment: you may have a look at membrane elements in Woo, those could be perhaps integrated into Yade -- http://woodem.eu/doc/theory/membrane-element.html

Re: [Yade-users] [Question #243689]: material damping

2014-02-23 Thread Václav Šmilauer
Question #243689 on Yade changed: https://answers.launchpad.net/yade/+question/243689 Václav Šmilauer posted a new comment: Hi Eshan, if you study dynamics, you should not use the nonviscous damping (which is the one to be used with the linear contact model) as that one is a purely numerical

Re: [Yade-users] [Question #244277]: yade-batch much slower than yade

2014-02-23 Thread Václav Šmilauer
Question #244277 on Yade changed: https://answers.launchpad.net/yade/+question/244277 Václav Šmilauer posted a new comment: Hi, seeing the discussion late: --cpu-affinity just sets the GOMP_CPU_AFFINITY (http://gcc.gnu.org/onlinedocs/libgomp/GOMP_005fCPU_005fAFFINITY.html) but I was never able

Re: [Yade-users] [Question #242575]: visualisatiion of spheres displacements by colour in 3d viewport

2014-01-24 Thread Václav Šmilauer
Question #242575 on Yade changed: https://answers.launchpad.net/yade/+question/242575 Václav Šmilauer posted a new comment: Hi, if you don't specifically need Yade for your simulation, you can grab Woo (http://www.launchpad.net/woo), which has particle coloring based on coordinates, velocities

Re: [Yade-users] [Question #240167]: FuncG in ConcretePM.cpp

2014-01-06 Thread Václav Šmilauer
Question #240167 on Yade changed: https://answers.launchpad.net/yade/+question/240167 Václav Šmilauer posted a new comment: Hey, seeing this thread late, I want to apologize for the typo in the thesis. Good job spotting that! Cheers, v. -- You received this question notification because you

[Yade-users] [Question #241563]: minieigen update (not really a question)

2014-01-02 Thread Václav Šmilauer
New question #241563 on Yade: https://answers.launchpad.net/yade/+question/241563 Hi everybody, I did a substantial update to minieigen (http://launchpad.net/minieigen) to reduce copied code and make adding new types easier - and added vectors and matrices with complex numbers as requested by

Re: [Yade-users] [Question #240872]: Cell.homoDeform PeriTriaxController.dynCell

2013-12-19 Thread Václav Šmilauer
Question #240872 on Yade changed: https://answers.launchpad.net/yade/+question/240872 Václav Šmilauer posted a new comment: Hi, there are some equations to the deforming space in http://woodem.eu/doc/theory/leapfrog.html#motion-in-uniformly-deforming- space - they are enhanced from what

Re: [Yade-users] [Question #238836]: Elastic deformable plate

2013-11-26 Thread Václav Šmilauer
Question #238836 on Yade changed: https://answers.launchpad.net/yade/+question/238836 Václav Šmilauer proposed the following answer: Hi, coming late to the thread -- there are elastic plate elements in Woo (a fork of Yade) if you want to check those out: http://woodem.eu/doc/theory/membrane

Re: [Yade-users] [Question #238270]: Different particle shapes

2013-11-05 Thread Václav Šmilauer
Question #238270 on Yade changed: https://answers.launchpad.net/yade/+question/238270 Václav Šmilauer posted a new comment: @Bruno (sorry for late answer) - their semiAxes can be arbitrary (not negative, though - to have other particles inside ;) ). -- You received this question notification

Re: [Yade-users] [Question #238270]: Different particle shapes

2013-10-29 Thread Václav Šmilauer
Question #238270 on Yade changed: https://answers.launchpad.net/yade/+question/238270 Václav Šmilauer posted a new comment: If someone wants to port the code to Yade, there are true ellipsoids in Woo (http://woodem.eu) -- http://www.youtube.com/watch?v=cBnz4el4qX8 . -- You received

Re: [Yade-users] [Question #237306]: scripts/test/shots.py not available

2013-10-16 Thread Václav Šmilauer
Question #237306 on Yade changed: https://answers.launchpad.net/yade/+question/237306 Status: Open = Answered Václav Šmilauer proposed the following answer: You can check the code assigning the coeffs at https://github.com/yade/trunk/blob/master/pkg/dem/HertzMindlin.cpp#L82. For the theory

Re: [Yade-users] [Question #235934]: Reference for coeff of restitution in Hertz-Mindlin with non-linear damping

2013-09-20 Thread Václav Šmilauer
Question #235934 on Yade changed: https://answers.launchpad.net/yade/+question/235934 Status: Answered = Solved Václav Šmilauer confirmed that the question is solved: The http://people.ds.cam.ac.uk/jae1001/CUS/research/pfizer/Antypov_Elliott_EPL_2011.pdf paper gives the same equation under

[Yade-users] [Question #235934]: Reference for coeff of restitution in Hertz-Mindlin with non-linear damping

2013-09-18 Thread Václav Šmilauer
New question #235934 on Yade: https://answers.launchpad.net/yade/+question/235934 I use the simple-scene-plot.py script to test the coefficient of restition for viscous contact laws, only replacing the two lines in the InteractionLoop with [Ip2_FrictMat_FrictMat_MindlinPhys(en=.5)],

Re: [Yade-users] [Question #234129]: plastic energy dissipation

2013-08-29 Thread Václav Šmilauer
Question #234129 on Yade changed: https://answers.launchpad.net/yade/+question/234129 Václav Šmilauer posted a new comment: You need to filter the interactions. An efficient (i.e. avoiding dynamic_casts) method is this: if (phys-getClassIndex() == CohFrictPhys::getClassIndexStatic()) I am

Re: [Yade-users] [Question #232941]: Capillary pressure between two particles

2013-07-24 Thread Václav Šmilauer
Question #232941 on Yade changed: https://answers.launchpad.net/yade/+question/232941 Václav Šmilauer posted a new comment: You can also use displacement scaling to see small displacements better - https://yade- dem.org/doc/yade.wrapper.html#yade.wrapper.OpenGLRenderer.dispScale . -- You

Re: [Yade-users] [Question #230986]: Clump::updateProperties

2013-06-21 Thread Václav Šmilauer
Question #230986 on Yade changed: https://answers.launchpad.net/yade/+question/230986 Václav Šmilauer posted a new comment: @Bruno: my bad, I did not read the code carefully, it is going through all clumped particles (I though they were handled separately, in which case x-force on one particle

Re: [Yade-users] [Question #230986]: Clump::updateProperties

2013-06-20 Thread Václav Šmilauer
Question #230986 on Yade changed: https://answers.launchpad.net/yade/+question/230986 Václav Šmilauer posted a new comment: @Crhistian: you can have a look at my implementation at http://bazaar.launchpad.net/~eudoxos/woo/trunk/view/head:/pkg/dem/Clump.cpp#L54 and tests at http

Re: [Yade-users] [Question #230986]: Clump::updateProperties

2013-06-20 Thread Václav Šmilauer
Question #230986 on Yade changed: https://answers.launchpad.net/yade/+question/230986 Václav Šmilauer posted a new comment: BTW someone can derive a formula for critical timestep of a clump? -- You received this question notification because you are a member of yade-users, which is an answer

Re: [Yade-users] [Question #230986]: Clump::updateProperties

2013-06-20 Thread Václav Šmilauer
Question #230986 on Yade changed: https://answers.launchpad.net/yade/+question/230986 Václav Šmilauer posted a new comment: For the formula for dt: I guess you can be way off. They are only approximated assuming than DOF’s are uncoupled - they are not uncoupled in clumps at all, on the contrary

Re: [Yade-users] [Question #227938]: Woo[dem]: public project anouncement

2013-05-02 Thread Václav Šmilauer
Question #227938 on Yade changed: https://answers.launchpad.net/yade/+question/227938 Václav Šmilauer posted a new comment: Thanks for encouragements. @Klaus: I think comparison will be on-par with Yade, but I did not run any performance tests. @Nguyen: I did not mean that Woo is a replacement

Re: [Yade-users] [Question #227938]: Woo[dem]: public project anouncement

2013-05-02 Thread Václav Šmilauer
Question #227938 on Yade changed: https://answers.launchpad.net/yade/+question/227938 Status: Answered = Solved Václav Šmilauer confirmed that the question is solved: @liucheng83: I have not updated the windows version in a month or so, but you should be able to go to the Preprocess tab

[Yade-users] [Question #227938]: Woo[dem]: public project anouncement

2013-05-01 Thread Václav Šmilauer
New question #227938 on Yade: https://answers.launchpad.net/yade/+question/227938 Hi everybody, I am abusing the answers interface for something which is not really a question. I would like to announce that an open-source DEM code called Woo[dem], which spinned of Yade about 2 years ago, has

Re: [Yade-users] [Question #190980]: yade-0.60 packages

2012-03-19 Thread Václav Šmilauer
Question #190980 on Yade changed: https://answers.launchpad.net/yade/+question/190980 Status: Answered = Solved Václav Šmilauer confirmed that the question is solved: Thanks Anton Gladky, that solved my question. -- You received this question notification because you are a member of yade

[Yade-users] [Question #190980]: yade-0.60 packages

2012-03-17 Thread Václav Šmilauer
New question #190980 on Yade: https://answers.launchpad.net/yade/+question/190980 I would like to install (packaged, if possible) version 0.60 of yade. Are there packages for ubuntu 12.04 (precise), or are there only the yade-stable packages, which correspond to 0.70? Cheers, vaclav -- You

Re: [Yade-users] [Question #178830]: on sample generation to model the real granular sand

2011-11-17 Thread Václav Šmilauer
Question #178830 on Yade changed: https://answers.launchpad.net/yade/+question/178830 Václav Šmilauer posted a new comment: PS https://www.yade- dem.org/doc/yade.wrapper.html?highlight=interactioncontainer#yade.wrapper.InteractionContainer.clear (there is a word about collider there, though

Re: [Yade-users] [Question #176993]: launch several simulations within one script

2011-11-01 Thread Václav Šmilauer
Question #176993 on Yade changed: https://answers.launchpad.net/yade/+question/176993 Václav Šmilauer proposed the following answer: Have a look at O.switchScene(), that's what you need. -- You received this question notification because you are a member of yade-users, which is an answer

Re: [Yade-users] [Question #142804]: PSD generation

2011-01-25 Thread Václav Šmilauer
Question #142804 on Yade changed: https://answers.launchpad.net/yade/+question/142804 Václav Šmilauer posted a new comment: (2) if you specify psdSizes (radii) and psdCumm with makeCloud, you should be able to get any psd you are able to describe by a non- decreasing piecewise-linear function

Re: [Yade-users] Periodic simulations - AttributeError: can't set attribute

2011-01-20 Thread Václav Šmilauer
If you have this problem (title) in periodic simulations after r2663, it is most probably due to the fact that that Cell::trsf and Cell::refSize are now read-only. I adapted all scripts in trunk, but your local scripts will fail. Hi Bruno, I am just working on fixing it. Thanks. Hi all

Re: [Yade-users] Periodic simulations - AttributeError: can't set attribute

2011-01-20 Thread Václav Šmilauer
Perfect! I really appreciate the extra work. Your idea that people will modify their scripts because of your failure (whatever the cause is) to read boost::python docs and write backwards-compatible code is funny. Regression tests are not for being modified so that they pass when you break the

Re: [Yade-users] Periodic simulations - AttributeError: can't set attribute

2011-01-20 Thread Václav Šmilauer
For reg. tests I have to disagree. I see nothing wrong in updating the reg test after a class interface is modified. It's not changing what is being tested. I beg to disagree. Regression tests assure that the program behavior does not change, i.e. that the same input gives the same (and

Re: [Yade-users] problem with PyRunner

2011-01-14 Thread Václav Šmilauer
[sorry, not to yade-dev :-| ] Are you saying that running yade-* scripts/test/law-test.py fails? Or do you run it in a different way (such as loading a simulation from the disk -- if you save simulation and load it, only the c++ data are preserved, but no python variables (including defined

[Yade-users] Handout for yade course

2011-01-10 Thread Václav Šmilauer
Hi everybody, I had a 3-day practically-oriented Yade training course in Dresden recently. For those of you who are interested, I put the handout online at http://beta.arcig.cz/~eudoxos/temp/dres/contents.html . Cheers, v. ___ Mailing list:

Re: [Yade-users] [Question #138108]: issues with plotting (maybe due to matplotlib)

2010-12-18 Thread Václav Šmilauer
Question #138108 on Yade changed: https://answers.launchpad.net/yade/+question/138108 Status: Open = Answered Václav Šmilauer proposed the following answer: Check the spelling, it should be yade-users/external (note the l at the end; you can copy paste into terminal). You might want

Re: [Yade-users] [Question #137230]: basic questions on law-test.py

2010-12-12 Thread Václav Šmilauer
Question #137230 on Yade changed: https://answers.launchpad.net/yade/+question/137230 Václav Šmilauer proposed the following answer: Hi Giulia, I added proper docs for LawTester, I hope they answer your questions now. I am planning to add some images as well, but that has to be postponed now

Re: [Yade-users] [Question #137230]: basic questions on law-test.py

2010-12-10 Thread Václav Šmilauer
Question #137230 on Yade changed: https://answers.launchpad.net/yade/+question/137230 Václav Šmilauer proposed the following answer: re 3.: Don't you have displIsRel==True? (https://www.yade- dem.org/sphinx/yade.wrapper.html#yade.wrapper.LawTester.displIsRel) That might explain it. -- You

Re: [Yade-users] [Question #137115]: Commit new files to trunk

2010-12-09 Thread Václav Šmilauer
Question #137115 on Yade changed: https://answers.launchpad.net/yade/+question/137115 Václav Šmilauer proposed the following answer: Hi Klaus, before commiting, run yade-* --test to make sure regression tests pass. In your case, WireMat does not save/load cleanly. postLoad function must not fail

Re: [Yade-users] [Question #137230]: basic questions on law-test.py

2010-12-09 Thread Václav Šmilauer
Question #137230 on Yade changed: https://answers.launchpad.net/yade/+question/137230 Status: Open = Answered Václav Šmilauer proposed the following answer: Hi Giulia, let me try to answer. I should say at start that it is possible that we will find some bugs in LawTester, as it was written

Re: [Yade-users] [Question #137115]: Commit new files to trunk

2010-12-09 Thread Václav Šmilauer
Question #137115 on Yade changed: https://answers.launchpad.net/yade/+question/137115 Status: Open = Answered Václav Šmilauer proposed the following answer: Hi, you're right that short names are fine capitalized (since there is no danger that a type would be named As; though Brittleness

Re: [Yade-users] [Question #137115]: Commit new files to trunk

2010-12-09 Thread Václav Šmilauer
Question #137115 on Yade changed: https://answers.launchpad.net/yade/+question/137115 Status: Open = Answered Václav Šmilauer proposed the following answer: Hm... I would add a check to the functor that uses that material. (if(strainStressValue.empry()) throw std::invalid_argument

Re: [Yade-users] [Question #137026]: Debugging output

2010-12-08 Thread Václav Šmilauer
Question #137026 on Yade changed: https://answers.launchpad.net/yade/+question/137026 Václav Šmilauer proposed the following answer: Besides that, if you want to watch evolution of a variable at runtime, you can declare it in your class (inside YADE_CLASS_BASE_DOC_ATTRS(...) ), then looking

Re: [Yade-users] [Question #137115]: Commit new files to trunk

2010-12-08 Thread Václav Šmilauer
Question #137115 on Yade changed: https://answers.launchpad.net/yade/+question/137115 Status: Open = Answered Václav Šmilauer proposed the following answer: Hi Klaus, just add it (with bzr add yourfile) and commit upstream (bzr qcommit (if you have qbzr installed) or bzr commit -m ...);I

Re: [Yade-users] [Question #137115]: Commit new files to trunk

2010-12-08 Thread Václav Šmilauer
Question #137115 on Yade changed: https://answers.launchpad.net/yade/+question/137115 Status: Open = Answered Václav Šmilauer proposed the following answer: diff: bzr diff / bzr qdiff / ... checkout vs. branch: http://wiki.bazaar.canonical.com/CheckoutTutorial HTH, v. :-) -- You received

Re: [Yade-users] Linear law + moment rotation

2010-12-07 Thread Václav Šmilauer
Hi there, I commited functional version of L6Geom recently (http://www.youtube.com/watch?v=YYGHjiZRUpM, shown in scripts/test/beam-l6geom.py), contact geometry with 6 degrees of freedom with local coordinates (L). You (or Giulia) could consider using it as the base for writing a new contact

Re: [Yade-users] 3d view output

2010-12-07 Thread Václav Šmilauer
What's more, I also want to know how to zoom the view automatically by adding some codes in GLViewer.cpp file? For instance, I want my model always be shown in the same size as the view. Hi Tao, there is a functionality to save load the 3d view configuration (using the keys Alt-7,8,9 and

Re: [Yade-users] [Question #137026]: Debugging output

2010-12-07 Thread Václav Šmilauer
Question #137026 on Yade changed: https://answers.launchpad.net/yade/+question/137026 Status: Open = Answered Václav Šmilauer proposed the following answer: Hi Klaus, have a look at https://www.yade- dem.org/sphinx/prog.html#logging . Pointing your attention to 2 things: (i) If you compile

Re: [Yade-users] [Question #136034]: quasi-static equilibrium

2010-12-01 Thread Václav Šmilauer
Question #136034 on Yade changed: https://answers.launchpad.net/yade/+question/136034 Václav Šmilauer posted a new comment: A few thoughts on this one, after some discussion: 1. PeriTriaxController confounds (in the mass param) static and dynamic response of the packing, whereas they could

Re: [Yade-users] [Question #136034]: quasi-static equilibrium

2010-12-01 Thread Václav Šmilauer
Question #136034 on Yade changed: https://answers.launchpad.net/yade/+question/136034 Václav Šmilauer proposed the following answer: 1.a) PeriTriaxController (with dynCell=True) is not confounding statics and dynamics : it is purely dynamic. Eh, that is exactly what I said... It has

Re: [Yade-users] [Question #136034]: quasi-static equilibrium

2010-11-30 Thread Václav Šmilauer
Question #136034 on Yade changed: https://answers.launchpad.net/yade/+question/136034 Václav Šmilauer posted a new comment: I think the criterion be derived from an exact definition of quasi- static, which we don't have (the definition is necessarily also quasi). It is clear that it is a measure

Re: [Yade-users] [Question #135670]: Test question

2010-11-27 Thread Václav Šmilauer
Question #135670 on Yade changed: https://answers.launchpad.net/yade/+question/135670 Status: Open = Answered Václav Šmilauer proposed the following answer: Ok, I will unsubscribe yade-dev, since I received the message twice. -- You received this question notification because you

Re: [Yade-users] 3d view output

2010-11-26 Thread Václav Šmilauer
However, I also met a problem that if I close the Primary view during the simulation I cannot get the complete view again. For instance, there is no particles and boxes in the Primary view. I do not know how to fix it. Do you have any idea about that? Does it happen only with

Re: [Yade-users] Problems with compilation with 'vtk' feature

2010-11-25 Thread Václav Šmilauer
Oh, sorry, I forgot :-) I attached now the config.log as well.. Jan, according to the log it looks like some internal problem of scons. Can you run scons clean scons? That should force re-configuration, I would guess that it will work. If not, attach the new config.log, as it should

Re: [Yade-users] Simple test with 2 particles

2010-11-25 Thread Václav Šmilauer
The StepDisplacer seems not to depend on the time step (time step for the first iteration is smaller but displacement increment is always the same). Why? Because it was coded to apply prescribed displacement in one step (regardless of dt); otherwise use TranslationEngine, or just prescribe

Re: [Yade-users] 3d view output

2010-11-24 Thread Václav Šmilauer
I am using YADE bzr2486. I'm not sure if this version include the 'SnapshotEngine'. After 0.50, it was moved to the yade.qt module (and for some reason is not in the docs for that module?), you have to do something like from yade import qt O.engines=[ ... qt.SnapshotEngine(...),

Re: [Yade-users] Linear law + moment rotation

2010-11-23 Thread Václav Šmilauer
I don't know at what point L6* is, it is the only one not derived from the above, but said experimental in doc (Vaclav?). it is experimental ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net

Re: [Yade-users] Combining engines prescribing movement

2010-11-19 Thread Václav Šmilauer
is it possible to combine more engines prescribing movement? for example (I know there is HelixEngine implemented, but suppose for a while it is not :-) if I want to combine translation and rotation to create a helix, can I somehow combine them, or for every such combination would I need to

Re: [Yade-users] Combining engines prescribing movement

2010-11-19 Thread Václav Šmilauer
I mean just for now. Ah, sorry. But I plan to do those changes in next few hours/days. v. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-users More help :

Re: [Yade-users] Combining engines prescribing movement

2010-11-19 Thread Václav Šmilauer
In many cases (perhaps not yours) the simpler way is to prescribe velocity on non-dynamic bodies. That way, you don't need engines, and you are sure you are not breaking any of the constitutive laws. Eh? This exactly will not work: NewtonIntegrator.cpp:109 says if(!b-isDynamic()) continue;

Re: [Yade-users] Combining engines prescribing movement

2010-11-19 Thread Václav Šmilauer
vel=(P_axis-Pos).cross(spin*axis) rotVel=spin*axis I thought the point was that the integrator would do it for you (which it can, for translation). Of course this is what RotationEngine does. ___ Mailing list: https://launchpad.net/~yade-users

Re: [Yade-users] Arbitrary aligned box or plane

2010-11-18 Thread Václav Šmilauer
Well, use pack.regularHexa(...) with pack.inAlignedBox. Is there a way to create such packings with pack.SpherePack()? Or how can I convert it in a SpherePack()? I tried to pass the regularHexa packing to the SpherePack, dosen't work. If this is going to work somehow it would be enough for my

Re: [Yade-users] Arbitrary aligned box or plane

2010-11-17 Thread Václav Šmilauer
Hi Klaus, pack.inAlignedBox just works for a box which is aligned to the coordinate system. Is there a way to get an arbitrary aligned box (e.g. by transforming the aligned box)? If you need the sphere packing, you can transform it with

[Yade-users] periodic stress tensor with clumps

2010-11-15 Thread Václav Šmilauer
Hi there, I was just thinking about clumps in the periodic cell. When we compute the stress tensor, we loop over all interactions, adding their force and branch vector, then dividing by the cell volume. Now with clumps there are invisible internal forces, since the clump is rigid, but we

Re: [Yade-users] XMLRPC info provider

2010-11-11 Thread Václav Šmilauer
Can anybody tell me how the XMLRPC works? I see the following message after simulation starts: http://www.mail-archive.com/yade-users@lists.launchpad.net/msg02453.html ___ Mailing list: https://launchpad.net/~yade-users Post to :

Re: [Yade-users] Compilation with gts feature

2010-11-10 Thread Václav Šmilauer
if I disable vtk feature, there is no problem with gts. Similarly, when compiling with vtk but without gts, there is no problem as well. But compilation with both vtk feature and gts feature fails as I posted.. just to let you know :-) Thanks for the message, let us suppose that it is

Re: [Yade-users] Compilation with gts feature

2010-11-05 Thread Václav Šmilauer
Some lib is asking to link with libavformat (probably vtk?), but libavutil is not installed. It looks like packaging bug of those libs, since they should depends on those. I suggest you try installing the libavutil50 package, that might help. Let us know. Cheers, v. Hello, when installing

Re: [Yade-users] windows strange behaviour

2010-11-05 Thread Václav Šmilauer
Hi guys, this is a known issue https://bugs.launchpad.net/yade/+bug/622669 I will describe a workaround there. v ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe :

Re: [Yade-users] twist Moment and Bending Moment in cohesionlessMomentRotation

2010-10-26 Thread Václav Šmilauer
I have not tried the Cpm model. Because it may not be considered the cohesion at the re-contact point. It should be fit to the rock type perfectly. But in my model, the cohesion at the re-contact point must be implemented. Just a note on this: CPM and CohesiveFrictionalc models are quite

Re: [Yade-users] Demander d'installer YADE

2010-10-26 Thread Václav Šmilauer
Hello Anh-Tuan, this list is run in English, sorry. att...@c1rosmerta:~/yade$ scons version=trunk Can you post the scons.profile-default file? There are extra parameters which I suspect of causing the error you show (though the exact cause is not clear from the output, at least to me).

Re: [Yade-users] periodic boundary

2010-10-21 Thread Václav Šmilauer
Hi, you can -- set the cell size in the z direction to comfortably accomodate your whole simulation, no need to handle it specially. It has (almost) no performance impact either. Cheers, v Hello! How to work with periodic boundaries? I want a periodicity in XY plane, not Z direction. Can I

Re: [Yade-users] periodic boundary

2010-10-21 Thread Václav Šmilauer
Hi, Vaclav! So, if periodicity is enabled a simulation space extents from (0,0,0) to (+x,+y,+z)? Yes, roughly said. See various periodic scripts in scripts/test how they set O.cell.refSize and such. I am planning for some more documentation, but it has not yet happened. And I need a floor in

Re: [Yade-users] twist Moment and Bending Moment in cohesionlessMomentRotation

2010-10-20 Thread Václav Šmilauer
I see that there is my formula, which I derived when I was working on snow last year. I still remember discussing with Bruno about this exact problem :) /* Moment Rotation Law */ Quaternionr delta( b1-state-ori * phys-initialOrientation1.conjugate() *phys-initialOrientation2 *

Re: [Yade-users] average stress in particles

2010-10-07 Thread Václav Šmilauer
On Thu, 7 Oct 2010 12:45:00 +0200, Janek Kozicki janek_li...@wp.pl wrote: Bruno Chareyre said: (by the date of Thu, 07 Oct 2010 11:44:35 +0200) Hi, I'd like to get the mean stress tensor in particles using the contour integral of forces (i.e. F_i*L_j/V on one particle, with L_j the

Re: [Yade-users] average stress in particles

2010-10-07 Thread Václav Šmilauer
Thank you, but I need something else. The title was misleading : I need the average stress in _one_ particle. Anyway, it is 2-3 lines of code, so no big deal. I just wanted to avoid duplicates. Oops, sorry. You need to know what is the volume associated to that particle... do you use

Re: [Yade-users] the relationship of poisson ratio and tangential stiffness

2010-09-20 Thread Václav Šmilauer
I have checked the relationship of the physical parameters and the required parameters in Yade. I am confused how to get the shear stiffness (tangential stiffness) from the poisson ratio and normal stiffness correctly. You know, according to the description in Vaclav's thesis page 52. I get

Re: [Yade-users] scons with vtk feature

2010-08-28 Thread Václav Šmilauer
Do you think that adding VTK dir to CPPPATH would help? and if yes, how to do this? :-) the default value is CPPPATH=/usr/include/vtk-5.0:/usr/include/vtk-5.2:/usr/include/vtk-5.4:/usr/include/eigen2 (see scons-h), but if you changed it, you might need to re-add the specific directory you

Re: [Yade-users] AttributeError: 'Sphere' object has no attribute 'name'

2010-08-27 Thread Václav Šmilauer
Why that?? s...@think:~/work/yade/trunk/yade-trunk Welcome to Yade bzr2417 Yade [1]: s=utils.sphere([0,0,0],1) Yade [2]: s.shape.name OK, sorry, I didn't put that to the changelog. Use pure python way, s.shape.__class__.__name__, we don't need yade specific hack for that anymore. Thaks

Re: [Yade-users] AttributeError: 'Sphere' object has no attribute 'name'

2010-08-27 Thread Václav Šmilauer
Sorry, Vaclav, but in my opinion, this syntax looks horrible for users. s.shape.name looks much better. In addition, __foo__ is syntax for protected members, not for the users interface. No? I think the idea is that __ names are for attributes that are metadata for the objects. Well, do you

Re: [Yade-users] AttributeError: 'Sphere' object has no attribute 'name'

2010-08-27 Thread Václav Šmilauer
Ok, no problem. But s.shape.name==Sphere (or just s.shape==Sphere) is better in any case :)) Other possibility, perhaps THE python way: isinstance(s.shape,Sphere) You can run this to have .name back BTW: Serializable.name=property(lambda self:self.__class__.__name__) Sphere().name #

Re: [Yade-users] How to do the simulations one by one automatically??

2010-08-26 Thread Václav Šmilauer
Hi,all, How can I let the simulations run one by one automatically? For example, I want to do a series of simulations which is different in frictionAngle (0,10,20,..) and I don't want to stay by computer till the single simulation finish, because of the long time. Hi, see

Re: [Yade-users] [yade-users] Does utils.unbalancedForce() and utils.kineticEnergy() deal with deleted bodies?

2010-08-24 Thread Václav Šmilauer
Does the latest version deal with that or is it a real bug? Hi Luc, thanks for reporting. The fix is trivial, it will land in trunk with my next commit. If you need the fix in yoru version, go to Shop::{unbalancedForce,kineticEnergy} and in the FOREACH loop, change if(!b-isDynamic())

Re: [Yade-users] SerializableEditor.py for 32bit system

2010-08-22 Thread Václav Šmilauer
I used to get errors described below. For those, who have the same problem, just change self.setRange(int(-1e10),int(1e10)); self.setSingleStep(1); to self.setRange(int(-1e9),int(1e9)); self.setSingleStep(1); in ../lib/yade-trunk/py/yade/qt/SerializableEditor.py I will change it in the

Re: [Yade-users] Particles passing through facets

2010-08-17 Thread Václav Šmilauer
O.engines=[ ForceResetter(), BoundDispatcher([Bo1_Sphere_Aabb(aabbEnlargeFactor=intradius)]), InsertionSortCollider(), InteractionDispatchers( [Ig2_Sphere_Sphere_Dem3DofGeom()], [Ip2_FrictMat_FrictMat_FrictPhys()],

Re: [Yade-users] Simulation stops unexpectedly

2010-08-12 Thread Václav Šmilauer
Hi Anton, read https://www.yade-dem.org/sphinx/user.html#checkpoints -- although it talks about loadTmp, the same applies to O.pause() etc. Calling O.pause() from inside the engine will (though it might depend on exact timing between python and computation threads, and that is probably the reason

Re: [Yade-users] Compatibility with AutoCAD/GAMBIT

2010-08-11 Thread Václav Šmilauer
Instead of using BREP, is it possible to import geometries from AutoCAD/GAMBIT into Yade-0.50 running on Kubuntu? There is no direct import (see https://yade-dem.org/sphinx/yade.ymport.html for what is available); it depends on what kind of data you want to import. I would suggest that you

Re: [Yade-users] For deleting facet or translating it

2010-08-10 Thread Václav Šmilauer
I want to delete some facet during simulating process. Are there some functions in yade or I make the code for this purpose? Thanks This functionality is provided, see https://yade-dem.org/sphinx/prog.html#insertion-deletion (the python example: O.bodies.erase(id)); it is not documented in the

Re: [Yade-users] For functions

2010-08-09 Thread Václav Šmilauer
are there some commands (functions) in yade for rotating the surface (gts surface)? thanks. Hi, such func is in the gts (http://pygts.sf.net) module itself, whcih is included with Yade and also documented: https://yade-dem.org/sphinx/external.html#gts.Surface.rotate HTH, v

Re: [Yade-users] import module

2010-08-04 Thread Václav Šmilauer
I have a question on how to import a module into a python script to be run with Yade. I do all as it should be, but apparently if in the script I include the line import myNameModule, on the console it says that module myNameModule not found. OTHT, if I do not include this line in the script,

Re: [Yade-users] hello? -help with a spinning bucket!

2010-08-02 Thread Václav Šmilauer
this should be easy in yade, but I can't spot the easy solution that must be there. I have beads in a container. I want to model their friction against it's walls. I can get the friction of the beads themselves by measuring the angle of internal friction. assuming I know the poissons

Re: [Yade-users] FOR the example of funnel.py

2010-07-30 Thread Václav Šmilauer
Hello all, I ran the example of funnel.py (revision2389:http://bazaar.launchpad.net/~yade-dev/yade/trunk/annotate/head%3A/examples/funnel.py). The properties of spheres can be changed through O.bodies.append([utils.sphere(c,r,material=ElastMat(young=1e9,density=3e3,...)) for c,r

Re: [Yade-users] paraview celldata and visualisation

2010-07-29 Thread Václav Šmilauer
I would like to know how to visualise force chains. There was an email suggesting that we can render it using glyph-cylinders. But I can't get it to work.The intr saves forces in type cellData (not pointData). Hi, it is explained in https://lists.launchpad.net/yade-users/msg03590.html .

  1   2   3   4   >