Re: [Yade-users] [Question #624246]: Call yade-2017.01a after compilation

2017-04-20 Thread Jan Stránský
Question #624246 on Yade changed: https://answers.launchpad.net/yade/+question/624246 Jan Stránský posted a new comment: Hi Mike, have a look at [1]. If the question is closed and your new question is not related to the original topic, please open a new question. cheers Jan [1] https://yade

Re: [Yade-users] [Question #624246]: Call yade-2017.01a after compilation

2017-04-20 Thread Jan Stránský
Question #624246 on Yade changed: https://answers.launchpad.net/yade/+question/624246 Jan Stránský posted a new comment: by "native" I mean the version installed by 'sudo apt-get isntall yade' you don't need to do anything more the native version provides command 'yade' , which (on Ub

Re: [Yade-users] [Question #622864]: import gmsh force element

2017-04-19 Thread Jan Stránský
Question #622864 on Yade changed: https://answers.launchpad.net/yade/+question/622864 Jan Stránský posted a new comment: Hello, > 2.) ...Can I import an .inp (tetrahedral) mesh file? yes, but I don't know of any existing function, so you would need to write your own import funct

Re: [Yade-users] [Question #443228]: segmentation fault using two kinds of cohefricmats under cohesive triaxial test

2017-04-19 Thread Jan Stránský
Question #443228 on Yade changed: https://answers.launchpad.net/yade/+question/443228 Jan Stránský proposed the following answer: Ok, I have found the problem. > Apart from the wall using the frictmat the problem is that FrictMat is actually not used: >for b in O.bodies: > if rand

Re: [Yade-users] [Question #626465]: The relationship between stress-strain curve and load speed

2017-04-22 Thread Jan Stránský
Question #626465 on Yade changed: https://answers.launchpad.net/yade/+question/626465 Status: Open => Answered Jan Stránský proposed the following answer: Hello, this is completely reasonable 1+2) increasing strain rate, the inertial effects become more significant, therefore you

Re: [Yade-users] [Question #497350]: Export a polyhedron into a *.stl or * .gts file

2017-03-02 Thread Jan Stránský
Question #497350 on Yade changed: https://answers.launchpad.net/yade/+question/497350 Status: Open => Answered Jan Stránský proposed the following answer: Hi Tina, it pretty much depends on what program/method you use for filling. In my opinion, both gts and stl are equally good, si

Re: [Yade-users] [Question #497350]: Export a polyhedron into a *.stl or * .gts file

2017-03-03 Thread Jan Stránský
Question #497350 on Yade changed: https://answers.launchpad.net/yade/+question/497350 Jan Stránský posted a new comment: Hi Tina, > but it still failed please always attach the error message (or be more specific why it does not work). This information alone has no value for the problem solut

Re: [Yade-users] [Question #497350]: Export a polyhedron into a *.stl or * .gts file

2017-03-04 Thread Jan Stránský
Question #497350 on Yade changed: https://answers.launchpad.net/yade/+question/497350 Jan Stránský posted a new comment: Hi Tina, > latest version (2017.01a) may contain a bug please send here (or open a bug issue) what error you get thanks Jan -- You received this question notificat

Re: [Yade-users] [Question #556997]: How to compute average contact radius

2017-03-14 Thread Jan Stránský
Question #556997 on Yade changed: https://answers.launchpad.net/yade/+question/556997 Jan Stránský posted a new comment: Hello, to get a relevant answer, please read and follow [1], I think point 6 is very close to this question. Specifically: - please give more information on your problem. E.g

Re: [Yade-users] [Question #556258]: yade install problem

2017-03-12 Thread Jan Stránský
Question #556258 on Yade changed: https://answers.launchpad.net/yade/+question/556258 Jan Stránský posted a new comment: Just a comment, for Ubuntu (preferably a newer version like 16.04), you can install yade just by sudo apt-get install yade Jan -- You received this question notification

Re: [Yade-users] [Question #556258]: yade install problem

2017-03-12 Thread Jan Stránský
Question #556258 on Yade changed: https://answers.launchpad.net/yade/+question/556258 Jan Stránský posted a new comment: Hi Tanvir, it seems that Yade is installed correctly. The problem seems to be inside your script, namely: File "20160108PeriodicStreamVersionCOUPLING3D.py"

Re: [Yade-users] [Question #537735]: Error Stl import

2017-03-10 Thread Jan Stránský
Question #537735 on Yade changed: https://answers.launchpad.net/yade/+question/537735 Jan Stránský posted a new comment: Hi Luis, see [1], the same problem with the same version of Yade, so it seems to be " more software related".. Could you use "standard" 1.20.0 version (

Re: [Yade-users] [Question #537735]: Error Stl import

2017-03-08 Thread Jan Stránský
Question #537735 on Yade changed: https://answers.launchpad.net/yade/+question/537735 Jan Stránský posted a new comment: Hi Luis, just tried it the script without the file you have sent and everything worked well.. I used yade-1.20.0 on Ubuntu 16.04. What version of Yade and system do you use

Re: [Yade-users] [Question #483523]: concurrent multiscale method by coupling YADE with FEM

2017-03-06 Thread Jan Stránský
Question #483523 on Yade changed: https://answers.launchpad.net/yade/+question/483523 Jan Stránský posted a new comment: Hello, sorry for late answer. Please send me email (I could not find yours) and as the answer I will send you an installation script and some examples :-) cheers Jan -- You

Re: [Yade-users] [Question #517125]: How to set an correct Id of a particle assembly

2017-03-03 Thread Jan Stránský
Question #517125 on Yade changed: https://answers.launchpad.net/yade/+question/517125 Jan Stránský proposed the following answer: Hi Huihuang, ​randomDensePack returns list of spheres. To handle all the spheres, you have to iterate over the list, see 1). if you O.bodies.append with one particle

Re: [Yade-users] [Question #497350]: Export a polyhedron into a *.stl or * .gts file

2017-03-03 Thread Jan Stránský
Question #497350 on Yade changed: https://answers.launchpad.net/yade/+question/497350 Status: Open => Answered Jan Stránský proposed the following answer: Hi Tina, > "Can't open file: tina.st" it means that the file cannot be opened :-) could you check if it exists? I put

Re: [Yade-users] [Question #515400]: Introduction of defects

2017-03-02 Thread Jan Stránský
Question #515400 on Yade changed: https://answers.launchpad.net/yade/+question/515400 Status: Open => Answered Jan Stránský proposed the following answer: Hello, I am new to Yade welcome :-) for f in O.forces : > f.addF((-1,0,0)) for b in O.

Re: [Yade-users] [Question #497350]: Export a polyhedron into a *.stl or * .gts file

2017-03-02 Thread Jan Stránský
Question #497350 on Yade changed: https://answers.launchpad.net/yade/+question/497350 Status: Open => Answered Jan Stránský proposed the following answer: Hi Tina, thanks for clarification :-) you have several options here, using existing answers of this question: (ymport.stl returns l

Re: [Yade-users] [Question #509268]: Error in installation from source code

2017-03-02 Thread Jan Stránský
Question #509268 on Yade changed: https://answers.launchpad.net/yade/+question/509268 Status: Open => Answered Jan Stránský proposed the following answer: Hi Mike, what Ubuntu version do you use? thanks Jan -- You received this question notification because your team yade-us

Re: [Yade-users] [Question #482400]: index out of range

2017-03-21 Thread Jan Stránský
Question #482400 on Yade changed: https://answers.launchpad.net/yade/+question/482400 Jan Stránský posted a new comment: > "bash: syntax error the "bash" looks very suspicious.. could you please send all commands (including console command starting yade or possibly even som

Re: [Yade-users] [Question #622071]: a problem about micro-stress computing

2017-04-18 Thread Jan Stránský
Question #622071 on Yade changed: https://answers.launchpad.net/yade/+question/622071 Status: Open => Answered Jan Stránský proposed the following answer: The matrix is a matrix representation of stress tensor [1], so the values you get are stress = (s_x, t_xy, t_xz, t_yx, s_y, t_yz, t

Re: [Yade-users] [Question #622071]: a problem about micro-stress computing

2017-04-18 Thread Jan Stránský
Question #622071 on Yade changed: https://answers.launchpad.net/yade/+question/622071 Status: Open => Answered Jan Stránský proposed the following answer: Hello, > stress=s[100]**4 it is a typo, should be stress=s[100]*4 with single * symbol cheers Jan -- You received this qu

Re: [Yade-users] [Question #622060]: a problem about vtk

2017-04-18 Thread Jan Stránský
Question #622060 on Yade changed: https://answers.launchpad.net/yade/+question/622060 Status: Open => Answered Jan Stránský proposed the following answer: Hello, what system and version of Yade do you use? thanks Jan -- You received this question notification because your team yade-us

Re: [Yade-users] [Question #622060]: a problem about vtk

2017-04-18 Thread Jan Stránský
Question #622060 on Yade changed: https://answers.launchpad.net/yade/+question/622060 Status: Open => Answered Jan Stránský proposed the following answer: Hello, > O.run(5) If you execute some code after O.run, use either O.run(5,True) or O.run(5) O.wait() otherwise the co

Re: [Yade-users] [Question #622071]: a problem about micro-stress computing

2017-04-19 Thread Jan Stránský
Question #622071 on Yade changed: https://answers.launchpad.net/yade/+question/622071 Jan Stránský posted a new comment: > Is the reason that the stress calculation is approximate calculation? oppositely, the reason is exact calculation :-) in general, stress may be non-symmetric beca

Re: [Yade-users] [Question #443228]: segmentation fault using two kinds of cohefricmats under cohesive triaxial test

2017-04-19 Thread Jan Stránský
Question #443228 on Yade changed: https://answers.launchpad.net/yade/+question/443228 Jan Stránský posted a new comment: Strange, I tried it now and also got segmentation fault, too.. below see valgrind output in case it help for somebody. The error occurs at the beginning of the last O.run

Re: [Yade-users] [Question #626814]: Calculate the particle size distribution after particle crushing

2017-04-24 Thread Jan Stránský
Question #626814 on Yade changed: https://answers.launchpad.net/yade/+question/626814 Status: Open => Answered Jan Stránský proposed the following answer: Hi Tina, the approach you mentioned returns ids os particles of each grain. With this information, you can somehow (*) compute s

Re: [Yade-users] [Question #654044]: Error while sphere packing in geometry

2017-07-28 Thread Jan Stránský
Question #654044 on Yade changed: https://answers.launchpad.net/yade/+question/654044 Status: Open => Answered Jan Stránský proposed the following answer: Hello, > No suitable packing in database found, running PERIODIC compression it is no error, just info message To get s

Re: [Yade-users] [Question #650549]: triaxial test code

2017-07-28 Thread Jan Stránský
Question #650549 on Yade changed: https://answers.launchpad.net/yade/+question/650549 Status: Open => Answered Jan Stránský proposed the following answer: Hello, > I ... pasted some codes from the tutorial and tried to run please, if your problem is related to the code, send th

Re: [Yade-users] [Question #653755]: Build error: no suitable spherical body to calculate dt

2017-07-31 Thread Jan Stránský
Question #653755 on Yade changed: https://answers.launchpad.net/yade/+question/653755 Status: Open => Answered Jan Stránský proposed the following answer: Hello, those versions are relatively old.. so problems related to those versions will be difficult to test and will not be solved any

Re: [Yade-users] [Question #654392]: ValueError: setting an array element with a sequence

2017-07-31 Thread Jan Stránský
Question #654392 on Yade changed: https://answers.launchpad.net/yade/+question/654392 Status: Open => Answered Jan Stránský proposed the following answer: Hi Jabrane, please provide a consistent script and .txt data. In this example I got either IOError: [Errno 2] No such file or direct

Re: [Yade-users] [Question #654435]: Yade breaks terminal

2017-08-02 Thread Jan Stránský
Question #654435 on Yade changed: https://answers.launchpad.net/yade/+question/654435 Jan Stránský confirmed that the question is solved: Thanks Antonio Pol, that solved my question. -- You received this question notification because your team yade-users is an answer contact for Yade

Re: [Yade-users] [Question #654435]: Yade breaks terminal

2017-08-02 Thread Jan Stránský
Question #654435 on Yade changed: https://answers.launchpad.net/yade/+question/654435 Status: Answered => Solved Jan Stránský confirmed that the question is solved: Hello, @Antonio: thanks, I was looking for exactly this post :-) @Robert: I don't think I did any manual Qt manipulat

Re: [Yade-users] [Question #655866]: Rel. to Uniaxial test

2017-08-16 Thread Jan Stránský
Question #655866 on Yade changed: https://answers.launchpad.net/yade/+question/655866 Jan Stránský proposed the following answer: Hello, > negIds,posIds,axis,crossSectionArea=bb['negIds'],bb['posIds'],bb['axis'],bb['area'] --> this time the command worked unlike the last time when I got an

Re: [Yade-users] [Question #655697]: sth about stressmask

2017-08-10 Thread Jan Stránský
Question #655697 on Yade changed: https://answers.launchpad.net/yade/+question/655697 Status: Open => Answered Jan Stránský proposed the following answer: Hello, have a look at [1] cheers Jan [1] https://answers.launchpad.net/yade/+question/653503 -- You received this quest

Re: [Yade-users] [Question #655490]: Is this program suitable for a problem of impact of rigid rock against elastis-plastic wall with hardening?

2017-08-11 Thread Jan Stránský
Question #655490 on Yade changed: https://answers.launchpad.net/yade/+question/655490 Status: Open => Answered Jan Stránský proposed the following answer: Hello, I would say the main question is if DEM is suitable for this kind problem. The specific software comes afterwards. Do you k

Re: [Yade-users] [Question #645958]: creating a cloud of compressed aggregates/clumps

2017-08-14 Thread Jan Stránský
Question #645958 on Yade changed: https://answers.launchpad.net/yade/+question/645958 Status: Open => Answered Jan Stránský proposed the following answer: Hello, I am not familiar with PeriTriaxController myself. Anyway, see [1] for docs > compressor.allowBiggerThanPerio

Re: [Yade-users] [Question #655889]: Getting black windows when using O.wait after first O.run().

2017-08-14 Thread Jan Stránský
Question #655889 on Yade changed: https://answers.launchpad.net/yade/+question/655889 Status: Open => Answered Jan Stránský proposed the following answer: Hi Ataollah, yes, it is normal. O.wait (or O.run(...,True) ) simply waits (including controller, plots, 3d view..) until the specif

Re: [Yade-users] [Question #653178]: triaxial test - flexible membrane

2017-08-10 Thread Jan Stránský
Question #653178 on Yade changed: https://answers.launchpad.net/yade/+question/653178 Jan Stránský posted a new comment: Hello, sorry for late answer. I have tried your script and could not reproduce your problem. The plates has nonzero force, i.e. it does apply forces on particles

Re: [Yade-users] [Question #645958]: creating a cloud of compressed aggregates/clumps

2017-08-10 Thread Jan Stránský
Question #645958 on Yade changed: https://answers.launchpad.net/yade/+question/645958 Jan Stránský posted a new comment: Hi, do you just use O.periodic=True, or also O.cell.setBox? I am not very familiar with TriaxialStressController, but is uses walls for compression, so I would say using

Re: [Yade-users] [Question #645958]: creating a cloud of compressed aggregates/clumps

2017-08-10 Thread Jan Stránský
Question #645958 on Yade changed: https://answers.launchpad.net/yade/+question/645958 Status: Open => Answered Jan Stránský proposed the following answer: Hi, I see all particles after: O.periodic = True O.cell.setBox(2e-6,2e-6,2e-6) > I guess Peri3dController or PeriTriaxControll

Re: [Yade-users] [Question #645958]: creating a cloud of compressed aggregates/clumps

2017-08-10 Thread Jan Stránský
Question #645958 on Yade changed: https://answers.launchpad.net/yade/+question/645958 Jan Stránský posted a new comment: https://yade-dem.org/doc/yade.wrapper.html#yade.wrapper.InsertionSortCollider.allowBiggerThanPeriod but as I said, I would not combine TriaxialStressController and O.periodic

Re: [Yade-users] [Question #647543]: Implementing a new contact model

2017-07-12 Thread Jan Stránský
Question #647543 on Yade changed: https://answers.launchpad.net/yade/+question/647543 Status: Open => Answered Jan Stránský proposed the following answer: Hi Nima, 1,2,4) If I understood correctly, you have new parameters of material, new parameters to be stored on contacts and

Re: [Yade-users] [Question #647492]: YADE-OpenFOAM Coupling

2017-07-12 Thread Jan Stránský
Question #647492 on Yade changed: https://answers.launchpad.net/yade/+question/647492 Status: Open => Answered Jan Stránský proposed the following answer: Hi Ed, 1) if you export data form OpenFOAM, you can do whatever you want with them in Yade. I would guess simple text files wo

Re: [Yade-users] [Question #647318]: How to generate particles in a cylinder given their mass distribution with size?

2017-07-12 Thread Jan Stránský
Question #647318 on Yade changed: https://answers.launchpad.net/yade/+question/647318 Status: Open => Answered Jan Stránský proposed the following answer: Hello, take care of error and warnings. I got WARN /build/yade-KKgSmd/yade-1.20.0/pkg/dem/SpherePack.cpp:211 makeCloud: Exceeded 1

Re: [Yade-users] [Question #647299]: About plotting the histogram for distribution of interaction directions

2017-07-14 Thread Jan Stránský
Question #647299 on Yade changed: https://answers.launchpad.net/yade/+question/647299 Jan Stránský posted a new comment: > I also want to know whether we can convert the vtk files, which save the interaction information of the whole system, into text files. vtk files are text files themsel

Re: [Yade-users] [Question #647446]: i need help to model gravels (28cm-50cm)in a box. Any help please. is for a college project work.-(we can talk about cost)

2017-07-11 Thread Jan Stránský
Question #647446 on Yade changed: https://answers.launchpad.net/yade/+question/647446 Jan Stránský posted a new comment: end of August is pretty close deadline :-) What you describe is in principle no problem, especially if a result could be "I did the simulation, but it does not corre

Re: [Yade-users] [Question #647446]: i need help to model gravels (28cm-50cm)in a box. Any help please. is for a college project work.-(we can talk about cost)

2017-07-11 Thread Jan Stránský
Question #647446 on Yade changed: https://answers.launchpad.net/yade/+question/647446 Jan Stránský posted a new comment: Hello, please provide more information [1]. E.g.: - what is your experience with DEM / Yade - how many gravel particles - what you want to simulate (gravels in a box can mean

Re: [Yade-users] [Question #647318]: How to generate particles in a cylinder given their mass distribution with size?

2017-07-11 Thread Jan Stránský
Question #647318 on Yade changed: https://answers.launchpad.net/yade/+question/647318 Status: Open => Answered Jan Stránský proposed the following answer: > Should I use pack.SpherePack() or O.bodies.append(loop for particle > generation) ? Yes, both :-) You can use the

Re: [Yade-users] [Question #646460]: translation of a rotating cylinder

2017-07-08 Thread Jan Stránský
Question #646460 on Yade changed: https://answers.launchpad.net/yade/+question/646460 Jan Stránský posted a new comment: @Jerome: The problem is not that it is not in O.engines from the start, but that RotationEngine+TranslationEngine is actually CombinedKinematicEngine. The label

Re: [Yade-users] [Question #646457]: Impact of two differently sized spheres with a constant normal velocity and varying angular velocities

2017-07-07 Thread Jan Stránský
Question #646457 on Yade changed: https://answers.launchpad.net/yade/+question/646457 Jan Stránský posted a new comment: Sorry, it was due to very quick look :-) I am not very familiar with MidlinPhys, so probably you have to wait for somebody else to help.. cheers Jan -- You received

Re: [Yade-users] [Question #647543]: Implementing a new contact model

2017-07-12 Thread Jan Stránský
Question #647543 on Yade changed: https://answers.launchpad.net/yade/+question/647543 Status: Open => Answered Jan Stránský proposed the following answer: 1) yes, I would do it in that way. Have a look e.g. at CohFrictMat [1]. It just adds some more material parameters than FrictMat I wo

Re: [Yade-users] [Question #647446]: i need help to model gravels (28cm-50cm)in a box. Any help please. is for a college project work.-(we can talk about cost)

2017-07-12 Thread Jan Stránský
Question #647446 on Yade changed: https://answers.launchpad.net/yade/+question/647446 Status: Open => Answered Jan Stránský proposed the following answer: A MWE below. I used polyhedra, but it takes a lot of time. Spheres with high friction coefficient ma be used to simulate polyhe

Re: [Yade-users] [Question #647595]: save and loading

2017-07-12 Thread Jan Stránský
Question #647595 on Yade changed: https://answers.launchpad.net/yade/+question/647595 Status: Open => Answered Jan Stránský proposed the following answer: Hello, > I am a new user welcome :-) use O.run(10,True) # note True argument or O.run(10); O.wait() to make yade wait

Re: [Yade-users] [Question #647591]: a mistake of GlobalStiffnessTimeStepper of timestep updation?

2017-07-12 Thread Jan Stránský
Question #647591 on Yade changed: https://answers.launchpad.net/yade/+question/647591 Status: Open => Answered Jan Stránský proposed the following answer: Hello, according to your description, everything seems OK to me. PWaveTimeStep just do something like min(radius/sqrt(young/dens

Re: [Yade-users] [Question #647446]: i need help to model gravels (28cm-50cm)in a box. Any help please. is for a college project work.-(we can talk about cost)

2017-07-13 Thread Jan Stránský
Question #647446 on Yade changed: https://answers.launchpad.net/yade/+question/647446 Jan Stránský posted a new comment: you can easily modify and test various input parameters. Now they are set to make the simuation faster (e.g. gravity is set to 100). Apart form polyhedra, you can use

Re: [Yade-users] [Question #647311]: plot velocity

2017-07-10 Thread Jan Stránský
Question #647311 on Yade changed: https://answers.launchpad.net/yade/+question/647311 Status: Open => Answered Jan Stránský proposed the following answer: Hi Rodolfo, > I am new user in yade welcome :-) > I would like to know if is possible build a chart from sphere velocity

Re: [Yade-users] [Question #647311]: plot velocity

2017-07-10 Thread Jan Stránský
Question #647311 on Yade changed: https://answers.launchpad.net/yade/+question/647311 Jan Stránský posted a new comment: sorry, the correct plot.plots line should be: plot.plots = {'time':'vz'} Jan -- You received this question notification because your team yade-users is an answer contact

Re: [Yade-users] [Question #646460]: translation of a rotating cylinder

2017-07-07 Thread Jan Stránský
Question #646460 on Yade changed: https://answers.launchpad.net/yade/+question/646460 Status: Open => Answered Jan Stránský proposed the following answer: Hi Guilhem, thanks for the script. Yes, labels in this case are not taken into account. Currently only labels of "first order&

Re: [Yade-users] [Question #647318]: How to generate particles in a cylinder given their mass distribution with size?

2017-07-10 Thread Jan Stránský
Question #647318 on Yade changed: https://answers.launchpad.net/yade/+question/647318 Status: Open => Answered Jan Stránský proposed the following answer: Hello, I see several options, based on your goal (about which I am not sure from your message). It also depends on the mean

Re: [Yade-users] [Question #648734]: DOFs of facetSphere

2017-07-16 Thread Jan Stránský
Question #648734 on Yade changed: https://answers.launchpad.net/yade/+question/648734 Status: Open => Answered Jan Stránský proposed the following answer: Hello Huihuang, facets have zero mass and inertia by default. It does not matter if they are fixed, but once you let them move, you h

Re: [Yade-users] [Question #404479]: Triaxial test on a cylinder

2017-07-20 Thread Jan Stránský
Question #404479 on Yade changed: https://answers.launchpad.net/yade/+question/404479 Jan Stránský posted a new comment: Hello, please open a new question, your question is a different topic and this question is closed. Also please read [1], especially points 3 and 6 thanks Jan [1] https://yade

Re: [Yade-users] [Question #647318]: How to generate particles in a cylinder given their mass distribution with size?

2017-07-18 Thread Jan Stránský
Question #647318 on Yade changed: https://answers.launchpad.net/yade/+question/647318 Jan Stránský proposed the following answer: Hi Hashir, the geometry is different each time, because makeCloud creates each time different initial positions. Use seed to make it each time the same sp.makeCloud

Re: [Yade-users] [Question #650554]: Is something going on in the background when pack.randomDensePack() is used?

2017-07-20 Thread Jan Stránský
Question #650554 on Yade changed: https://answers.launchpad.net/yade/+question/650554 Status: Open => Answered Jan Stránský proposed the following answer: Thanks, I think it has nothing to do with randomDensePack, but again with number of particles. Around 500k particles is relatively h

Re: [Yade-users] [Question #650554]: Is something going on in the background when pack.randomDensePack() is used?

2017-07-20 Thread Jan Stránský
Question #650554 on Yade changed: https://answers.launchpad.net/yade/+question/650554 Jan Stránský posted a new comment: randomDensePack has two "modes" 1) (without spheresInCell) generates randomly all needed spheres compress them around predicate and crop them. For small number of

Re: [Yade-users] [Question #650554]: Is something going on in the background when pack.randomDensePack() is used?

2017-07-20 Thread Jan Stránský
Question #650554 on Yade changed: https://answers.launchpad.net/yade/+question/650554 Jan Stránský posted a new comment: a working example please :-) I am getting KeyError: "No material labeled `walls'." thanks Jan -- You received this question notification because your team

Re: [Yade-users] [Question #650554]: Is something going on in the background when pack.randomDensePack() is used?

2017-07-20 Thread Jan Stránský
Question #650554 on Yade changed: https://answers.launchpad.net/yade/+question/650554 Jan Stránský proposed the following answer: spheresInCell parameter (despite its name) is irrelevant here (I can elaborate more if you are interested). What is important is absolute number of particles

Re: [Yade-users] [Question #648259]: rotation of gravity or box?

2017-07-16 Thread Jan Stránský
Question #648259 on Yade changed: https://answers.launchpad.net/yade/+question/648259 Status: Open => Answered Jan Stránský proposed the following answer: Hi Luc, I would say the results should be theoretically identical. Then I would go in the easier way, i.e. just changing the va

Re: [Yade-users] [Question #650549]: triaxial test code

2017-07-21 Thread Jan Stránský
Question #650549 on Yade changed: https://answers.launchpad.net/yade/+question/650549 Jan Stránský posted a new comment: Hello, please read [1] again. Afterwards, read it once more with special focus on points 2, 3 and 6. Then try to give a more detailed info (as already asked in the previous

Re: [Yade-users] [Question #652185]: when i give a zero strain at the first step

2017-07-22 Thread Jan Stránský
Question #652185 on Yade changed: https://answers.launchpad.net/yade/+question/652185 Status: Open => Answered Jan Stránský proposed the following answer: Hi Wang, please provide a complete MWE [1]. Depending on the rest of the code, the stress may have any arbitrary value. Also if you

Re: [Yade-users] [Question #646460]: translation of a rotating cylinder

2017-07-22 Thread Jan Stránský
Question #646460 on Yade changed: https://answers.launchpad.net/yade/+question/646460 Jan Stránský posted a new comment: Hi Guilhem, just a remark, your code from #2 should work in yadedaily or compiled new version [1] :-) cheers Jan [1] https://github.com/yade/trunk/commit

Re: [Yade-users] [Question #652160]: Why am I not able to see any translatory motion?

2017-07-22 Thread Jan Stránský
Question #652160 on Yade changed: https://answers.launchpad.net/yade/+question/652160 Status: Open => Answered Jan Stránský proposed the following answer: Hi, you can test the displacement by Body.state.displ(), e.g. print max(b.state.displ().norm() for b in O.bodies) to test the va

Re: [Yade-users] [Question #652261]: at the beginning steps, the stresses are the same when i use different young of balls

2017-07-23 Thread Jan Stránský
Question #652261 on Yade changed: https://answers.launchpad.net/yade/+question/652261 Status: Open => Answered Jan Stránský proposed the following answer: Hello, > so you cannnot test it only using Yade for testing and asking questions, try your best to make the problem Yade-onl

Re: [Yade-users] [Question #652261]: at the beginning steps, the stresses are the same when i use different young of balls

2017-07-23 Thread Jan Stránský
Question #652261 on Yade changed: https://answers.launchpad.net/yade/+question/652261 Status: Open => Answered Jan Stránský proposed the following answer: Sorry, I misinterpreted you code. Please really try to make Yade standalone MWE (Minimal Working example, [1]), otherwise it is j

Re: [Yade-users] [Question #653755]: Build error: no suitable spherical body to calculate dt

2017-07-27 Thread Jan Stránský
Question #653755 on Yade changed: https://answers.launchpad.net/yade/+question/653755 Status: Open => Answered Jan Stránský proposed the following answer: Hello, please provide the problematic code and other information (version of Yade, operating system ..) [1] This code works fine form

Re: [Yade-users] [Question #653503]: stressMask

2017-07-27 Thread Jan Stránský
Question #653503 on Yade changed: https://answers.launchpad.net/yade/+question/653503 Jan Stránský proposed the following answer: in binary representation: 1 means stress controlled direction 0 means strain controlled direction you can use this functions to play with: ## def array2mask

Re: [Yade-users] [Question #650740]: How to apply force on a certain area normally and at an angle?

2017-07-25 Thread Jan Stránský
Question #650740 on Yade changed: https://answers.launchpad.net/yade/+question/650740 Status: Open => Answered Jan Stránský proposed the following answer: with PID Controller, you actually prescribe velocity and force is measured.. have you tried axis parameter [1]? Jan [1] https://y

Re: [Yade-users] [Question #652261]: at the beginning steps, the stresses are the same when i use different young of balls

2017-07-25 Thread Jan Stránský
Question #652261 on Yade changed: https://answers.launchpad.net/yade/+question/652261 Status: Open => Answered Jan Stránský proposed the following answer: Hi Wang, thanks for the script, it is a bit clearer now. But next time, please try to make it Minimal and Working (e.g. I cannot

Re: [Yade-users] [Question #652966]: utils.getStressAndTangent()

2017-07-25 Thread Jan Stránský
Question #652966 on Yade changed: https://answers.launchpad.net/yade/+question/652966 Status: Open => Answered Jan Stránský proposed the following answer: Hello, yes, getStressAndTangent is missing because of old Yade version, 1.07 is from 2014-01 apt-get tells it is the newest vers

Re: [Yade-users] [Question #650016]: What is the best way to create a cuboidal box of particles?

2017-07-19 Thread Jan Stránský
Question #650016 on Yade changed: https://answers.launchpad.net/yade/+question/650016 Status: Open => Answered Jan Stránský proposed the following answer: Hi Hashir, please provide a complete MWE [1] > No suitable packing in database found, running periodic compression. it is no

Re: [Yade-users] [Question #652282]: Why do the particles go up when all the forces(including gravity) are applied in the downward direction?

2017-07-24 Thread Jan Stránský
Question #652282 on Yade changed: https://answers.launchpad.net/yade/+question/652282 Jan Stránský posted a new comment: Hi Hashir, please try the scripts to be working before posting them. Here I got "NameError: name 'young' is not defined". thanks Jan -- You received thi

Re: [Yade-users] [Question #651196]: how much time is needed to run one triaxial model using yade? because I wonder it makes me wait large amount of minutes. and my ubuntu 15.01 shutdowns when I run y

2017-07-21 Thread Jan Stránský
Question #651196 on Yade changed: https://answers.launchpad.net/yade/+question/651196 Status: Open => Answered Jan Stránský proposed the following answer: Hello, > ubuntu 15.01 did you mean Ubuntu 15.10? If yes, why do you use this version? > how much time is needed to run one

Re: [Yade-users] [Question #644698]: scipy.ndimage import

2017-06-30 Thread Jan Stránský
Question #644698 on Yade changed: https://answers.launchpad.net/yade/+question/644698 Status: Open => Answered Jan Stránský proposed the following answer: > So that means that is still using the '/usr/bin/python' version of python? yes > How do I define another version

Re: [Yade-users] [Question #643163]: Friction at interface simulation using Yade

2017-07-01 Thread Jan Stránský
Question #643163 on Yade changed: https://answers.launchpad.net/yade/+question/643163 Jan Stránský posted a new comment: Hello. interactionsa are not cohesive by default. To make them cohesive, use Ip2_FrictMat_FrictMat_FrictPhys(setCohesionNow=True,setCohesionOnNewContacts=False) most likely

Re: [Yade-users] [Question #645503]: compressed packing of a small number of aggregates

2017-07-01 Thread Jan Stránský
Question #645503 on Yade changed: https://answers.launchpad.net/yade/+question/645503 Jan Stránský proposed the following answer: > You are right about the NaN there are a whole bunch of them .. What does this mean? from my experience, most of the time this is because of too large time s

Re: [Yade-users] [Question #645503]: compressed packing of a small number of aggregates

2017-07-01 Thread Jan Stránský
Question #645503 on Yade changed: https://answers.launchpad.net/yade/+question/645503 Status: Open => Answered Jan Stránský proposed the following answer: Hello, do you have any evidence (other than visual) that there are fewer particles? Could you try to to print pos, ori, mass and iner

Re: [Yade-users] [Question #645503]: compressed packing of a small number of aggregates

2017-07-01 Thread Jan Stránský
Question #645503 on Yade changed: https://answers.launchpad.net/yade/+question/645503 Jan Stránský proposed the following answer: I have tried the simulation with divided.txt. After one step, one agglomerate disappears. Before the first step, it has two colors, which is suspicious. Could you

Re: [Yade-users] [Question #645958]: creating a cloud of compressed aggregates/clumps

2017-07-04 Thread Jan Stránský
Question #645958 on Yade changed: https://answers.launchpad.net/yade/+question/645958 Status: Open => Answered Jan Stránský proposed the following answer: Hi Jesse, could you try different compressor.goal values, like -1e6 or -1e7? You can experiment a bit.. if it does not help, ple

Re: [Yade-users] [Question #645973]: Triaxial Test on a cylinder

2017-07-04 Thread Jan Stránský
Question #645973 on Yade changed: https://answers.launchpad.net/yade/+question/645973 Status: Open => Answered Jan Stránský proposed the following answer: Hello, > I am a newbie in yade welcome :-) please be more specific on "generate a cylinder". If it means to extract

Re: [Yade-users] [Question #645989]: Periodic boundaries: switching planes of symmetry

2017-07-04 Thread Jan Stránský
Question #645989 on Yade changed: https://answers.launchpad.net/yade/+question/645989 Status: Open => Answered Jan Stránský proposed the following answer: Hello Rodrigo, sorry, the simple answer is no, it is not possible to use this trick :-) I think it could be possible to **try** someth

Re: [Yade-users] [Question #644873]: getroundness

2017-07-04 Thread Jan Stránský
Question #644873 on Yade changed: https://answers.launchpad.net/yade/+question/644873 Jan Stránský posted a new comment: @Christian: for MWE, see #1 (1st answer, actually Mohsen's comment) of this thread. After a quick look, the only suspicious circumstance I saw was that the spheres were

Re: [Yade-users] [Question #646077]: Random periodic packing with different volume fractions

2017-07-04 Thread Jan Stránský
Question #646077 on Yade changed: https://answers.launchpad.net/yade/+question/646077 Status: Open => Answered Jan Stránský proposed the following answer: Hello, an easy way (IMO) is to "copy-paste" the randomPeriPack function and add a possibility to modify frictionAngle of

Re: [Yade-users] [Question #645958]: creating a cloud of compressed aggregates/clumps

2017-07-06 Thread Jan Stránský
Question #645958 on Yade changed: https://answers.launchpad.net/yade/+question/645958 Status: Open => Answered Jan Stránský proposed the following answer: Hi Jesse, I have tried the following code, it gives different results for different goals. Also ig you are looking for as de

Re: [Yade-users] [Question #645973]: Triaxial Test on a cylinder

2017-07-06 Thread Jan Stránský
Question #645973 on Yade changed: https://answers.launchpad.net/yade/+question/645973 Status: Open => Answered Jan Stránský proposed the following answer: you place/execute the snippet just after your commands :-) # TriaxialTest(numberOfGrains=500).load() O.run(1000,True) # T

Re: [Yade-users] [Question #646457]: Impact of two differently sized spheres with a constant normal velocity and varying angular velocities

2017-07-06 Thread Jan Stránský
Question #646457 on Yade changed: https://answers.launchpad.net/yade/+question/646457 Status: Open => Answered Jan Stránský proposed the following answer: Hello, I have had a **very** quick look to the article and your code. According to table 2, shouldn't the used materials be al_al

Re: [Yade-users] [Question #645300]: Meaning ofchanging color in disply window

2017-06-28 Thread Jan Stránský
Question #645300 on Yade changed: https://answers.launchpad.net/yade/+question/645300 Status: Open => Answered Jan Stránský proposed the following answer: It always depends on specific code. You can assign any color depending on any quantity. In the case of uniaxial test of concrete I wo

Re: [Yade-users] [Question #644873]: getroundness

2017-06-28 Thread Jan Stránský
Question #644873 on Yade changed: https://answers.launchpad.net/yade/+question/644873 Status: Open => Answered Jan Stránský proposed the following answer: Hi Mohsen, I don't know the method, but have a look at the source code. Maybe the method does not work for overlapping spheres? che

Re: [Yade-users] [Question #644698]: scipy.ndimage import

2017-06-28 Thread Jan Stránský
Question #644698 on Yade changed: https://answers.launchpad.net/yade/+question/644698 Status: Open => Answered Jan Stránský proposed the following answer: Hello, in terminal, try the following: which yade # /usr/bin/yade in my case head /usr/bin/yade # prints first lines of yade executa

Re: [Yade-users] [Question #628632]: Modeling particle breakage in YADE

2017-04-26 Thread Jan Stránský
Question #628632 on Yade changed: https://answers.launchpad.net/yade/+question/628632 Status: Open => Answered Jan Stránský proposed the following answer: Hi Tina, > Actually, I want to model breakage of this brittle material whose porosity is no greater than 0.3. Besides, I also

Re: [Yade-users] [Question #629464]: problem to start a batch simulation

2017-04-28 Thread Jan Stránský
Question #629464 on Yade changed: https://answers.launchpad.net/yade/+question/629464 Jan Stránský posted a new comment: Just a comment, see also [1], I would distinguis the version in alias, something like alias yade-batch-2016.06a='/path/to/install/bin/yade-batch' cheers Jan [1] https

<    6   7   8   9   10   11   12   13   14   15   >