Re: [Yade-users] [Question #661017]: call a class from yade

2017-11-23 Thread JOHN
Question #661017 on Yade changed: https://answers.launchpad.net/yade/+question/661017 Status: Solved => Open JOHN is still having a problem: One last tiny thing, is it possible to start the startup yade visualization from python? Thank you -- You received this question notificat

Re: [Yade-users] [Question #661017]: call a class from yade

2017-11-23 Thread JOHN
Question #661017 on Yade changed: https://answers.launchpad.net/yade/+question/661017 Status: Answered => Solved JOHN confirmed that the question is solved: hello, and thanks for the quick replies those two steps solved my problem best regards John -- You received this quest

[Yade-users] [Question #661017]: call a class from yade

2017-11-22 Thread JOHN
New question #661017 on Yade: https://answers.launchpad.net/yade/+question/661017 Good evening, What i am trying to do is bundle the yade simulation in a class which works from yade.pack import * from yade import ymport import math class simul(): def run(self):

Re: [Yade-users] [Question #661242]: NameError: global name 'inGtsSurface' is not defined

2017-11-29 Thread JOHN
Question #661242 on Yade changed: https://answers.launchpad.net/yade/+question/661242 JOHN posted a new comment: http://dropmefiles.com/z0xlX this is the stl file by the way -- You received this question notification because your team yade-users is an answer contact for Yade

Re: [Yade-users] [Question #661017]: call a class from yade

2017-11-29 Thread JOHN
Question #661017 on Yade changed: https://answers.launchpad.net/yade/+question/661017 JOHN posted a new comment: hello all, I tried importing qt and qt view to no avail, Still, it is not really important thanks -- You received this question notification because your team yade-users is an answer

[Yade-users] [Question #661242]: NameError: global name 'inGtsSurface' is not defined

2017-11-29 Thread JOHN
uot;, line 17, in simulation.run() File "/home/john/Desktop/yade/experimentsworkingclass/myclass.py", line 44, in run pred = inGtsSurface(s) NameError: global name 'inGtsSurface' is not defined Specifically, the code is from yade.pack import * from yade import ymport import

Re: [Yade-users] [Question #661242]: NameError: global name 'inGtsSurface' is not defined

2017-11-29 Thread JOHN
Question #661242 on Yade changed: https://answers.launchpad.net/yade/+question/661242 JOHN posted a new comment: Hello, thank you for the reply unfortunately it didnt help. i am calling the class code from a python file by using python run.py if this makes any difference John -- You received

Re: [Yade-users] [Question #661286]: Still NameError: global name 'inGtsSurface' is not defined

2017-11-30 Thread JOHN
Question #661286 on Yade changed: https://answers.launchpad.net/yade/+question/661286 JOHN gave more information on the question: Unfortunately, previous suggestion from yade import pack pack.inGtsSurface or import yade yade.pack.inGtsSurface didnt work -- You received this question

[Yade-users] [Question #661286]: Still NameError: global name 'inGtsSurface' is not defined

2017-11-30 Thread JOHN
. python run.py). However, when i run it i get the following terminal output Traceback (most recent call last): File "run.py", line 17, in simulation.run() File "/home/john/Desktop/yade/experimentsworkingclass/myclass.py", line 44, in run pred = inGtsSurface(s) Na

Re: [Yade-users] [Question #661630]: maximum or mean velocity

2017-12-13 Thread JOHN
Question #661630 on Yade changed: https://answers.launchpad.net/yade/+question/661630 JOHN posted a new comment: Hello, yesm this should do, however I saw that the mean velocity of the previous step is already calculated as a part of the YADE scheme. Is there a way to access this variable

Re: [Yade-users] [Question #661749]: Number of neighbouring sphere particles

2017-12-14 Thread JOHN
Question #661749 on Yade changed: https://answers.launchpad.net/yade/+question/661749 Status: Answered => Open JOHN is still having a problem: hello, thank you for the answer. Unfortunately i would require a much bigger radius Cheers John -- You received this question notification beca

Re: [Yade-users] [Question #661630]: maximum or mean velocity

2017-12-13 Thread JOHN
Question #661630 on Yade changed: https://answers.launchpad.net/yade/+question/661630 Status: Answered => Solved JOHN confirmed that the question is solved: thanks that was really helpful Cheers John -- You received this question notification because your team yade-users is an ans

Re: [Yade-users] [Question #660533]: dynamic change of gravity vector

2017-11-13 Thread JOHN
Question #660533 on Yade changed: https://answers.launchpad.net/yade/+question/660533 JOHN posted a new comment: Thank you for your comprehensive answer, it helped more than you know :-) -- You received this question notification because your team yade-users is an answer contact for Yade

Re: [Yade-users] [Question #660533]: dynamic change of gravity vector

2017-11-13 Thread JOHN
Question #660533 on Yade changed: https://answers.launchpad.net/yade/+question/660533 Status: Answered => Solved JOHN confirmed that the question is solved: Thanks Robert Caulk, that solved my question. -- You received this question notification because your team yade-users is an ans

[Yade-users] [Question #660522]: can walls be excluded from particles cloud creation?

2017-11-09 Thread JOHN
inside the walls which both slows down the simulation and makes the visualization confusing Thank you very much for your time, Any help is appreciated as i am new in yade andprogramming in general John -- You received this question notification because your team yade-users is an answer contact

Re: [Yade-users] [Question #660522]: can walls be excluded from particles cloud creation?

2017-11-09 Thread JOHN
andprogramming in general John -- You received this question notification because your team yade-users is an answer contact for Yade. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https

Re: [Yade-users] [Question #660522]: can walls be excluded from particles cloud creation?

2017-11-09 Thread JOHN
is appreciated as i am new in yade andprogramming in general John -- You received this question notification because your team yade-users is an answer contact for Yade. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users

Re: [Yade-users] [Question #660522]: can walls be excluded from particles cloud creation?

2017-11-09 Thread JOHN
Question #660522 on Yade changed: https://answers.launchpad.net/yade/+question/660522 JOHN posted a new comment: Oops, i seem to have uploaded the wrong file, http://dropmefiles.com/mR2NW sorry about that, If you use this you will see some particles outside and some inside I didnt realise

Re: [Yade-users] [Question #660522]: can walls be excluded from particles cloud creation?

2017-11-09 Thread JOHN
Question #660522 on Yade changed: https://answers.launchpad.net/yade/+question/660522 JOHN posted a new comment: Thank you Amazing responses -- You received this question notification because your team yade-users is an answer contact for Yade

[Yade-users] [Question #660533]: dynamic change of gravity vector

2017-11-09 Thread JOHN
New question #660533 on Yade: https://answers.launchpad.net/yade/+question/660533 Good evening, I wish to simulate a rotation and the easiest way though was to redefine the gravity vector. However, i tried my hand by defining a=(0,0,0) O.engines=[ ForceResetter(),

Re: [Yade-users] [Question #660522]: can walls be excluded from particles cloud creation?

2017-11-09 Thread JOHN
Question #660522 on Yade changed: https://answers.launchpad.net/yade/+question/660522 Status: Answered => Solved JOHN confirmed that the question is solved: Thanks Jan Stránský, that solved my question. -- You received this question notification because your team yade-users is an ans

Re: [Yade-users] [Question #661017]: call a class from yade

2017-12-07 Thread JOHN
Question #661017 on Yade changed: https://answers.launchpad.net/yade/+question/661017 Status: Answered => Solved JOHN confirmed that the question is solved: Thanks Hongyang Cheng, that solved my question. -- You received this question notification because your team yade-users is an ans

Re: [Yade-users] [Question #661242]: NameError: global name 'inGtsSurface' is not defined

2017-12-07 Thread JOHN
Question #661242 on Yade changed: https://answers.launchpad.net/yade/+question/661242 Status: Answered => Solved JOHN confirmed that the question is solved: Thanks Jan Stránský, that solved my question. -- You received this question notification because your team yade-users is an ans

Re: [Yade-users] [Question #661286]: Still NameError: global name 'inGtsSurface' is not defined

2017-12-06 Thread JOHN
Question #661286 on Yade changed: https://answers.launchpad.net/yade/+question/661286 Status: Open => Solved JOHN confirmed that the question is solved: Hello, the answer was surprisingly simple, I just had to put everything before the engine declaration. For some reason the or

Re: [Yade-users] [Question #661286]: Still NameError: global name 'inGtsSurface' is not defined

2017-12-06 Thread JOHN
Question #661286 on Yade changed: https://answers.launchpad.net/yade/+question/661286 JOHN posted a new comment: Hello, the answer was surprisingly simple, I just had to put everything before the engine declaration. For some reason the order is not important when running from yade but it is when

[Yade-users] [Question #661630]: maximum or mean velocity

2017-12-12 Thread JOHN
uses the mean velocity of the previous step, which could perhaps do the job as well. Is there a way to access this? Thank you for your time, I didnt include any code as it is the run of the mill yade example. Cheers John https://yade-dem.org/doc/formulation.html#position -- You received

Re: [Yade-users] [Question #661448]: randomdensepack exclusion from walls

2017-12-06 Thread JOHN
Question #661448 on Yade changed: https://answers.launchpad.net/yade/+question/661448 Status: Needs information => Open JOHN gave more information on the question: Thank you for the reply, the problem is that it doesnt output anything i changed the radius to

[Yade-users] [Question #661448]: randomdensepack exclusion from walls

2017-12-06 Thread JOHN
be added to the simulation using SpherePack.toSimulation()',category=FutureWarning) Killed Any help is appreciated Thank you for your time John -- You received this question notification because your team yade-users is an answer contact for Yade

[Yade-users] [Question #669986]: how are interactions calculated

2018-06-05 Thread JOHN
insert(I); } } interaction.clear(); } But i dont really understand this line if (!(*bodies)[id1] || !(*bodies)[id2]) { and i am not sure it is even relevant Thanks in advance John -- You received this question notification because you

Re: [Yade-users] [Question #669986]: how are interactions calculated

2018-06-05 Thread JOHN
Question #669986 on Yade changed: https://answers.launchpad.net/yade/+question/669986 Status: Needs information => Open JOHN gave more information on the question: I am sorry, you are right, I am interested in the interaction creation and evaluation of contact points Thanks John --

Re: [Yade-users] [Question #669986]: how are interactions calculated

2018-06-05 Thread JOHN
Question #669986 on Yade changed: https://answers.launchpad.net/yade/+question/669986 Status: Needs information => Open JOHN gave more information on the question: Hello, i mean, at which specific part of the code are the interractions between the bodies calculated. -- You recei

Re: [Yade-users] [Question #669986]: how are interactions calculated

2018-06-07 Thread JOHN
Question #669986 on Yade changed: https://answers.launchpad.net/yade/+question/669986 Status: Answered => Solved JOHN confirmed that the question is solved: that was a very precise and clear answer Thanks for that Best Regards John -- You received this question notification because y

[Yade-users] [Question #663132]: VTK ERROR

2018-01-16 Thread JOHN
: In /build/vtk6-YpT4yb/vtk6-6.2.0+dfsg1/IO/XML/vtkXMLWriter.cxx, line 747 vtkXMLUnstructuredGridWriter (0x7f03c40c76f0): Error opening output file "/home/john/Desktop/working2/work/vis/3d-vtk-spheres.301.vtu" ERROR: In /build/vtk6-YpT4yb/vtk6-6.2.0+dfsg1/IO/XML/vtkXMLWriter.cxx

Re: [Yade-users] [Question #663441]: some modules fail to be loaded when i call a class from a python file

2018-01-25 Thread JOHN
functionalities fail. Any ideas/tests you want me to run Will be more than welcome Thanks! John -- You received this question notification because your team yade-users is an answer contact for Yade. ___ Mailing list: https://launchpad.net/~yade-users Post

Re: [Yade-users] [Question #663441]: some modules fail to be loaded when i call a class from a python file

2018-01-24 Thread JOHN
Question #663441 on Yade changed: https://answers.launchpad.net/yade/+question/663441 Status: Answered => Open JOHN is still having a problem: That is a fair point, i apologize I feel the issue is that within the class i cant seem to be able to import some modules (the pack module am

[Yade-users] [Question #663961]: Problem importing stl cet has coincident vertices

2018-02-01 Thread JOHN
New question #663961 on Yade: https://answers.launchpad.net/yade/+question/663961 Hello all, One quick question I have a proven program that works with stl import. However, when i try to import this file [1] i get the following error FATAL /build/yade-KKgSmd/yade-1.20.0/pkg/common/Facet.cpp:26

[Yade-users] [Question #664191]: binary vtu/vtk

2018-02-08 Thread JOHN
or vtk files for the output? For the record I am using this command VTKRecorder(fileName='./vis/3d-vtk-',recorders=['spheres'],realPeriod=1), Thank you very much for your time Best Regards John -- You received this question notification because your team yade-users is an answer contact for Yade

Re: [Yade-users] [Question #664191]: binary vtu/vtk

2018-02-08 Thread JOHN
absolutely necessary :-)) Thank you very much for your time Best Regards John -- You received this question notification because your team yade-users is an answer contact for Yade. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade

Re: [Yade-users] [Question #664191]: binary vtu/vtk

2018-02-08 Thread JOHN
to drag python scripts into this (at least not more than absolutely necessary :-)) Thank you very much for your time Best Regards John -- You received this question notification because your team yade-users is an answer contact for Yade. ___ Mailing

Re: [Yade-users] [Question #664191]: binary vtu/vtk

2018-02-13 Thread JOHN
Question #664191 on Yade changed: https://answers.launchpad.net/yade/+question/664191 JOHN posted a new comment: I apologise, i meant modetobinary** -- You received this question notification because your team yade-users is an answer contact for Yade

Re: [Yade-users] [Question #664191]: binary vtu/vtk

2018-02-13 Thread JOHN
Question #664191 on Yade changed: https://answers.launchpad.net/yade/+question/664191 Status: Answered => Solved JOHN confirmed that the question is solved: Thanks Bruno Chareyre, that solved my question. -- You received this question notification because your team yade-users is an ans

Re: [Yade-users] [Question #664191]: binary vtu/vtk

2018-02-13 Thread JOHN
Question #664191 on Yade changed: https://answers.launchpad.net/yade/+question/664191 Status: Solved => Open JOHN is still having a problem: thank you Forgive me for the naive question if i alter the source code of yade, how do i recompile? Incidently i was thinking of setDataModetoApp

Re: [Yade-users] [Question #664191]: binary vtu/vtk

2018-02-20 Thread JOHN
Question #664191 on Yade changed: https://answers.launchpad.net/yade/+question/664191 Status: Answered => Solved JOHN confirmed that the question is solved: thanks for the amazing replies much appreciated -- You received this question notification because your team yade-users is an ans

[Yade-users] [Question #664812]: particles not subject to deformation

2018-02-22 Thread JOHN
is, is there a way to declare the particlicles non deformable without changing the simulation speed? Thank you for your help JOHN -- You received this question notification because your team yade-users is an answer contact for Yade. ___ Mailing list: https

Re: [Yade-users] [Question #663132]: VTK ERROR

2018-01-17 Thread JOHN
Question #663132 on Yade changed: https://answers.launchpad.net/yade/+question/663132 Status: Answered => Solved JOHN confirmed that the question is solved: Thanks Jérôme Duriez, that solved my question. -- You received this question notification because your team yade-users is an ans

[Yade-users] [Question #663441]: some modules fail to be loaded when i call a class from a python file

2018-01-23 Thread JOHN
* from yade import ymport import sys from yade import qt sys.path.append('/home/john/Desktop/yade/workingclass') from yadeimport import * import math class simul(): def __init__(self): self.g=(0,0,9.81) def definegravity(self,b

Re: [Yade-users] [Question #663441]: some modules fail to be loaded when i call a class from a python file

2018-01-23 Thread JOHN
Question #663441 on Yade changed: https://answers.launchpad.net/yade/+question/663441 JOHN posted a new comment: And when i try to put from yade import pack and pack.inG i get File "/home/john/Desktop/workingclass/myclass.py", line 42, in run pred = pack.inGt

Re: [Yade-users] [Question #665529]: about indentation error in example of yade website

2018-03-13 Thread JOHN
Question #665529 on Yade changed: https://answers.launchpad.net/yade/+question/665529 Status: Open => Answered JOHN proposed the following answer: Hello, I tested it myself and it didnt produce an error. Is it possible that somehow during the copying process an indentation was lost? Co

Re: [Yade-users] [Question #665535]: distance to facets

2018-03-13 Thread JOHN
Question #665535 on Yade changed: https://answers.launchpad.net/yade/+question/665535 Status: Answered => Open JOHN is still having a problem: Hello, I would ideally like to find the distance of a specific particle to the wall of the structure it is in for every time step. -- You recei

[Yade-users] [Question #665535]: distance to facets

2018-03-13 Thread JOHN
New question #665535 on Yade: https://answers.launchpad.net/yade/+question/665535 Good evening, I was wondering, is there a way to find the distance of a particle to the walls (facets) Ideally the minimum distance from all the walls would do, but if (as i suspect) this is not possible, is there

Re: [Yade-users] [Question #665535]: distance to facets

2018-03-13 Thread JOHN
Question #665535 on Yade changed: https://answers.launchpad.net/yade/+question/665535 Status: Answered => Solved JOHN confirmed that the question is solved: thanks, i ll look into that -- You received this question notification because your team yade-users is an answer contact for Y

Re: [Yade-users] [Question #665540]: particles partially in the wall

2018-03-13 Thread JOHN
Question #665540 on Yade changed: https://answers.launchpad.net/yade/+question/665540 Status: Open => Solved JOHN confirmed that the question is solved: minimal working example follows def run(name,boundaries,r,gap,numStepsPerIteration): facets = ymport.stl(n

Re: [Yade-users] [Question #665540]: particles partially in the wall

2018-03-13 Thread JOHN
Question #665540 on Yade changed: https://answers.launchpad.net/yade/+question/665540 Status: Solved => Open JOHN is still having a problem: minimal working example follows def run(name,boundaries,r,gap,numStepsPerIteration): facets = ymport.stl(n

Re: [Yade-users] [Question #665540]: particles partially in the wall

2018-03-13 Thread JOHN
Question #665540 on Yade changed: https://answers.launchpad.net/yade/+question/665540 Status: Needs information => Open JOHN gave more information on the question: Hello, the used timestep is O.dt=.8*PWaveTimeStep() and the initialization deletes all the partic

Re: [Yade-users] [Question #665540]: particles partially in the wall

2018-03-13 Thread JOHN
. This is to be expected of a DEM method, but they can exit on their own. Is there a way to fix this? I would expect the forces produced by the wall sphere interaction to be strong enough to take every particle out by the time the system rests. Thank you very much for any help. Best Regards John PS

[Yade-users] [Question #665540]: particles partially in the wall

2018-03-13 Thread JOHN
New question #665540 on Yade: https://answers.launchpad.net/yade/+question/665540 Good evening, I run a very simple simulation with default material. As it turns out, some of the particles find themselves partially inside the walls after some iterations. This is to be expected of a DEM method,

Re: [Yade-users] [Question #665540]: particles partially in the wall

2018-03-13 Thread JOHN
. This is to be expected of a DEM method, but they can exit on their own. Is there a way to fix this? I would expect the forces produced by the wall sphere interaction to be strong enough to take every particle out by the time the system rests. Thank you very much for any help. Best Regards John -- You

Re: [Yade-users] [Question #665540]: particles partially in the wall

2018-03-13 Thread JOHN
Question #665540 on Yade changed: https://answers.launchpad.net/yade/+question/665540 Status: Needs information => Open JOHN gave more information on the question: http://dropmefiles.com/zwMDt But the issue appears almost randomly after some rotations. -- You received this quest

Re: [Yade-users] [Question #665540]: particles partially in the wall

2018-03-13 Thread JOHN
Question #665540 on Yade changed: https://answers.launchpad.net/yade/+question/665540 Status: Needs information => Open JOHN gave more information on the question: boundaries = [-75.0, 75.4, -75.013, 75.387, 0.0, 15.201] Yadesimulation.run("maze1.stl",boun

Re: [Yade-users] [Question #665540]: particles partially in the wall

2018-03-14 Thread JOHN
Question #665540 on Yade changed: https://answers.launchpad.net/yade/+question/665540 Status: Answered => Solved JOHN confirmed that the question is solved: Thanks for that, wall stiffness helped considerable regards John -- You received this question notification because your team y

Re: [Yade-users] [Question #665540]: particles partially in the wall

2018-03-14 Thread JOHN
Question #665540 on Yade changed: https://answers.launchpad.net/yade/+question/665540 JOHN confirmed that the question is solved: Thanks Jan Stránský, that solved my question. -- You received this question notification because your team yade-users is an answer contact for Yade

[Yade-users] [Question #665573]: irrelevant facets slow down simulation

2018-03-14 Thread JOHN
appreciated Best Regards John -- You received this question notification because your team yade-users is an answer contact for Yade. ___ Mailing list: https://launchpad.net/~yade-users Post to : yade-users@lists.launchpad.net Unsubscribe : https

Re: [Yade-users] [Question #665573]: irrelevant facets slow down simulation

2018-03-16 Thread JOHN
Question #665573 on Yade changed: https://answers.launchpad.net/yade/+question/665573 Status: Answered => Solved JOHN confirmed that the question is solved: Thanks Bruno Chareyre, that solved my question. -- You received this question notification because your team yade-users is an ans

Re: [Yade-users] [Question #665341]: iterations in c++

2018-03-09 Thread JOHN
Question #665341 on Yade changed: https://answers.launchpad.net/yade/+question/665341 Status: Open => Solved JOHN confirmed that the question is solved: nevermind, i compiled the yade trunk myself and i was able to link with the correct hpp files -- You received this question notificat

Re: [Yade-users] [Question #665405]: Parallelism inconsistency

2018-03-09 Thread JOHN
Question #665405 on Yade changed: https://answers.launchpad.net/yade/+question/665405 JOHN gave more information on the question: And now my new simulation is ~100% different. Reading the source i got the feeling that such large fluctuations are not normal -- You received this question

Re: [Yade-users] [Question #665405]: Parallelism inconsistency

2018-03-09 Thread JOHN
Question #665405 on Yade changed: https://answers.launchpad.net/yade/+question/665405 JOHN confirmed that the question is solved: Thanks Jan Stránský, that solved my question. -- You received this question notification because your team yade-users is an answer contact for Yade

Re: [Yade-users] [Question #665405]: Parallelism inconsistency

2018-03-09 Thread JOHN
Question #665405 on Yade changed: https://answers.launchpad.net/yade/+question/665405 Status: Needs information => Solved JOHN confirmed that the question is solved: Hi, thanks again. My example is unfortunately not easily given in minimal form. The simulation itself just crea

Re: [Yade-users] [Question #665405]: Parallelism inconsistency

2018-03-09 Thread JOHN
Question #665405 on Yade changed: https://answers.launchpad.net/yade/+question/665405 Status: Answered => Open JOHN is still having a problem: Hi Jan, thanks for the info! That makes sense. Though it seems like there is no way around it, is it possible to decrease that effect? I am

[Yade-users] [Question #665405]: Parallelism inconsistency

2018-03-09 Thread JOHN
however why the results would vary for 2 threads anyway (openmp is safer than mpi) Is this a known issue? Any suggestions? Thank you very much in advance John -- You received this question notification because your team yade-users is an answer contact for Yade

[Yade-users] [Question #665341]: iterations in c++

2018-03-07 Thread JOHN
New question #665341 on Yade: https://answers.launchpad.net/yade/+question/665341 Good evening. This question might be a bit naive. I have the following python function. def checkAndDelete(boundaries): for b in O.bodies: if isinstance(b.shape,Sphere):

Re: [Yade-users] [Question #665341]: iterations in c++

2018-03-07 Thread JOHN
Question #665341 on Yade changed: https://answers.launchpad.net/yade/+question/665341 Status: Needs information => Open JOHN gave more information on the question: I have explained what i wanted very badly, let me try again. I have a library (so) of c++ helper functi

Re: [Yade-users] [Question #665341]: iterations in c++

2018-03-07 Thread JOHN
Question #665341 on Yade changed: https://answers.launchpad.net/yade/+question/665341 Status: Needs information => Open JOHN gave more information on the question: Hello, I apologise for the vagueness , I meant a yade object Unfortunately, I installed yade through sudo-apt get inst

Re: [Yade-users] [Question #665054]: Parallel run when i call a yade script from another file

2018-03-07 Thread JOHN
Question #665054 on Yade changed: https://answers.launchpad.net/yade/+question/665054 JOHN posted a new comment: Thank you! When i removed almost every iteration (save for the predicate for removing particles from the walls) 4 cores gave an almost 200% speedup. I suppose Ill start writting them

Re: [Yade-users] [Question #665341]: iterations in c++

2018-03-07 Thread JOHN
Question #665341 on Yade changed: https://answers.launchpad.net/yade/+question/665341 JOHN gave more information on the question: So i just want a way to iterate through a yade body from a c++ file I wrote without using the yade source files or recompiling -- You received this question

[Yade-users] [Question #667119]: how to specifically find interraction number of spheres to a body

2018-03-23 Thread JOHN
ere loc2glob is the index containing the spheres. However this propably counts interractions with facets as well. Is there a way to exclude those in the count? Any help is much appreciated Thanks Best regards John -- You received this question notification because your team yade-users is an ans

Re: [Yade-users] [Question #664812]: particles not subject to deformation

2018-02-27 Thread JOHN
Question #664812 on Yade changed: https://answers.launchpad.net/yade/+question/664812 Status: Answered => Solved JOHN confirmed that the question is solved: Thanks Jérôme Duriez, that solved my question. -- You received this question notification because your team yade-users is an ans

[Yade-users] [Question #665054]: Parallel run when i call a yade script from another file

2018-02-28 Thread JOHN
New question #665054 on Yade: https://answers.launchpad.net/yade/+question/665054 Good evening, I am currently calling a yade python script from another python script. something like this import Yadesimulation from Yadesimulation import * where Yadesimulation is the yade script. My

[Yade-users] [Question #685848]: Boundary properties

2019-11-13 Thread John Avoilao
New question #685848 on Yade: https://answers.launchpad.net/yade/+question/685848 Hello all, I would like to ask the following: I have created a plate using facetbox in order to perform strength tests (ucs..) to JCF “rock” samples. 1)What properties should I assign to the plates? 2)Can I use the

Re: [Yade-users] [Question #685848]: Boundary properties

2019-11-14 Thread John Avoilao
Question #685848 on Yade changed: https://answers.launchpad.net/yade/+question/685848 Status: Answered => Open John Avoilao is still having a problem: Thank you very much Jérôme Duriez (jduriez). 1,3) From what you said I understand, that you don’t have to assign properties propert

Re: [Yade-users] [Question #685848]: Boundary properties

2019-11-15 Thread John Avoilao
Question #685848 on Yade changed: https://answers.launchpad.net/yade/+question/685848 John Avoilao posted a new comment: In the case i create different materials and assign them to every object, using a different label,do i have to use type as well? -- You received this question notification

Re: [Yade-users] [Question #685778]: About strain and uniaxialstrainer

2019-11-12 Thread John Avoilao
Question #685778 on Yade changed: https://answers.launchpad.net/yade/+question/685778 Status: Answered => Solved John Avoilao confirmed that the question is solved: Thanks Jan Stránský, that solved my question. -- You received this question notification because your team yade-us

Re: [Yade-users] [Question #685778]: About strain and uniaxialstrainer

2019-11-12 Thread John Avoilao
Question #685778 on Yade changed: https://answers.launchpad.net/yade/+question/685778 John Avoilao posted a new comment: Thanks Jan Stránský (honzik), I get the strain concept. 2) depends on what you want to simulate :-) in certain case you should, in other cases you should not Well im

[Yade-users] [Question #685778]: About strain and uniaxialstrainer

2019-11-12 Thread John Avoilao
New question #685778 on Yade: https://answers.launchpad.net/yade/+question/685778 Hi to all, I am a new user. Currently trying to simulate a compression test I cant completely understand all the components of uniaxial strainer. 1) The strain I get is in (m/m); is it percentage elongation;

Re: [Yade-users] [Question #685848]: Boundary properties

2019-11-15 Thread John Avoilao
Question #685848 on Yade changed: https://answers.launchpad.net/yade/+question/685848 Status: Answered => Solved John Avoilao confirmed that the question is solved: Thanks Jérôme Duriez, that solved my question. -- You received this question notification because your team yade-us

Re: [Yade-users] [Question #685903]: 'ValueError: shape mismatch' when plotting

2019-11-15 Thread Rohit John
Question #685903 on Yade changed: https://answers.launchpad.net/yade/+question/685903 Rohit John posted a new comment: Thanks for the quick reply. Are there any other ways to plot or visualise what is going on when the simulation is running? I am testing some simulations so I need to see what

[Yade-users] [Question #685903]: 'ValueError: shape mismatch' when plotting

2019-11-15 Thread Rohit John
New question #685903 on Yade: https://answers.launchpad.net/yade/+question/685903 Hello, I am using Yade 2018.02b on a Virtual Box machine running Ubuntu 18.04.3 LTS. The host machine runs Windows 10. I was trying to learn how to plot using the first tutorial given in the YADE tutorial

[Yade-users] [Question #686382]: Flow around particles. CFD DEM coupling

2019-11-29 Thread Rohit John
New question #686382 on Yade: https://answers.launchpad.net/yade/+question/686382 Hello, I am studying an impact damper. It consists of a single ball in a cavity filled with fluid. I checked the YADE openFOAM coupling and found that it uses a drag model to calculate the drag on a particle. I

[Yade-users] [Question #690088]: Simulating a brush

2020-04-21 Thread Rohit John
New question #690088 on Yade: https://answers.launchpad.net/yade/+question/690088 Hello, I would like to simulate a sphere making contact with a brush. The sphere and the brush are not fixed space and both can move freely. The brush is made of individual bristles whose response to a force can

Re: [Yade-users] [Question #692613]: Order of defining object and engine is causing problems

2020-09-01 Thread Rohit John
Question #692613 on Yade changed: https://answers.launchpad.net/yade/+question/692613 Status: Needs information => Open Rohit John gave more information on the question: Dear Robert, Thanks for your reply. I am using two materials: one for the internal nodes and one for the exter

[Yade-users] [Question #693446]: How to have viscous damping for chainedCylinder

2020-10-13 Thread Rohit John
this phenomena is plastic deformation). I would like method so that damping occurs in the elastic regime. Kind regards, Rohit John [1] https://answers.launchpad.net/yade/+question/680927 -- You received this question notification because your team yade-users is an answer contact for Yade

Re: [Yade-users] [Question #693446]: How to have viscous damping for chainedCylinder

2020-10-15 Thread Rohit John
Question #693446 on Yade changed: https://answers.launchpad.net/yade/+question/693446 Status: Answered => Solved Rohit John confirmed that the question is solved: Thanks Chareyre, that solved my question. -- You received this question notification because your team yade-users is an ans

Re: [Yade-users] [Question #693446]: How to have viscous damping for chainedCylinder

2020-10-15 Thread Rohit John
Question #693446 on Yade changed: https://answers.launchpad.net/yade/+question/693446 Rohit John posted a new comment: Dear Bruno, I shall update you when I have made a working code. I have a doubt. I did not find ViscoelasticPM in the documentation. Are you talking about

[Yade-users] [Question #693479]: How to initialize the angular velocity of a box made of pfacets

2020-10-15 Thread Rohit John
New question #693479 on Yade: https://answers.launchpad.net/yade/+question/693479 Hello, I created a box using pFacets. Now I want to initialise its angular velocity. I did so by assigning the same angular velocity to all bodies in the pfacet box(nodes, cylinders and pfacet) using

Re: [Yade-users] [Question #693446]: How to have viscous damping for chainedCylinder

2020-10-14 Thread Rohit John
Question #693446 on Yade changed: https://answers.launchpad.net/yade/+question/693446 Rohit John posted a new comment: Thanks for you answer Bruno. I have read that most of the constitutive laws do no have a velocity base damping [1]. Is there a reason why velocity base damping

[Yade-users] [Question #692613]: Order of defining object and engine is causing problems

2020-08-26 Thread Rohit John
New question #692613 on Yade: https://answers.launchpad.net/yade/+question/692613 Hello all, I am new to yade. I have tried the basic tutorial scripts and in them the objects are defined first followed by the engines. In an advanced script (cylinderconnection-roots.py) I saw that the objects

Re: [Yade-users] [Question #692956]: Implementing orbital motion

2020-09-17 Thread Rohit John
Question #692956 on Yade changed: https://answers.launchpad.net/yade/+question/692956 Status: Open => Solved Rohit John confirmed that the question is solved: Hello, Thank you Janek for your advice. I shall try this. -- You received this question notification because your team yade-us

[Yade-users] [Question #692956]: Implementing orbital motion

2020-09-16 Thread Rohit John
for position. The FieldApplier looks promising, but how do I use it? Kind regards, Rohit John [1] https://en.wikipedia.org/wiki/Clohessy%E2%80%93Wiltshire_equations -- You received this question notification because your team yade-users is an answer contact for Yade

Re: [Yade-users] [Question #692956]: Implementing orbital motion

2020-09-16 Thread Rohit John
Question #692956 on Yade changed: https://answers.launchpad.net/yade/+question/692956 Status: Needs information => Open Rohit John gave more information on the question: Hello, Thanks for your answers reply to Robert's comments. > Even if what you say is true (which seems odd to me

Re: [Yade-users] [Question #693479]: How to initialize the angular velocity of a box made of pfacets

2020-12-08 Thread Rohit John
Question #693479 on Yade changed: https://answers.launchpad.net/yade/+question/693479 Rohit John posted a new comment: Hello, I found a work around to this problem. I used the rotationEngine to initialise the angular velocity. It is active for the first few iterations and then it will be turned

Re: [Yade-users] [Question #694531]: non linear shear: How to implement it?

2020-12-15 Thread Rohit John
Question #694531 on Yade changed: https://answers.launchpad.net/yade/+question/694531 Status: Needs information => Open Rohit John gave more information on the question: Hello, > why? > why the other "can be handled"? Shear force uses an incremental formulation w

  1   2   >