Re: [Yade-users] [Question #288118]: What does the list returned by getConstrictionsFull() stands for in FlowEngine() ?

2016-03-09 Thread Bruno Chareyre
Question #288118 on Yade changed: https://answers.launchpad.net/yade/+question/288118 Bruno Chareyre proposed the following answer: The change is not yet reflected in the binary package "yadedaily", the fast solution is to compile from sources. See the "compilation" section

Re: [Yade-users] [Question #288118]: What does the list returned by getConstrictionsFull() stands for in FlowEngine() ?

2016-03-09 Thread Bruno Chareyre
Question #288118 on Yade changed: https://answers.launchpad.net/yade/+question/288118 Bruno Chareyre posted a new comment: It is fixed here, please update your code and let me know if it makes more sense: https://github.com/yade/trunk/commit/12f9bf90e84da4d79ec1443bc1e24f4e77e55b01 -- You

Re: [Yade-users] [Question #288118]: What does the list returned by getConstrictionsFull() stands for in FlowEngine() ?

2016-03-08 Thread Bruno Chareyre
Question #288118 on Yade changed: https://answers.launchpad.net/yade/+question/288118 Status: Open => Answered Bruno Chareyre proposed the following answer: You guessed correctly. The normal, it is not a unit vector because it is proportional to the fluid cross section. Not sure how

Re: [Yade-users] [Question #288003]: How to run yade in parallel with load() function

2016-03-08 Thread Bruno Chareyre
Question #288003 on Yade changed: https://answers.launchpad.net/yade/+question/288003 Bruno Chareyre posted a new comment: Given the additional information, I would say you found a rather intricate problem for profiling in multithread context. Do you really need profiling and parallel execution

Re: [Yade-users] [Question #285260]: contact stiffness change y time

2016-03-04 Thread Bruno Chareyre
Question #285260 on Yade changed: https://answers.launchpad.net/yade/+question/285260 Bruno Chareyre posted a new comment: I understand your view. On my side I'm reluctant to spend time on fixing something when I think it cannot work. :) Understanding the cause of your problem needs a clear

Re: [Yade-users] [Question #285260]: contact stiffness change y time

2016-03-03 Thread Bruno Chareyre
Question #285260 on Yade changed: https://answers.launchpad.net/yade/+question/285260 Bruno Chareyre proposed the following answer: I just checked the reference in #9. IMHO the approach is flawn and its implementation is a nightmare (section 5 as whole is weird on other points to). Eq. 1

Re: [Yade-users] [Question #285260]: contact stiffness change y time

2016-03-02 Thread Bruno Chareyre
Question #285260 on Yade changed: https://answers.launchpad.net/yade/+question/285260 Bruno Chareyre proposed the following answer: >The idea is to get a viscoelastic model embedded in an elastic model. What is the advantage of not writing simply a viscoelastic equation? There are examp

Re: [Yade-users] [Question #286542]: Interaction detection problem during periodic simulation

2016-02-23 Thread Bruno Chareyre
Question #286542 on Yade changed: https://answers.launchpad.net/yade/+question/286542 Bruno Chareyre posted a new comment: Doesn't work for me. Which version are you using? bchareyre@dt-rv020:~/yade/yade/bin$ yadedaily test.py Welcome to Yade 1.14.0-54-f44c022~trusty TCP python prompt

Re: [Yade-users] [Question #286542]: Interaction detection problem during periodic simulation

2016-02-23 Thread Bruno Chareyre
Question #286542 on Yade changed: https://answers.launchpad.net/yade/+question/286542 Status: Open => Answered Bruno Chareyre proposed the following answer: Please see https://yade-dem.org/wiki/Howtoask, especially point 3. -- You received this question notification because your team y

Re: [Yade-users] [Question #285535]: Keeping track of internal energy in the Law2_ScGeom6D_CohFrictPhys_CohesionMoment contact law

2016-02-16 Thread Bruno Chareyre
Question #285535 on Yade changed: https://answers.launchpad.net/yade/+question/285535 Bruno Chareyre posted a new comment: >I am using the yadedaily version of the software. It is not synchronized yet I think, but you can compile the source if you want to try the last. -- You recei

Re: [Yade-users] [Question #285535]: Keeping track of internal energy in the Law2_ScGeom6D_CohFrictPhys_CohesionMoment contact law

2016-02-15 Thread Bruno Chareyre
Question #285535 on Yade changed: https://answers.launchpad.net/yade/+question/285535 Bruno Chareyre posted a new comment: @Jan > "To get the dissipation energy, you have to define O.trackEnergy=True." It depends on the contact model in fact. Some law functors have their own

Re: [Yade-users] [Question #285535]: Keeping track of internal energy in the Law2_ScGeom6D_CohFrictPhys_CohesionMoment contact law

2016-02-15 Thread Bruno Chareyre
Question #285535 on Yade changed: https://answers.launchpad.net/yade/+question/285535 Bruno Chareyre proposed the following answer: Fix commited [1]. Please confirm if it fixes the problem. [1] https://github.com/yade/trunk/commit/754f20fc64f41f73d34b96f68d3c00c039f1cd4e -- You received

Re: [Yade-users] [Question #285535]: Keeping track of internal energy in the Law2_ScGeom6D_CohFrictPhys_CohesionMoment contact law

2016-02-15 Thread Bruno Chareyre
Question #285535 on Yade changed: https://answers.launchpad.net/yade/+question/285535 Status: Open => Answered Bruno Chareyre proposed the following answer: Hi Tijan, Kinetic energy is not specific to any contact law, that is why you don't find it in a contact law: KE=kineticEnergy(), j

Re: [Yade-users] [Question #284255]: Constant volume in Periodic triaxial test

2016-02-10 Thread Bruno Chareyre
Question #284255 on Yade changed: https://answers.launchpad.net/yade/+question/284255 Bruno Chareyre posted a new comment: Again: why do you need a stress controller at all? You are making a simple task more complex. -- You received this question notification because your team yade-users

Re: [Yade-users] [Question #284255]: Constant volume in Periodic triaxial test

2016-02-10 Thread Bruno Chareyre
Question #284255 on Yade changed: https://answers.launchpad.net/yade/+question/284255 Status: Open => Answered Bruno Chareyre proposed the following answer: Why triax.stressMask=3? You cannot impose stress and constant volume at the same time. Not due to Yade: from a mechanical po

Re: [Yade-users] [Question #280376]: overlap with no force, pollygon collision, membrane

2016-02-08 Thread Bruno Chareyre
Question #280376 on Yade changed: https://answers.launchpad.net/yade/+question/280376 Bruno Chareyre posted a new comment: Hi, sorry for late remark but I think this paper [1] is relevant to your question. It shows an example of a deformable potatoe (spherical potatoe in the example

Re: [Yade-users] [Question #284255]: Constant volume in Periodic triaxial test

2016-02-08 Thread Bruno Chareyre
Question #284255 on Yade changed: https://answers.launchpad.net/yade/+question/284255 Bruno Chareyre proposed the following answer: Hi Seti, Keeping the volume constant is very easy. So easy that you don't need a stress controller for that (as the name suggests, the main purpose

[Yade-users] ANNOUCEMENT: new bibliographic references for Yade

2016-02-03 Thread Bruno Chareyre
ved by DOI number: dx.doi.org/DOI where DOI is one of 10.5281/zenodo.34073 10.5281/zenodo.34045 10.5281/zenodo.34043 10.5281/zenodo.34044 Happy Yading! Bruno -- _______ Bruno Chareyre Associate Professor ENSE³ - Grenoble INP Lab. 3SR BP 53 38041 Grenoble cedex 9 Tél : +33 4 56 52 86 21 F

Re: [Yade-users] [Question #279270]: Problem with efficiency

2016-01-04 Thread Bruno Chareyre
Question #279270 on Yade changed: https://answers.launchpad.net/yade/+question/279270 Bruno Chareyre proposed the following answer: The remarkable result in the OP is: InteractionLoop 1000 697955915us 99.50% 99.5% of the time in interactions is very surprising. The only real changes in clump

Re: [Yade-users] [Question #280183]: how to show the value of variables when use kdevelop to debug

2016-01-04 Thread Bruno Chareyre
Question #280183 on Yade changed: https://answers.launchpad.net/yade/+question/280183 Status: Open => Answered Bruno Chareyre proposed the following answer: GCC can add debug symbols to optimized code. That is why "-g" (debug symbols) can still lead to "optimized out&quo

Re: [Yade-users] [Question #279359]: MakeCloud() single-threaded?

2015-12-18 Thread Bruno Chareyre
Question #279359 on Yade changed: https://answers.launchpad.net/yade/+question/279359 Status: Open => Answered Bruno Chareyre proposed the following answer: makeCloud() is a function, not an engine, therefore it can't be used in ParallelEngine. More generally, parallelizing an algori

Re: [Yade-users] [Question #277023]: Where do the Yade pass through its code ?

2015-12-07 Thread Bruno Chareyre
Question #277023 on Yade changed: https://answers.launchpad.net/yade/+question/277023 Status: Open => Answered Bruno Chareyre proposed the following answer: Hi, if you don't "make install" then you don't run the modified code, and then it is expected that you don't see an

Re: [Yade-users] [Question #276590]: how to recompile with "-g" option to use debug tool, gdb

2015-12-03 Thread Bruno Chareyre
Question #276590 on Yade changed: https://answers.launchpad.net/yade/+question/276590 Bruno Chareyre proposed the following answer: I never did the step/breakpoint thing directly with gdb, since kdevelop is a very efficient frontend for that. You just start yade as usual, then you attach

Re: [Yade-users] [Question #275779]: Strain (localization) history

2015-12-03 Thread Bruno Chareyre
Question #275779 on Yade changed: https://answers.launchpad.net/yade/+question/275779 Bruno Chareyre posted a new comment: You script is generating only one output file, so yes, you have only one image. I don't really see what you were expecting. -- You received this question notification

Re: [Yade-users] [Question #275459]: Damping in Hertz-Mindlin contact law

2015-12-01 Thread Bruno Chareyre
Question #275459 on Yade changed: https://answers.launchpad.net/yade/+question/275459 Status: Open => Answered Bruno Chareyre proposed the following answer: Both ways are consistent. If it considered that friction coefficient gives an upper bound of the elastic force then the f

Re: [Yade-users] [Question #275840]: Tetra/TetraPoly Element can not use clump?

2015-12-01 Thread Bruno Chareyre
Question #275840 on Yade changed: https://answers.launchpad.net/yade/+question/275840 Bruno Chareyre posted a new comment: >I thought updating might cause some strange trouble.. To not update frequently is for sure causing most of the troubles. It resulted in wasting many developme

Re: [Yade-users] [Question #275840]: Tetra/TetraPoly Element can not use clump?

2015-12-01 Thread Bruno Chareyre
Question #275840 on Yade changed: https://answers.launchpad.net/yade/+question/275840 Bruno Chareyre posted a new comment: More than that, you should have small scripts integrated in the regression tests, so that you are warned if some changes in the source code have side effects on your code

Re: [Yade-users] [Question #274781]: Unable to run a CapillaryTriaxialTest

2015-11-19 Thread Bruno Chareyre
Question #274781 on Yade changed: https://answers.launchpad.net/yade/+question/274781 Bruno Chareyre proposed the following answer: Hello, My suggestion is to use either the preprocessors through the GUI _OR_ python scripts. Don't mix scripting and preprocessing. There is no fundamental reason

Re: [Yade-users] [Question #274324]: Clump orientations and their angular velocities

2015-11-17 Thread Bruno Chareyre
Question #274324 on Yade changed: https://answers.launchpad.net/yade/+question/274324 Bruno Chareyre posted a new comment: For future reference: Answer #1 refer to the "aspherical" integration scheme [1]. For spheres, or as soon as the "spherical" approximation is used for

Re: [Yade-users] [Question #274242]: Compression Test

2015-11-16 Thread Bruno Chareyre
Question #274242 on Yade changed: https://answers.launchpad.net/yade/+question/274242 Bruno Chareyre posted a new comment: Assigning gravity for a compression test is a little bit strange. If it plays a role there will be a significant stress gradient and thus the results can't be interpreted

Re: [Yade-users] [Question #274043]: Contact not detected

2015-11-11 Thread Bruno Chareyre
Question #274043 on Yade changed: https://answers.launchpad.net/yade/+question/274043 Status: Open => Answered Bruno Chareyre proposed the following answer: Hi, Is it that the interactions are not created (did you check?) or that you define physical parameters in such a way that it _has

Re: [Yade-users] [Question #273947]: stalk of spheres or cylinders

2015-11-09 Thread Bruno Chareyre
Question #273947 on Yade changed: https://answers.launchpad.net/yade/+question/273947 Status: Open => Answered Bruno Chareyre proposed the following answer: >it does not interact with Facet because it is not implemented although not difficult. The main question is if you really need

Re: [Yade-users] [Question #273812]: Changing friction angle in triaxial test

2015-11-06 Thread Bruno Chareyre
Question #273812 on Yade changed: https://answers.launchpad.net/yade/+question/273812 Status: Open => Answered Bruno Chareyre proposed the following answer: Hi, You pasted the tutorial script or almost. Did you check if changing the parameters of the original script give different resu

Re: [Yade-users] [Question #273367]: increasing the applied stress every 5000 iteration

2015-10-30 Thread Bruno Chareyre
Question #273367 on Yade changed: https://answers.launchpad.net/yade/+question/273367 Bruno Chareyre posted a new comment: Side remark: increasing triax.goal2 by frequent small steps (e.g. every ten iterations) is better that large steps every 5000 iterations, as it avoids shock waves. -- You

Re: [Yade-users] [Question #272484]: Geometric Algorithm with Geometry and PSD inputs

2015-10-19 Thread Bruno Chareyre
Question #272484 on Yade changed: https://answers.launchpad.net/yade/+question/272484 Bruno Chareyre proposed the following answer: @Jérôme, Jerier et al. does not have an input PSD. @Bruna, a possible method is to grow particles in the defined shape (bound by facets, for instance), how well

Re: [Yade-users] [Question #272184]: Is there a windows version?

2015-10-08 Thread Bruno Chareyre
Question #272184 on Yade changed: https://answers.launchpad.net/yade/+question/272184 Bruno Chareyre proposed the following answer: Hi, In theory the code compiles on windows. In practice it is a pain since that environment makes gathering the 3rd party libraries tedious [1]. For just testing

Re: [Yade-users] [Question #272184]: Is there a windows version?

2015-10-08 Thread Bruno Chareyre
Question #272184 on Yade changed: https://answers.launchpad.net/yade/+question/272184 Bruno Chareyre proposed the following answer: I have no experience, sorry. B -- You received this question notification because your team yade-users is an answer contact for Yade

Re: [Yade-users] [Question #271818]: How to calculate number of pores and these pore-throat radius

2015-10-02 Thread Bruno Chareyre
Question #271818 on Yade changed: https://answers.launchpad.net/yade/+question/271818 Status: Open => Needs information Bruno Chareyre requested more information: I don't understand your question, sorry. Please be more clear. -- You received this question notification because your t

Re: [Yade-users] [Question #271596]: Track Energy (Plot variables)

2015-10-02 Thread Bruno Chareyre
Question #271596 on Yade changed: https://answers.launchpad.net/yade/+question/271596 Bruno Chareyre proposed the following answer: EnergyTracker is the only way to track some energy terms (e.g. dissipation by Newton.damping is nearly impossible to compute by yourself). On the other hand

Re: [Yade-users] [Question #271394]: Bending and twisting moment in CohFricPhys

2015-09-21 Thread Bruno Chareyre
Question #271394 on Yade changed: https://answers.launchpad.net/yade/+question/271394 Bruno Chareyre posted a new comment: 1) Not sure what Euler's theorem is. What I can tell is the equations are exact, just like having rotation matrices R1 and R2, then defining the rotation 1->2 as inv(R1)

Re: [Yade-users] [Question #271430]: Rolling, static and kinetic friction in Yade

2015-09-16 Thread Bruno Chareyre
Question #271430 on Yade changed: https://answers.launchpad.net/yade/+question/271430 Status: Open => Answered Bruno Chareyre proposed the following answer: Hi Alexander, There is no kinetic friction, there is shear, rolling and twisting. >so where is rolling friction coefficient...

Re: [Yade-users] [Question #271394]: Bending and twisting moment in CohFricPhys

2015-09-16 Thread Bruno Chareyre
Question #271394 on Yade changed: https://answers.launchpad.net/yade/+question/271394 Bruno Chareyre proposed the following answer: momentRotationLaw =False just means that there is no moment _at contact_. The shear force is as usual it produce a moment wrt to particle centers, as usual

Re: [Yade-users] [Question #271097]: Cohesive model description in Yade

2015-09-08 Thread Bruno Chareyre
Question #271097 on Yade changed: https://answers.launchpad.net/yade/+question/271097 Status: Open => Answered Bruno Chareyre proposed the following answer: Yes you are right. We use rather different semantic and that's why the doc is confusing for you probably. I never speak of cohes

Re: [Yade-users] [Question #271097]: Cohesive model description in Yade

2015-09-07 Thread Bruno Chareyre
Question #271097 on Yade changed: https://answers.launchpad.net/yade/+question/271097 Status: Open => Answered Bruno Chareyre proposed the following answer: Hi Alexander, Arguably, the documentation of Law2_ScGeom6D_CohFrictPhys_CohesionMoment is short (did you read it [1]) but it actua

Re: [Yade-users] [Question #271071]: triaxial stress test simulation based on tutorial does not work correctly

2015-09-07 Thread Bruno Chareyre
Question #271071 on Yade changed: https://answers.launchpad.net/yade/+question/271071 Status: Open => Answered Bruno Chareyre proposed the following answer: >"The problem is exactly here which I am not sure what parameter causes the problem" What we both suggested is that o

Re: [Yade-users] [Question #271071]: triaxial stress test simulation based on tutorial does not work correctly

2015-09-04 Thread Bruno Chareyre
Question #271071 on Yade changed: https://answers.launchpad.net/yade/+question/271071 Status: Open => Answered Bruno Chareyre proposed the following answer: You should identify which parameter(s) cause the problem. -- You received this question notification because your team yade-us

Re: [Yade-users] [Question #270991]: Packing in a predicate excluding the volume already occupied by spheres

2015-09-03 Thread Bruno Chareyre
Question #270991 on Yade changed: https://answers.launchpad.net/yade/+question/270991 Bruno Chareyre proposed the following answer: The problem is here: O.bodies.append([utils.sphere(c,r,material='coke') for c,r in sp]) You need to filter out those spheres which correspond to the initial clumps

Re: [Yade-users] [Question #270991]: Packing in a predicate excluding the volume already occupied by spheres

2015-09-03 Thread Bruno Chareyre
Question #270991 on Yade changed: https://answers.launchpad.net/yade/+question/270991 Bruno Chareyre proposed the following answer: It doesn't matter how you generate the clumps. After generating them define an empty SpherePack and put all the clumped spheres in it with sp.fromSimulation

Re: [Yade-users] [Question #270991]: Packing in a predicate excluding the volume already occupied by spheres

2015-09-02 Thread Bruno Chareyre
Question #270991 on Yade changed: https://answers.launchpad.net/yade/+question/270991 Bruno Chareyre proposed the following answer: A rather simple option could be: - insert all the clumped spheres in a SpherePack (sp.fromSimulation()) - generate the standalone spheres (sp.makeCloud

Re: [Yade-users] [Question #270818]: Porosity

2015-08-27 Thread Bruno Chareyre
Question #270818 on Yade changed: https://answers.launchpad.net/yade/+question/270818 Bruno Chareyre proposed the following answer: Hello, You want to control the porosity of a dense sample (I guess). MakeCloud is making a cloud, not a dense sample. So the porosity parameter there is unrelated

Re: [Yade-users] [Question #270503]: Are the formulae for adhesions in CohesiveFrictionalContactLaw correct?

2015-08-25 Thread Bruno Chareyre
Question #270503 on Yade changed: https://answers.launchpad.net/yade/+question/270503 Bruno Chareyre proposed the following answer: Converting material parameters to contact parameters is the job of Ip2 functors and that is where the documentation should be. In this case

Re: [Yade-users] [Question #270503]: Are the formulae for adhesions in CohesiveFrictionalContactLaw correct?

2015-08-19 Thread Bruno Chareyre
Question #270503 on Yade changed: https://answers.launchpad.net/yade/+question/270503 Status: Open = Answered Bruno Chareyre proposed the following answer: Hello, It can't be right or wrong in the sense you think to it. It is just a normalization equation such that scaling all particle sizes

Re: [Yade-users] [Question #269739]: Validation of the Hertz-Mindlin model

2015-07-29 Thread Bruno Chareyre
Question #269739 on Yade changed: https://answers.launchpad.net/yade/+question/269739 Status: Open = Answered Bruno Chareyre proposed the following answer: Speaking of wall-sphere, the definition of symmetric sphere radius is in [1]. This functor could optionaly define the radius

Re: [Yade-users] [Question #269739]: Validation of the Hertz-Mindlin model

2015-07-28 Thread Bruno Chareyre
Question #269739 on Yade changed: https://answers.launchpad.net/yade/+question/269739 Status: Open = Answered Bruno Chareyre proposed the following answer: Interesting comparison! For sphere vs. wall the wall is calculated as if it was a symmetric sphere. Not bad in general but in your

Re: [Yade-users] [Question #269724]: What are particular features of CpmMat model?

2015-07-28 Thread Bruno Chareyre
Question #269724 on Yade changed: https://answers.launchpad.net/yade/+question/269724 Bruno Chareyre proposed the following answer: Hi Alexander, Your are maybe looking for Law2_ScGeom6D_CohFrictPhys_CohesionMoment (second one in [1]). It contains, but it is much more general that the BPM you

Re: [Yade-users] [Question #269724]: What are particular features of CpmMat model?

2015-07-28 Thread Bruno Chareyre
Question #269724 on Yade changed: https://answers.launchpad.net/yade/+question/269724 Status: Open = Answered Bruno Chareyre proposed the following answer: Do you agree with Jan that in general bonded particle model equals particle model, that supports cohesion? It depends. First, how do

Re: [Yade-users] [Question #269724]: What are particular features of CpmMat model?

2015-07-28 Thread Bruno Chareyre
Question #269724 on Yade changed: https://answers.launchpad.net/yade/+question/269724 Bruno Chareyre posted a new comment: Here i mean that bonds described in... So #2 applies: It contains, but it is much more general that the BPM you mention -- You received this question notification because

Re: [Yade-users] [Question #269724]: What are particular features of CpmMat model?

2015-07-28 Thread Bruno Chareyre
Question #269724 on Yade changed: https://answers.launchpad.net/yade/+question/269724 Bruno Chareyre posted a new comment: @Jerome This last one (supporting cohesion too: it is designed for rock) having as particular feature a controlled interaction range so that distant particles may be bonded

Re: [Yade-users] [Question #269724]: What are particular features of CpmMat model?

2015-07-28 Thread Bruno Chareyre
Question #269724 on Yade changed: https://answers.launchpad.net/yade/+question/269724 Bruno Chareyre posted a new comment: You mean that there is no need to add this in the script: for i in O.interactions: i.phys.unp=i.phys.un #set current=equilibrium distance in CM You were right, it adds

Re: [Yade-users] [Question #269576]: how detect force applied on beam

2015-07-24 Thread Bruno Chareyre
Question #269576 on Yade changed: https://answers.launchpad.net/yade/+question/269576 Bruno Chareyre posted a new comment: Is your question closed Jabrane? https://yade-dem.org/wiki/Howtoask -- You received this question notification because you are a member of yade-users, which is an answer

Re: [Yade-users] [Question #269486]: we can have 2 engines in a script?

2015-07-22 Thread Bruno Chareyre
Question #269486 on Yade changed: https://answers.launchpad.net/yade/+question/269486 Bruno Chareyre posted a new comment: Dear Yor1, Error messages are usually of great help. The complete message includes a very important part that you skipped: File test.py, line 22, in module O.bodies

Re: [Yade-users] [Question #269486]: we can have 2 engines in a script?

2015-07-21 Thread Bruno Chareyre
Question #269486 on Yade changed: https://answers.launchpad.net/yade/+question/269486 Bruno Chareyre proposed the following answer: Please read again #1 :) -- You received this question notification because you are a member of yade-users, which is an answer contact for Yade

Re: [Yade-users] [Question #269491]: TriaxialStressController cohesive

2015-07-21 Thread Bruno Chareyre
Question #269491 on Yade changed: https://answers.launchpad.net/yade/+question/269491 Status: Needs information = Answered Bruno Chareyre proposed the following answer: Anyone experienced this? Not me. See also: https://yade-dem.org/wiki/Howtoask -- You received this question notification

Re: [Yade-users] [Question #269486]: we can have 2 engines in a script?

2015-07-21 Thread Bruno Chareyre
Question #269486 on Yade changed: https://answers.launchpad.net/yade/+question/269486 Status: Open = Answered Bruno Chareyre proposed the following answer: https://yade-dem.org/wiki/Howtoask -- You received this question notification because you are a member of yade-users, which

Re: [Yade-users] [Question #269486]: we can have 2 engines in a script?

2015-07-21 Thread Bruno Chareyre
Question #269486 on Yade changed: https://answers.launchpad.net/yade/+question/269486 Bruno Chareyre proposed the following answer: Yes you can have two engines in a script. -- You received this question notification because you are a member of yade-users, which is an answer contact for Yade

Re: [Yade-users] [Question #269393]: Stress/strain evaluation in the uniaxial tension test

2015-07-21 Thread Bruno Chareyre
Question #269393 on Yade changed: https://answers.launchpad.net/yade/+question/269393 Status: Open = Answered Bruno Chareyre proposed the following answer: So i get the average stress equal to applied stress for the whole model But i get this result only after half of prescribed stress

Re: [Yade-users] [Question #269393]: Stress/strain evaluation in the uniaxial tension test

2015-07-20 Thread Bruno Chareyre
Question #269393 on Yade changed: https://answers.launchpad.net/yade/+question/269393 Bruno Chareyre posted a new comment: 5 posts for one question, wow! This is becoming confused again. Please Alexander, keep things simple and concise, be specific, and think twice to avoid avalanches of emails

Re: [Yade-users] [Question #269383]: TesselationWrapper computes zero volume

2015-07-20 Thread Bruno Chareyre
Question #269383 on Yade changed: https://answers.launchpad.net/yade/+question/269383 Status: Open = Answered Bruno Chareyre proposed the following answer: It is related to the fact that you don't have boundaries for your problem (they could take the ids 0,...,5 if they were 6 walls). I

Re: [Yade-users] [Question #269063]: Metallic plate tension

2015-07-17 Thread Bruno Chareyre
Question #269063 on Yade changed: https://answers.launchpad.net/yade/+question/269063 Bruno Chareyre proposed the following answer: So is it correct to apply force (pressure) to sphere without taking into account it's size, or i need to multiply by it's radius, diameter or volume? None of them

Re: [Yade-users] [Question #269063]: Metallic plate tension

2015-07-16 Thread Bruno Chareyre
Question #269063 on Yade changed: https://answers.launchpad.net/yade/+question/269063 Bruno Chareyre proposed the following answer: the mesh constructed in Ansys is also not very fine The real question is the number of nodes/gauss points in each element times the number of elements

Re: [Yade-users] [Question #269063]: Metallic plate tension

2015-07-16 Thread Bruno Chareyre
Question #269063 on Yade changed: https://answers.launchpad.net/yade/+question/269063 Bruno Chareyre proposed the following answer: Last thing, as far as per-body stress is a topic of concern: getBodyStress is exact. It should be exactly equal to applied stress as long as you account

Re: [Yade-users] [Question #268954]: Calculation efficiency of the last version of Yade

2015-07-16 Thread Bruno Chareyre
Question #268954 on Yade changed: https://answers.launchpad.net/yade/+question/268954 Bruno Chareyre proposed the following answer: Ok. I have ~2500 iter/sec here on a relatively old desktop (and 3sec for opening the window). It corresponds to 33min calc. time for 5s of simulated time

Re: [Yade-users] [Question #268954]: Calculation efficiency of the last version of Yade

2015-07-15 Thread Bruno Chareyre
Question #268954 on Yade changed: https://answers.launchpad.net/yade/+question/268954 Bruno Chareyre posted a new comment: @Anastasia Your problem is - I think - the calculation of clumps mass, which takes ages for the reason you can read at runtime: core/Clump.cpp:162 updateProperties: Clump

Re: [Yade-users] [Question #269063]: Metallic plate tension

2015-07-15 Thread Bruno Chareyre
Question #269063 on Yade changed: https://answers.launchpad.net/yade/+question/269063 Bruno Chareyre posted a new comment: Short comments (I didn't follow the complete discussion, sorry): 1/ About comparison of stress: - stress Yade - http://i11.pixs.ru/storage/7/6/4/pic2JPG_7240037_18032764.jpg

Re: [Yade-users] [Question #268954]: Calculation efficiency of the last version of Yade

2015-07-15 Thread Bruno Chareyre
Question #268954 on Yade changed: https://answers.launchpad.net/yade/+question/268954 Status: Open = Needs information Bruno Chareyre requested more information: @Henry, could you please reply to #1? @Anastasia, thank you for the scripts. Now could you please follow #3? You guys seem

Re: [Yade-users] [Question #268954]: Calculation efficiency of the last version of Yade

2015-07-07 Thread Bruno Chareyre
Question #268954 on Yade changed: https://answers.launchpad.net/yade/+question/268954 Bruno Chareyre proposed the following answer: Dear Nastya, could you be more specific? What are you running? What difference do you get? Please help us to help you. -- You received this question notification

Re: [Yade-users] [Question #268954]: Calculation efficiency of the last version of Yade

2015-07-07 Thread Bruno Chareyre
Question #268954 on Yade changed: https://answers.launchpad.net/yade/+question/268954 Bruno Chareyre requested more information: The script is not working, please provide a minimal AND working script. File test.py, line 24, in module

Re: [Yade-users] [Question #268691]: Apply force only once

2015-07-01 Thread Bruno Chareyre
Question #268691 on Yade changed: https://answers.launchpad.net/yade/+question/268691 Bruno Chareyre posted a new comment: I don't understand the details but for the record: - applying a force for one step is: O.forces.addF(id_ball, f) - applying a force permanently is: O.forces.addF(id_ball, f

Re: [Yade-users] [Question #268476]: Prallel Computation, CentOS Ubuntu file versions

2015-06-23 Thread Bruno Chareyre
Hi, Not sure but I guess details of the saved binary can be system dependent (or boost-version dependent or such). This could be the unique reason to save in xml sometimes. you could try that and see. I am assuming that you compiled exactly the same version of the source code on both machines, of

Re: [Yade-users] [Question #267964]: Particle breakage

2015-06-10 Thread Bruno Chareyre
Question #267964 on Yade changed: https://answers.launchpad.net/yade/+question/267964 Bruno Chareyre proposed the following answer: I don't understand what you are looking for. Could you clarify the question? Law2_ScGeom6D_CohFrictPhys_CohesionMoment does not impose anything. It can give brittle

Re: [Yade-users] [Question #267815]: Energy conservation in YADE

2015-06-08 Thread Bruno Chareyre
Question #267815 on Yade changed: https://answers.launchpad.net/yade/+question/267815 Bruno Chareyre proposed the following answer: Hi, the main source of energy sink is usually due to the fact that there is no accurate creation-deletion of contacts. When a new contact is created during

Re: [Yade-users] [Question #267673]: make install crash

2015-06-02 Thread Bruno Chareyre
Question #267673 on Yade changed: https://answers.launchpad.net/yade/+question/267673 Bruno Chareyre proposed the following answer: Hello Raphaël, Usually it is useless to paste long error logs, since one initial error is usually triggering much more errors. The interesting part is: In file

Re: [Yade-users] [Question #267566]: linear spring dashpot law?

2015-06-01 Thread Bruno Chareyre
Question #267566 on Yade changed: https://answers.launchpad.net/yade/+question/267566 Bruno Chareyre proposed the following answer: Hi, I would use the word classical very carefuly when it comes to contact laws. I think the version we have in Yade is some of the most consistent around. It does

Re: [Yade-users] [Question #267328]: Volume fraction of spheres appear to be far too less using Makecloud

2015-06-01 Thread Bruno Chareyre
Question #267328 on Yade changed: https://answers.launchpad.net/yade/+question/267328 Status: Open = Answered Bruno Chareyre proposed the following answer: 1 I will try to use the triaxial example Great move. 2 is there a script that can allow to check for desired porosity GOTO 1 Note

Re: [Yade-users] [Question #267350]: strain matrices of particles?

2015-05-26 Thread Bruno Chareyre
Question #267350 on Yade changed: https://answers.launchpad.net/yade/+question/267350 Status: Open = Answered Bruno Chareyre proposed the following answer: Hello, I suggest to read the documentation of TesselationWrapper, especially this part: The calculation of microstrain is explained

Re: [Yade-users] [Question #266828]: How to reset the repulsive forces at the beginning of a compression test

2015-05-19 Thread Bruno Chareyre
Question #266828 on Yade changed: https://answers.launchpad.net/yade/+question/266828 Bruno Chareyre proposed the following answer: Hi, For arbitrary initial positions you can define the the equilibrium displacement via i.phys.unp like this: i.phys.unp = i.geom.penetrationDepth #I didn't check

Re: [Yade-users] [Question #266605]: unbalancedForce nan

2015-05-08 Thread Bruno Chareyre
Question #266605 on Yade changed: https://answers.launchpad.net/yade/+question/266605 Bruno Chareyre proposed the following answer: @Jérôme, Even with gravity unbF-0 at equilibrium. @Carrie If it does not, then you probably have a simulation not doing what you think it does. It is not possible

Re: [Yade-users] [Question #266331]: How to intepret strain tensor and its deviator

2015-05-03 Thread Bruno Chareyre
Question #266331 on Yade changed: https://answers.launchpad.net/yade/+question/266331 Status: Open = Answered Bruno Chareyre proposed the following answer: Hello, TW actually returns the displacement gradient tensor, that is why it can be non-symmetric. Take the symmetric part to keep only

Re: [Yade-users] [Question #266037]: CGAL ERROR: assertion violation!

2015-04-30 Thread Bruno Chareyre
Question #266037 on Yade changed: https://answers.launchpad.net/yade/+question/266037 Bruno Chareyre posted a new comment: Did you try a fresh build? IIRC Timos added the flag to solve a problem, then removed it and it kept working. It is very unclear what's going on with this flag. It was here

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

2015-04-27 Thread Bruno Chareyre
Question #265995 on Yade changed: https://answers.launchpad.net/yade/+question/265995 Bruno Chareyre posted a new comment: @Jan what is a good place for the manual and examples? Wiki? Gold: a section in theory.rst, possibly reusing content from previous papers Silver: a section in user manual

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

2015-04-27 Thread Bruno Chareyre
Question #265995 on Yade changed: https://answers.launchpad.net/yade/+question/265995 Status: Open = Answered Bruno Chareyre proposed the following answer: Hello, As a starting point I recommend the papers of Jan Stransky that you can find on Yade publications page. Your question is very

Re: [Yade-users] [Question #265223]: Unrealistic result of the “TesselationWrapper”

2015-04-24 Thread Bruno Chareyre
Question #265223 on Yade changed: https://answers.launchpad.net/yade/+question/265223 Status: Open = Answered Bruno Chareyre proposed the following answer: The above sequence define strain by comparing the initial state to the current state. It makes sense. If you expect a more incremental

Re: [Yade-users] [Question #265598]: mixing two different types of materials in a same pack

2015-04-21 Thread Bruno Chareyre
Question #265598 on Yade changed: https://answers.launchpad.net/yade/+question/265598 Status: Open = Answered Bruno Chareyre proposed the following answer: Hello, I guess you have seen makeCloud() (else you would ask how to generate one set?) So, calling makeCloud() repeateadly with the same

Re: [Yade-users] [Question #265521]: What's the most efficient way to get the average stress at each cycle?

2015-04-20 Thread Bruno Chareyre
Question #265521 on Yade changed: https://answers.launchpad.net/yade/+question/265521 Bruno Chareyre proposed the following answer: You are right, there should be no difference and there will be no difference. -- You received this question notification because you are a member of yade-users

Re: [Yade-users] [Question #265275]: Inheritance of State Class - add variables

2015-04-16 Thread Bruno Chareyre
Question #265275 on Yade changed: https://answers.launchpad.net/yade/+question/265275 Bruno Chareyre proposed the following answer: In addition to fixing y/Y, you need the YADE_PLUGIN macro somewhere in a *.cpp. -- You received this question notification because you are a member of yade-users

Re: [Yade-users] [Question #265275]: Inheritance of State Class - add variables

2015-04-16 Thread Bruno Chareyre
Question #265275 on Yade changed: https://answers.launchpad.net/yade/+question/265275 Bruno Chareyre posted a new comment: A nice collective answer ;) -- You received this question notification because you are a member of yade-users, which is an answer contact for Yade

Re: [Yade-users] [Question #265223]: Unrealistic result of the “TesselationWrapper”

2015-04-15 Thread Bruno Chareyre
Question #265223 on Yade changed: https://answers.launchpad.net/yade/+question/265223 Status: Open = Answered Bruno Chareyre proposed the following answer: Hello, If I understand correctly you are triangulating a packing with a non-flat free surface, correct? If so, it is expected that you

Re: [Yade-users] [Question #261965]: Saving/loading simulations

2015-04-15 Thread Bruno Chareyre
Question #261965 on Yade changed: https://answers.launchpad.net/yade/+question/261965 Bruno Chareyre posted a new comment: @Bruno: Yes, it's in loading and saving section of introduction TYVM. I just fixed it. B -- You received this question notification because you are a member of yade-users

Re: [Yade-users] [Question #265275]: Inheritance of State Class - add variables

2015-04-15 Thread Bruno Chareyre
Question #265275 on Yade changed: https://answers.launchpad.net/yade/+question/265275 Bruno Chareyre proposed the following answer: Hi, You can use conventional C++ inheritance and add the new variables with the YADE_CLASS macro: class MyState: State { YADE_CLASS(... ((int

Re: [Yade-users] [Question #261965]: Saving/loading simulations

2015-04-14 Thread Bruno Chareyre
Question #261965 on Yade changed: https://answers.launchpad.net/yade/+question/261965 Status: Open = Answered Bruno Chareyre proposed the following answer: as for saving as xml, I thought it's the only option we have! Why? Did you read it somewhere? how we call the loading script? What do

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