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
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
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):
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
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
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
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
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
. 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
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
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
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
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
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
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
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
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
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
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
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(),
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
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
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
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
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
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
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
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
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
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
--
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
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
: 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
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
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
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
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
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
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
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
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
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
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
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
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
*
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
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
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
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
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
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
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
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
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
.
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
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,
.
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
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
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
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
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
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
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
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
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
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
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
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
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
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):
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
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
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
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
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
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
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
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
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
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
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
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
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;
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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 - 100 of 177 matches
Mail list logo