Re: [Yade-users] [Question #251328]: work done by each contact using the viscoelastic model

2014-07-15 Thread Bruno Chareyre
Question #251328 on Yade changed: https://answers.launchpad.net/yade/+question/251328 Status: Open = Answered Bruno Chareyre proposed the following answer: Dear Andy, Viscous work should be updated each time one contact is computed, just like plastic dissipation. The best place to do

Re: [Yade-users] [Question #251125]: Question about units

2014-07-03 Thread Bruno Chareyre
Question #251125 on Yade changed: https://answers.launchpad.net/yade/+question/251125 Bruno Chareyre proposed the following answer: @Alex-Cheng: no, no, no. Yade is not using any unit. @Emon, google is your friend if you don't like to do the math [1]: force: F dyne | dyn | g·cm/s2 | 10−5

Re: [Yade-users] [Question #250783]: some questions about 'O.dt' and 'PyRunner'

2014-06-26 Thread Bruno Chareyre
Question #250783 on Yade changed: https://answers.launchpad.net/yade/+question/250783 Status: Open = Answered Bruno Chareyre proposed the following answer: O.usesTimeStepper is not an attribute of O. O.dynDt is probably what you want. -- You received this question notification because you

Re: [Yade-users] [Question #250103]: Unable to install yade on Ubuntu 10.04.

2014-06-19 Thread Bruno Chareyre
Question #250103 on Yade changed: https://answers.launchpad.net/yade/+question/250103 Bruno Chareyre posted a new comment: I am quite sure you can install yade on 10.04. Simply, it will be an old version of it. The problem must what Anton is mentionning: installing yade from 13.10 repos

Re: [Yade-users] [Question #250463]: problems with a example: chained-cylinder-spring.py

2014-06-19 Thread Bruno Chareyre
Question #250463 on Yade changed: https://answers.launchpad.net/yade/+question/250463 Status: Open = Answered Bruno Chareyre proposed the following answer: Hi, I can't reproduce what you report. What version of yade are you using? And does the script come from the same version? -- You

Re: [Yade-users] [Question #250463]: problems with a example: chained-cylinder-spring.py

2014-06-19 Thread Bruno Chareyre
Question #250463 on Yade changed: https://answers.launchpad.net/yade/+question/250463 Bruno Chareyre proposed the following answer: If you install the documentation package for 0.70.0-5 you will find the example scripts on your HD. Copy/paste of scripts from a web page is not supposed to work

Re: [Yade-users] [Question #250103]: Unable to install yade on Ubuntu 10.04.

2014-06-11 Thread Bruno Chareyre
Question #250103 on Yade changed: https://answers.launchpad.net/yade/+question/250103 Bruno Chareyre proposed the following answer: Did you try installing other variants, like yade-daily or just yade? -- You received this question notification because you are a member of yade-users, which

Re: [Yade-users] [Question #249707]: How to apply a “jump boundary condition

2014-06-05 Thread Bruno Chareyre
Question #249707 on Yade changed: https://answers.launchpad.net/yade/+question/249707 Status: Open = Answered Bruno Chareyre proposed the following answer: It is already implemented I think. A difference is that the paper imposes equilibrium as a constraint, while typical DEM (namely Yade

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

2014-06-02 Thread Bruno Chareyre
Question #249669 on Yade changed: https://answers.launchpad.net/yade/+question/249669 Status: Open = Answered Bruno Chareyre proposed the following answer: I expected the force on each sphere should be dissipated 1/2 from the previous force because I set up the resttitution coefficient

Re: [Yade-users] [Question #247006]: Writing a new constitutive law

2014-05-27 Thread Bruno Chareyre
Question #247006 on Yade changed: https://answers.launchpad.net/yade/+question/247006 Bruno Chareyre proposed the following answer: Yes, the github version has a Maxwell model on shear force and twist moment. B -- You received this question notification because you are a member of yade-users

Re: [Yade-users] [Question #249117]: Density Scaling

2014-05-26 Thread Bruno Chareyre
Question #249117 on Yade changed: https://answers.launchpad.net/yade/+question/249117 Status: Open = Answered Bruno Chareyre proposed the following answer: targetDt can be anything, it doesn't matter. You need to think in a per iteration way for e.g. strain rate, and then it doesn't matter

Re: [Yade-users] [Question #248466]: Validation of Cundall Strack contact law?

2014-05-20 Thread Bruno Chareyre
Question #248466 on Yade changed: https://answers.launchpad.net/yade/+question/248466 Bruno Chareyre posted a new comment: There is a validation in [1], but it is only for the elastic part of the law. The other things (e.g. rolling friction) have been (and are being) used many times by serious

Re: [Yade-users] [Question #248644]: Transport equation

2014-05-14 Thread Bruno Chareyre
Question #248644 on Yade changed: https://answers.launchpad.net/yade/+question/248644 Status: Open = Answered Bruno Chareyre proposed the following answer: Dear Diego, there are ample references in the documentation to published papers on the fluid coupling. See Catalano's papers

Re: [Yade-users] [Question #248466]: Validation of Cundall Strack contact law?

2014-05-12 Thread Bruno Chareyre
Question #248466 on Yade changed: https://answers.launchpad.net/yade/+question/248466 Bruno Chareyre proposed the following answer: Could some one please direct me to the papers that contain the exact contact law for Cundall Strack (ElasticContactLaw) that used in Yade The best reference

Re: [Yade-users] [Question #248315]: some questions about radius expansion in Yade

2014-05-07 Thread Bruno Chareyre
Question #248315 on Yade changed: https://answers.launchpad.net/yade/+question/248315 Status: Open = Answered Bruno Chareyre proposed the following answer: Dear Fu, I suggest to study the pdf and example scripts that you will find in examples/triax-tutorial. They should answer most of your

Re: [Yade-users] [Question #248206]: A simple case for stress strain curve

2014-05-07 Thread Bruno Chareyre
Question #248206 on Yade changed: https://answers.launchpad.net/yade/+question/248206 Bruno Chareyre proposed the following answer: So, can I conclude that in the case of a cylindrical sample composed of a random packing... Erm.. not really. If you change your question I may also change my

Re: [Yade-users] [Question #248206]: A simple case for stress strain curve

2014-05-06 Thread Bruno Chareyre
Question #248206 on Yade changed: https://answers.launchpad.net/yade/+question/248206 Bruno Chareyre proposed the following answer: To me, this column test is better described by a force-displacement relation. Of course you can convert this to stress-strain if you define the height and cross

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

2014-05-06 Thread Bruno Chareyre
Question #247806 on Yade changed: https://answers.launchpad.net/yade/+question/247806 Bruno Chareyre proposed the following answer: @Ning, I see two possible simple solutions to your problem: One needs cpu time (see example below): dtheta=0.01 #something small (aka rotation per timestep) thetaDot

Re: [Yade-users] [Question #248246]: Soil-Tool Interaction

2014-05-06 Thread Bruno Chareyre
Question #248246 on Yade changed: https://answers.launchpad.net/yade/+question/248246 Bruno Chareyre proposed the following answer: As for moving the object I use PyRunner and in every time step I change its position. Don't do that, as Jerome suggests. See also: https://yade-dem.org/doc

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

2014-04-28 Thread Bruno Chareyre
Question #247806 on Yade changed: https://answers.launchpad.net/yade/+question/247806 Bruno Chareyre proposed the following answer: I think velGrad=Matrix3(0,sin(theta),0, -sin(theta),0,0, 0,0,0) is correct asymptoticaly for small spin*dt. If you really need a large rotation in one step, I'm

Re: [Yade-users] [Question #246971]: Attain a specified porosity in a predicate

2014-04-17 Thread Bruno Chareyre
Question #246971 on Yade changed: https://answers.launchpad.net/yade/+question/246971 Bruno Chareyre posted a new comment: It can all be adjusted with appropriate parameters: - Use high stifness during the compaction, so the rebound during unloading will be negligible - set a very small target

Re: [Yade-users] [Question #247142]: Burger's model implemented?

2014-04-17 Thread Bruno Chareyre
Question #247142 on Yade changed: https://answers.launchpad.net/yade/+question/247142 Status: Open = Answered Bruno Chareyre proposed the following answer: I've seen Burger model implemented in Yade while a journal paper (from Knoxville's group IIRC) but it has never been pushed to trunk

Re: [Yade-users] [Question #247006]: Writing a new constitutive law

2014-04-17 Thread Bruno Chareyre
Question #247006 on Yade changed: https://answers.launchpad.net/yade/+question/247006 Bruno Chareyre proposed the following answer: 1 Compile (https://yade-dem.org/doc/installation.html) 2. mess up a contact law 3. compile again (make install) If you would like to make this new law public, which

Re: [Yade-users] [Question #247142]: Burger's model implemented?

2014-04-17 Thread Bruno Chareyre
Question #247142 on Yade changed: https://answers.launchpad.net/yade/+question/247142 Bruno Chareyre proposed the following answer: Yes, or ask Jingsong Chen... -- You received this question notification because you are a member of yade-users, which is an answer contact for Yade

[Yade-users] Parallel collider

2014-04-16 Thread Bruno Chareyre
/fa44970d34df040e8f62b304d69587caa3155938 [2] see this thread and fllow-ups: https://lists.launchpad.net/yade-dev/msg10498.html [3] https://yade-dem.org/wiki/Performance_Test -- ___ Bruno Chareyre Associate Professor ENSE³ - Grenoble INP Lab. 3SR BP 53 38041 Grenoble cedex 9 Tél : +33 4 56 52 86 21 Fax

Re: [Yade-users] [Question #246971]: Attain a specified porosity in a predicate

2014-04-14 Thread Bruno Chareyre
Question #246971 on Yade changed: https://answers.launchpad.net/yade/+question/246971 Status: Open = Answered Bruno Chareyre proposed the following answer: But I think I can't use the triax engine in my case. Because there shouldn't be any confining pressure applied on the spheres

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

2014-04-09 Thread Bruno Chareyre
Question #246489 on Yade changed: https://answers.launchpad.net/yade/+question/246489 Bruno Chareyre proposed the following answer: Behzad, see bug https://bugs.launchpad.net/yade/+bug/1304878 One way to get yade running parallel (I mean if you don't want to wait for the bugfix) is to uninstall

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

2014-04-08 Thread Bruno Chareyre
Question #246489 on Yade changed: https://answers.launchpad.net/yade/+question/246489 Bruno Chareyre proposed the following answer: I see that, in your case, most of the time is spent in NewtonIntegrator. And it seems vectorization is inefficient for that one. This is surprising. I think I saw

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

2014-04-08 Thread Bruno Chareyre
Question #246489 on Yade changed: https://answers.launchpad.net/yade/+question/246489 Bruno Chareyre proposed the following answer: It seems there is a bug with openmp presently. Yade is not using many cores even with -jN1. I tried to report the bug but launchpad has a problem at the moment

Re: [Yade-users] [Question #246244]: yadedaily crash

2014-04-01 Thread Bruno Chareyre
Question #246244 on Yade changed: https://answers.launchpad.net/yade/+question/246244 Bruno Chareyre posted a new comment: But I cannot remove or uninstall it by using the command sudo apt-get remove atlas openblas, nothing is found. Because atlas is not the name of a package. -- You received

Re: [Yade-users] [Question #246244]: yadedaily crash

2014-03-31 Thread Bruno Chareyre
Question #246244 on Yade changed: https://answers.launchpad.net/yade/+question/246244 Bruno Chareyre proposed the following answer: libopenblas can give this problem (if so, this is a scipy problem independent of Yade). To confirm, try: python import scipy If you have openblas installed

Re: [Yade-users] [Question #246244]: yadedaily crash

2014-03-31 Thread Bruno Chareyre
Question #246244 on Yade changed: https://answers.launchpad.net/yade/+question/246244 Bruno Chareyre proposed the following answer: I just realized that there is a simpler option: remove atlas libraries (atlas, atlas-base, atlas-3gf, and so on...). The bug comes from the fact that using

Re: [Yade-users] [Question #246244]: yadedaily crash

2014-03-31 Thread Bruno Chareyre
Question #246244 on Yade changed: https://answers.launchpad.net/yade/+question/246244 Bruno Chareyre posted a new comment: I didn't know another variant was able to break python. Could you please post the list you see after sudo update-alternatives --config libblas.so.3gf? -- You received

Re: [Yade-users] [Question #246244]: yadedaily crash

2014-03-31 Thread Bruno Chareyre
Question #246244 on Yade changed: https://answers.launchpad.net/yade/+question/246244 Bruno Chareyre posted a new comment: Thanks. You do have openblas and atlas, they are listed in the output: * 0 /usr/lib/openblas-base/libopenblas.so

Re: [Yade-users] [Question #245062]: Questions about shear strain algorithm in Yade

2014-03-27 Thread Bruno Chareyre
Question #245062 on Yade changed: https://answers.launchpad.net/yade/+question/245062 Status: Open = Answered Bruno Chareyre proposed the following answer: Only relative motion can change the magnitude of forces, yes. However, a rotation of the contact pair leads to a rotation of the force

Re: [Yade-users] [Question #245062]: Questions about shear strain algorithm in Yade

2014-03-26 Thread Bruno Chareyre
Question #245062 on Yade changed: https://answers.launchpad.net/yade/+question/245062 Status: Open = Answered Bruno Chareyre proposed the following answer: (1) There should be no change of force associated to a translation of the reference frame, therefore I'm lost after eq. 8 (included

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

2014-03-24 Thread Bruno Chareyre
Question #242575 on Yade changed: https://answers.launchpad.net/yade/+question/242575 Status: Open = Answered Bruno Chareyre proposed the following answer: You are displaying current orientation. If you want rotation, it is like in #5. Set b.state.refOri=b.state.ori before the test

Re: [Yade-users] [Question #245062]: Questions about shear strain algorithm in Yade

2014-03-21 Thread Bruno Chareyre
Question #245062 on Yade changed: https://answers.launchpad.net/yade/+question/245062 Bruno Chareyre posted a new comment: I don't understand your question, I'm sorry. -- You received this question notification because you are a member of yade-users, which is an answer contact for Yade

Re: [Yade-users] [Question #245682]: optional compilation of LBM engine

2014-03-21 Thread Bruno Chareyre
Question #245682 on Yade changed: https://answers.launchpad.net/yade/+question/245682 Bruno Chareyre posted a new comment: Hi Luc, 1/ put all LBM-stuff into the pkg/LBM: if you think it is better there is no problem. It is just necessary to keep in mind that LBM is coupled with DEM, and I

Re: [Yade-users] [Question #245755]: Setting manually the inertia and mass center of clumps

2014-03-20 Thread Bruno Chareyre
Question #245755 on Yade changed: https://answers.launchpad.net/yade/+question/245755 Bruno Chareyre posted a new comment: the actual Yade version Do you use actual for current also in german? ;) -- You received this question notification because you are a member of yade-users, which

Re: [Yade-users] [Question #245755]: Setting manually the inertia and mass center of clumps

2014-03-20 Thread Bruno Chareyre
Question #245755 on Yade changed: https://answers.launchpad.net/yade/+question/245755 Bruno Chareyre proposed the following answer: The sequence is like this: 1. integrate clumps movement (using total mass and total inertia), changing clump's pos/ori 2. for each member: pos = clumpPos

[Yade-users] Yade Workshop in Grenoble

2014-03-19 Thread Bruno Chareyre
and experience with Yade and other DEM softwares. Informations about the program and registration will be updated on the webpage (https://yade-dem.org/wiki/1st_Yade_Workshop) With best regards. Bruno Chareyre (*) Yet Another Discrete Element workshop! -- ___ Bruno Chareyre

Re: [Yade-users] [Question #245755]: Setting manually the inertia and mass center of clumps

2014-03-19 Thread Bruno Chareyre
Question #245755 on Yade changed: https://answers.launchpad.net/yade/+question/245755 Bruno Chareyre proposed the following answer: Hello Pascal, B.state.inertia = EigVal B.state.ori = Quaternion(EigVec) It is the right way to approach the problem (inertia is a vector for it contains

Re: [Yade-users] [Question #245380]: Detect newly appeared interactions between two states of the same model

2014-03-14 Thread Bruno Chareyre
Question #245380 on Yade changed: https://answers.launchpad.net/yade/+question/245380 Bruno Chareyre posted a new comment: This one deserves the Best Answer Prize! -- You received this question notification because you are a member of yade-users, which is an answer contact for Yade

Re: [Yade-users] [Question #244958]: Reset parameters height0, width0 and depth0 in TriaxialStressController

2014-03-10 Thread Bruno Chareyre
Question #244958 on Yade changed: https://answers.launchpad.net/yade/+question/244958 Status: Open = Answered Bruno Chareyre proposed the following answer: Hi, Unfortunately height0 is read-only, you can't modify it. I will probably turn it read-write, it cannot hurt. Another note

Re: [Yade-users] [Question #245238]: Where are the original articles of these Yade screenshots?

2014-03-10 Thread Bruno Chareyre
Question #245238 on Yade changed: https://answers.launchpad.net/yade/+question/245238 Status: Open = Answered Bruno Chareyre proposed the following answer: Hello, These old images were only proofs of concepts, there is no paper on this as far as I know. The cube elements are Box[1] elements

Re: [Yade-users] [Question #244960]: yade -l IMPLIBRARIES

2014-03-04 Thread Bruno Chareyre
Question #244960 on Yade changed: https://answers.launchpad.net/yade/+question/244960 Bruno Chareyre posted a new comment: It sounds like a scope issue. I can't tell now if -l was importing in the right scope in ubuntu 10.04 (which I was using when adding the option). For 12.04 you are right

Re: [Yade-users] [Question #244634]: only 1 core working out of 32

2014-02-28 Thread Bruno Chareyre
Question #244634 on Yade changed: https://answers.launchpad.net/yade/+question/244634 Bruno Chareyre proposed the following answer: it won't change anything for me, am I right? Yes. -- You received this question notification because you are a member of yade-users, which is an answer contact

Re: [Yade-users] [Question #244312]: Clump templates

2014-02-26 Thread Bruno Chareyre
Question #244312 on Yade changed: https://answers.launchpad.net/yade/+question/244312 Bruno Chareyre posted a new comment: I didn't follow the discussion, but this is attracting me: when using replaceByClumps in a periodic space sometimes balls are created outside periodic cell It should

Re: [Yade-users] [Question #244604]: Turbulent flow by PFV method

2014-02-26 Thread Bruno Chareyre
Question #244604 on Yade changed: https://answers.launchpad.net/yade/+question/244604 Status: Open = Answered Bruno Chareyre proposed the following answer: Nope. The current formulation is rooted in Stokes assumption (viscous/laminar/creeping flow). Inertial effects are disregarded, hence

Re: [Yade-users] [Question #244634]: only 1 core working out of 32

2014-02-26 Thread Bruno Chareyre
Question #244634 on Yade changed: https://answers.launchpad.net/yade/+question/244634 Status: Open = Answered Bruno Chareyre proposed the following answer: Hi Giulia, Presently the prebuilt packages are compiled without openmp, i.e. not parallelized. Not sure if/when it will be fixed

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

2014-02-24 Thread Bruno Chareyre
Question #244277 on Yade changed: https://answers.launchpad.net/yade/+question/244277 Bruno Chareyre proposed the following answer: yade has no good parallelizied code. so you get no linear speedup and more than 4 thread are in my experience not usefull Worst than no good parallelized, yade

Re: [Yade-users] [Question #240608]: How to increase the computing scale in YADE

2014-02-21 Thread Bruno Chareyre
Question #240608 on Yade changed: https://answers.launchpad.net/yade/+question/240608 Status: Open = Answered Bruno Chareyre proposed the following answer: what can I do to assure the resource of my workstation can be used as much as possible. Use yade-batch to run 6 or 7 single-thread jobs

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

2014-02-20 Thread Bruno Chareyre
Question #244277 on Yade changed: https://answers.launchpad.net/yade/+question/244277 Status: Open = Answered Bruno Chareyre proposed the following answer: I observed that if I run -jN when the number of available cores is N, the cores that are effectively used are always changing during

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

2014-02-20 Thread Bruno Chareyre
Question #244277 on Yade changed: https://answers.launchpad.net/yade/+question/244277 Bruno Chareyre posted a new comment: yade-batch -h So, how did you know about yade-batch -h? ;) Thx. -- You received this question notification because you are a member of yade-users, which is an answer

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

2014-02-20 Thread Bruno Chareyre
Question #244277 on Yade changed: https://answers.launchpad.net/yade/+question/244277 Bruno Chareyre proposed the following answer: yade-batch -j16 --job-threads=1 file.table file.py: 16 simulations at a time with 1 core each Erm... yes I know. My question was: do you get similar slow down

Re: [Yade-users] [Question #244203]: How to read data from external file

2014-02-18 Thread Bruno Chareyre
Question #244203 on Yade changed: https://answers.launchpad.net/yade/+question/244203 Bruno Chareyre proposed the following answer: It sounds like the use of text files would overkill. This should be enough: for b in O.bodies: #define your force for body b O.forces.addF(b.id,force

Re: [Yade-users] [Question #240738]: Solid sphere in ParaView

2014-02-17 Thread Bruno Chareyre
Question #240738 on Yade changed: https://answers.launchpad.net/yade/+question/240738 Bruno Chareyre posted a new comment: @Jan It sounds interesting. I know people who would use that already. Besides, paraview can be commanded in python it seems. Does anyone have an idea how it works anf if we

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

2014-02-17 Thread Bruno Chareyre
Question #243909 on Yade changed: https://answers.launchpad.net/yade/+question/243909 Status: Open = Answered Bruno Chareyre proposed the following answer: this types of self-contacts have not been included by Yade It has been introduced at least for wires (chained cylinders) and grids

Re: [Yade-users] [Question #240738]: Solid sphere in ParaView

2014-02-17 Thread Bruno Chareyre
Question #240738 on Yade changed: https://answers.launchpad.net/yade/+question/240738 Bruno Chareyre posted a new comment: I just tried save as - *.py in paraview. The result looks like a regular python script starting with soome imported paraview lib. My guess is it can be executed without

Re: [Yade-users] [Question #240738]: Solid sphere in ParaView

2014-02-17 Thread Bruno Chareyre
Question #240738 on Yade changed: https://answers.launchpad.net/yade/+question/240738 Bruno Chareyre proposed the following answer: Good news. save as - *.py works like a charm and generate a 3D image without the gui. The dumb mistake was to save my script with name paraview.py. Obviously

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

2014-02-17 Thread Bruno Chareyre
Question #242575 on Yade changed: https://answers.launchpad.net/yade/+question/242575 Bruno Chareyre posted a new comment: Also it would be nice if possible to invisible the particles It was a good idea Ehsan. It is now [1] possible: yade.qt.Renderer().hideBody(id) yade.qt.Renderer().showBody(id

Re: [Yade-users] [Question #242646]: Changing The Integration Algorithm

2014-02-17 Thread Bruno Chareyre
Question #242646 on Yade changed: https://answers.launchpad.net/yade/+question/242646 Bruno Chareyre posted a new comment: Accepted. Are you registered to yade-dev list Burak? Else please do so. I would like to keep all discussions in the same place, for this reason I will forward your post

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

2014-02-14 Thread Bruno Chareyre
Question #243909 on Yade changed: https://answers.launchpad.net/yade/+question/243909 Bruno Chareyre proposed the following answer: Hello David, Some details are given in [1]. For your questions: 1) It is actually a series of cylinders without particles. No difference appart from shape. 2) I

Re: [Yade-users] [Question #242890]: Memory usage at creation/removal of interactions (JCFpm)

2014-01-28 Thread Bruno Chareyre
Question #242890 on Yade changed: https://answers.launchpad.net/yade/+question/242890 Status: Open = Answered Bruno Chareyre proposed the following answer: Could please open a bug report and post an example script? -- You received this question notification because you are a member of yade

Re: [Yade-users] [Question #242887]: Load/Save issue with periodic boundaries

2014-01-28 Thread Bruno Chareyre
Question #242887 on Yade changed: https://answers.launchpad.net/yade/+question/242887 Status: Open = Answered Bruno Chareyre proposed the following answer: Hi, It could be a bug report. Thank you for details and script, anyway. -- You received this question notification because you

Re: [Yade-users] [Question #242646]: Changing The Integration Algorithm

2014-01-28 Thread Bruno Chareyre
Question #242646 on Yade changed: https://answers.launchpad.net/yade/+question/242646 Bruno Chareyre posted a new comment: Thank you very much for contributing. Do you plan to extend to rotational DOFs? You mention advantages of the adaptative scheme over the symplectic Euler scheme

Re: [Yade-users] [Question #242646]: Changing The Integration Algorithm

2014-01-28 Thread Bruno Chareyre
Question #242646 on Yade changed: https://answers.launchpad.net/yade/+question/242646 Status: Open = Needs information Bruno Chareyre requested more information: the lack of adaptive integration where the step size is unpredictable for my cases. I'm curious about that, since I have never

Re: [Yade-users] [Question #242646]: Changing The Integration Algorithm

2014-01-28 Thread Bruno Chareyre
Question #242646 on Yade changed: https://answers.launchpad.net/yade/+question/242646 Bruno Chareyre posted a new comment: I see, thanks. I'm eager to see an example simulation with these deformable elements. :) -- You received this question notification because you are a member of yade-users

Re: [Yade-users] [Question #242646]: Changing The Integration Algorithm

2014-01-27 Thread Bruno Chareyre
Question #242646 on Yade changed: https://answers.launchpad.net/yade/+question/242646 Status: Open = Answered Bruno Chareyre proposed the following answer: I want to use adaptive integration algorithms of odeint library. Ok. So, the logic is the same, but there is indeed a need to go

Re: [Yade-users] [Question #242646]: Changing The Integration Algorithm

2014-01-27 Thread Bruno Chareyre
Question #242646 on Yade changed: https://answers.launchpad.net/yade/+question/242646 Bruno Chareyre proposed the following answer: I meant, c++ is needed if you want to be able to switch between different methods with one single parameter. Otherwise, an adaptative scheme can also be implemented

Re: [Yade-users] [Question #242646]: Changing The Integration Algorithm

2014-01-25 Thread Bruno Chareyre
Question #242646 on Yade changed: https://answers.launchpad.net/yade/+question/242646 Bruno Chareyre proposed the following answer: As Vaclav suggests, you can imagine many different combinations of engines. Do you really need a special library for Runge-Kutta? You could simply run regular

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

2014-01-24 Thread Bruno Chareyre
Question #242575 on Yade changed: https://answers.launchpad.net/yade/+question/242575 Bruno Chareyre posted a new comment: Elaborating Jerome's suggestion, for future reference: b.shape.color = scalarOnColorScale( (s.state.refPos - s.state.pos).norm() ,minDisp,maxDisp) refPos is something you

Re: [Yade-users] [Question #242644]: Benchmark

2014-01-23 Thread Bruno Chareyre
Question #242644 on Yade changed: https://answers.launchpad.net/yade/+question/242644 Bruno Chareyre requested more information: I see #1 and #2 just now. What are you simulating, and what is the number of particles? -- You received this question notification because you are a member of yade

Re: [Yade-users] [Question #242644]: Benchmark

2014-01-23 Thread Bruno Chareyre
Question #242644 on Yade changed: https://answers.launchpad.net/yade/+question/242644 Bruno Chareyre proposed the following answer: Hello, The benchmark you mention (wiki) is quite old, that is why some of the variables disapeared. There has been a number of optimizations done after

Re: [Yade-users] [Question #242644]: Benchmark

2014-01-23 Thread Bruno Chareyre
Question #242644 on Yade changed: https://answers.launchpad.net/yade/+question/242644 Bruno Chareyre proposed the following answer: It sounds similar to Christian's benchmark of spheres falling on a plane. It makes sense to compare to compare the iter/sec in both cases.. Overal -- You received

Re: [Yade-users] [Question #242646]: Changing The Integration Algorithm

2014-01-23 Thread Bruno Chareyre
Question #242646 on Yade changed: https://answers.launchpad.net/yade/+question/242646 Status: Open = Answered Bruno Chareyre proposed the following answer: Dear Burak, The implementation (and also efficiency) will be very different depending on this key question: should the contact list

Re: [Yade-users] [Question #236454]: Sintered material

2014-01-22 Thread Bruno Chareyre
Question #236454 on Yade changed: https://answers.launchpad.net/yade/+question/236454 Bruno Chareyre requested more information: did someone ever use Bruno's suggestion in practice ? I did. :) I don't understand your last post. Does it need to repeat the same assignment many times?!... -- You

Re: [Yade-users] [Question #242586]: Twisting moment

2014-01-22 Thread Bruno Chareyre
Question #242586 on Yade changed: https://answers.launchpad.net/yade/+question/242586 Status: Open = Answered Bruno Chareyre proposed the following answer: if sdec1-alphaKtw==0 and sdec2-alphaKtw==0 then ktw = 0 It makes sense. By the way, the twisting moment leads to crazy spin

Re: [Yade-users] [Question #242586]: Twisting moment

2014-01-22 Thread Bruno Chareyre
Question #242586 on Yade changed: https://answers.launchpad.net/yade/+question/242586 Bruno Chareyre posted a new comment: It is not difficult to include these moments in the timestep determination from a mathematical POV. The problem is programming it: not all interactions have rotational terms

Re: [Yade-users] [Question #242605]: Internal compaction with moment rotation law

2014-01-22 Thread Bruno Chareyre
Question #242605 on Yade changed: https://answers.launchpad.net/yade/+question/242605 Status: Open = Answered Bruno Chareyre proposed the following answer: After a short discussion with Luc, defining a grow() function inside the IP classes seems to be the best/cleaner way. It would be called

Re: [Yade-users] [Question #242137]: Periodic boundaries on given surfaces of the cell

2014-01-15 Thread Bruno Chareyre
Question #242137 on Yade changed: https://answers.launchpad.net/yade/+question/242137 Bruno Chareyre proposed the following answer: Another curiosity question : may walls sometimes be periodic, or never ? If you meant Box instead of Wall, they can be periodic in theory, but practically

Re: [Yade-users] [Question #240620]: tetra +facet

2014-01-08 Thread Bruno Chareyre
Question #240620 on Yade changed: https://answers.launchpad.net/yade/+question/240620 Bruno Chareyre proposed the following answer: Is it sufficient to delete the folder I installed my yade built to or are there more things to take care of? It is sufficient. Installation is only a copy-paste

Re: [Yade-users] [Question #241137]: Memory error in plotDirections()

2014-01-04 Thread Bruno Chareyre
Question #241137 on Yade changed: https://answers.launchpad.net/yade/+question/241137 Status: Open = Answered Bruno Chareyre proposed the following answer: I suspect a problem in python/matplotlib, not in yade, but the only way to now is to do some real debugging. I don't think any of us

Re: [Yade-users] [Question #241137]: Memory error in plotDirections()

2014-01-03 Thread Bruno Chareyre
Question #241137 on Yade changed: https://answers.launchpad.net/yade/+question/241137 Status: Open = Answered Bruno Chareyre proposed the following answer: After uncommenting lines 127-138 I can still plot directions normally (Yade 1.05.0). Sure you did not change something else? If so, you

Re: [Yade-users] [Question #241338]: Segmentation fault: (core dumped)

2014-01-03 Thread Bruno Chareyre
Question #241338 on Yade changed: https://answers.launchpad.net/yade/+question/241338 Bruno Chareyre proposed the following answer: If saving all crashes, then it is a bug (any volunteer with a decent connexion: don't hesitate to report the bug) -- You received this question notification

Re: [Yade-users] [Question #241615]: how can I write a Simulation with C++ code

2014-01-03 Thread Bruno Chareyre
Question #241615 on Yade changed: https://answers.launchpad.net/yade/+question/241615 Status: Open = Answered Bruno Chareyre proposed the following answer: Dear Xin, I started to type a reply (below) but actually I think I don't really understand your question. The title suggests that you

Re: [Yade-users] [Question #241137]: Memory error in plotDirections()

2014-01-03 Thread Bruno Chareyre
Question #241137 on Yade changed: https://answers.launchpad.net/yade/+question/241137 Status: Open = Answered Bruno Chareyre proposed the following answer: Working script is below (note the additional line key=table.key, I just fixed that in trunk), does it crash for you? Bruno _ from

Re: [Yade-users] [Question #241071]: CHOLMOD error

2013-12-20 Thread Bruno Chareyre
Question #241071 on Yade changed: https://answers.launchpad.net/yade/+question/241071 Status: Open = Answered Bruno Chareyre proposed the following answer: Probably an inconsistent definition of the boundaries of the problem, but I will need to check your script to understand better Ehsan

Re: [Yade-users] [Question #240920]: PWaveTimeStep problem

2013-12-18 Thread Bruno Chareyre
Question #240920 on Yade changed: https://answers.launchpad.net/yade/+question/240920 Status: Open = Answered Bruno Chareyre proposed the following answer: Dear Ehsan, The problem is you are trying to use triax engine which requires that the problem is bounded by 6 rigid planes. In your

Re: [Yade-users] [Question #240738]: Solid sphere in ParaView

2013-12-16 Thread Bruno Chareyre
Question #240738 on Yade changed: https://answers.launchpad.net/yade/+question/240738 Bruno Chareyre proposed the following answer: My impression is that it is not possible with paraview, but better ask on paraview forum if you need experts answers. -- You received this question notification

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

2013-12-16 Thread Bruno Chareyre
Question #240872 on Yade changed: https://answers.launchpad.net/yade/+question/240872 Status: Open = Answered Bruno Chareyre proposed the following answer: if !homoDeform, the sample deformation will be caused indirectly by boundaries particles being closer from the center of the cell

Re: [Yade-users] [Question #240608]: How to increase the computing scale in YADE

2013-12-11 Thread Bruno Chareyre
Question #240608 on Yade changed: https://answers.launchpad.net/yade/+question/240608 Status: Open = Answered Bruno Chareyre proposed the following answer: Dear Fu, I am not sure what you mean by simulation scale. Is it the number of particles? If so, there is no easy solution

Re: [Yade-users] [Question #240557]: error during make install

2013-12-10 Thread Bruno Chareyre
Question #240557 on Yade changed: https://answers.launchpad.net/yade/+question/240557 Bruno Chareyre requested more information: QGLViewer/constraint.h: No such file or directory This is before your modifications of the cmake files, right? -- You received this question notification because you

Re: [Yade-users] [Question #240557]: error during make install

2013-12-10 Thread Bruno Chareyre
Question #240557 on Yade changed: https://answers.launchpad.net/yade/+question/240557 Status: Open = Needs information Bruno Chareyre requested more information: What is your system? (please always mention this in questions) -- You received this question notification because you

Re: [Yade-users] [Question #240509]: Rendering problem of triangles

2013-12-09 Thread Bruno Chareyre
Question #240509 on Yade changed: https://answers.launchpad.net/yade/+question/240509 Status: Open = Answered Bruno Chareyre proposed the following answer: To get rid of the (anti/)clockwise numbering question, you can display both faces (GL_FRONT_AND_BACK*). *https://www.opengl.org/sdk

Re: [Yade-users] [Question #240275]: Avoid interaction between two particles in a four particles experiment

2013-12-04 Thread Bruno Chareyre
Question #240275 on Yade changed: https://answers.launchpad.net/yade/+question/240275 Bruno Chareyre proposed the following answer: if explained by yade code, it is like O.bodies[1].groupMask=[1,2] Jerome's suggestion is: O.bodies[1].groupMask=3 Which is indeed the correct translation of [1,2

Re: [Yade-users] [Question #240275]: Avoid interaction between two particles in a four particles experiment

2013-12-04 Thread Bruno Chareyre
Question #240275 on Yade changed: https://answers.launchpad.net/yade/+question/240275 Bruno Chareyre posted a new comment: Forget about my last note. It will absolutely not work. Bitmasks are sometimes confusing for me as well... If you understand why 3 is the translation of [1,2] (Jan's post

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

2013-12-04 Thread Bruno Chareyre
Question #240167 on Yade changed: https://answers.launchpad.net/yade/+question/240167 Bruno Chareyre proposed the following answer: Hicham, please open a new question if it is unrelated. B -- You received this question notification because you are a member of yade-users, which is an answer

Re: [Yade-users] [Question #240024]: how to get interaction attribute from interacting particles ids

2013-11-29 Thread Bruno Chareyre
Question #240024 on Yade changed: https://answers.launchpad.net/yade/+question/240024 Status: Open = Answered Bruno Chareyre proposed the following answer: As Jerome suggests, it is find() (returns element) not found() returns true/false. Is there already a class where this function is used

<    8   9   10   11   12   13   14   15   16   17   >