Question #658629 on Yade changed:
https://answers.launchpad.net/yade/+question/658629
Swapnil posted a new comment:
Hi Bruno,
absolutely no problems with entering the discussion late. After all
such discussions with learned people like you all here would make me
understand and learn more :)
Question #658629 on Yade changed:
https://answers.launchpad.net/yade/+question/658629
Bruno Chareyre proposed the following answer:
I must point out (sorry to enter this discussion late) that you seem to make
your life complex for no good, for the sole reason that you want a circular
Question #658629 on Yade changed:
https://answers.launchpad.net/yade/+question/658629
Swapnil posted a new comment:
Or I guess doing both is an even better idea. Will try slowing down the
simulation speed :)
--
You received this question notification because your team yade-users is
an answer
Question #658629 on Yade changed:
https://answers.launchpad.net/yade/+question/658629
Jan Stránský posted a new comment:
Sorry, in the case of a plate, probably playing with mass is ok also from
"physical point of view" :-)
good luck
Jan
--
You received this question notification because your
Question #658629 on Yade changed:
https://answers.launchpad.net/yade/+question/658629
Jan Stránský posted a new comment:
It is one option. Another (perhaps "more physical") is to play with time step.
Jan
--
You received this question notification because your team yade-users is
an answer
Question #658629 on Yade changed:
https://answers.launchpad.net/yade/+question/658629
Swapnil posted a new comment:
Yeah, the reason I am asking is because it becomes unstable after a
certain period of load application. Therefore, I am playing with the
mass to find a suitable value to make the
Question #658629 on Yade changed:
https://answers.launchpad.net/yade/+question/658629
Jan Stránský proposed the following answer:
> the box at the top (upper_plate) would have a default mass. Right?
depending on "default". It has mass equal to its material density times
its volume
> How can we
Question #658629 on Yade changed:
https://answers.launchpad.net/yade/+question/658629
Swapnil posted a new comment:
The last part of this task before moving to the next:
the box at the top (upper_plate) would have a default mass. Right? How
can we know that value?
thereafter, I can alter it
Question #658629 on Yade changed:
https://answers.launchpad.net/yade/+question/658629
Swapnil posted a new comment:
Yes, exactly..
--
You received this question notification because your team yade-users is
an answer contact for Yade.
___
Mailing
Question #658629 on Yade changed:
https://answers.launchpad.net/yade/+question/658629
Swapnil posted a new comment:
Jan, I think I got my mistake on that one ;)
Should have defined Upper_plate and then saved its ID separately.
--
You received this question notification because your team
Question #658629 on Yade changed:
https://answers.launchpad.net/yade/+question/658629
Swapnil posted a new comment:
Hi Jan. Sorry for being late. I was not at the system for all these
days.
Here is the current code:
from yade import pack,plot
import math,time
from math import sin,cos
def
Question #658629 on Yade changed:
https://answers.launchpad.net/yade/+question/658629
Jan Stránský posted a new comment:
Hello,
please post a complete code, the segment you gave should be a syntax error..
thanks
Jan
--
You received this question notification because your team yade-users is
an
Question #658629 on Yade changed:
https://answers.launchpad.net/yade/+question/658629
Swapnil posted a new comment:
correction: I have used, Dz=upper_plateID.state.displ()[2]
--
You received this question notification because your team yade-users is
an answer contact for Yade.
Question #658629 on Yade changed:
https://answers.launchpad.net/yade/+question/658629
Swapnil posted a new comment:
Thanks Jan, that was right on the current target ;)
Coming to the next part of the problem which involves the plotting of the data,
I wish to track the displacement of the upper
Question #658629 on Yade changed:
https://answers.launchpad.net/yade/+question/658629
Jan Stránský proposed the following answer:
a) use
surf = cylSurf( ..., wire=True)
to have transparent boxes to see what is hapenning inside. In this case, the
shape is strange and spheres are overlapping,
Question #658629 on Yade changed:
https://answers.launchpad.net/yade/+question/658629
Swapnil posted a new comment:
Okay Jan, lets keep the porosity topic for later.
Now, I managed to get the set up ready. the following is the script:
from yade import pack,plot
(1) create cylinder made of
Question #658629 on Yade changed:
https://answers.launchpad.net/yade/+question/658629
Jan Stránský proposed the following answer:
very roughly: you have volume with dimensions 8x8x5, trying to fill
there particles with 0.02 diameter, i.e. 400x400x250=40M particles..
probably that is the reason of
Question #658629 on Yade changed:
https://answers.launchpad.net/yade/+question/658629
Swapnil posted a new comment:
I tried
pred=pack.inCylinder((1,2,3),(1,2,8),4)
sp=pack.randomDensePack(pred,radius=0.01,spheresInCell=300)
and the system is overloaded and hung. Cannot see the simulation :)
Is
Question #658629 on Yade changed:
https://answers.launchpad.net/yade/+question/658629
Jan Stránský proposed the following answer:
use pack.inCylinder(...) as a predicate for randomDensePack, not surf (list of
boxes)
Jan
--
You received this question notification because your team yade-users is
Question #658629 on Yade changed:
https://answers.launchpad.net/yade/+question/658629
Swapnil posted a new comment:
Okay, I will be on that part soon :)
firstly, I am trying to fill in the created cylinder with spheres. I did the
following (full script):
# """creates cylinder made of boxes.
Question #658629 on Yade changed:
https://answers.launchpad.net/yade/+question/658629
Jan Stránský proposed the following answer:
> whether due to its square geometry it would move into the cylinder
upon loading or not?
it would move as it was circular, because there would be no box-box
Question #658629 on Yade changed:
https://answers.launchpad.net/yade/+question/658629
Swapnil posted a new comment:
Yes, Jan it works fine so far. I tried the following:
upper_plate=O.bodies.append(box((1,2,3),(4,4,0.0002)))
lower_plate=O.bodies.append(box((1,2,8),(4,4,0.0002)))
The set-up looks
Question #658629 on Yade changed:
https://answers.launchpad.net/yade/+question/658629
Jan Stránský proposed the following answer:
Boxes are just boxes, cuboids. The point is that you do not need circular top
and bottom, the enlarged "square" box is just fine, the overhangs do not matter.
cheers
Question #658629 on Yade changed:
https://answers.launchpad.net/yade/+question/658629
Swapnil posted a new comment:
Alright Jan. Thanks, now I have some idea about this :)
But I still cannot figure out the way to create circular top and bottom
boxes (plate shapes) from the documentation
--
You
Question #658629 on Yade changed:
https://answers.launchpad.net/yade/+question/658629
Swapnil posted a new comment:
Upon implementing the above code, I am curious as to how we can achieve
a circular box at the top and bottom of the cylinder. I am searching for
the commands in the documentation
Question #658629 on Yade changed:
https://answers.launchpad.net/yade/+question/658629
Jan Stránský proposed the following answer:
###
def cylSurf(center,radius,height,nSegments=12,thick=0,**kw):
"""creates cylinder made of boxes. Axis is parallel with z+
center ... center of bottom disc
Question #658629 on Yade changed:
https://answers.launchpad.net/yade/+question/658629
Swapnil posted a new comment:
Thanks Jan but I did not fully understand the code you have written
here. Only grabbed the overview. Could you please comment on each step
above for a clearer understanding and
Question #658629 on Yade changed:
https://answers.launchpad.net/yade/+question/658629
Jan Stránský proposed the following answer:
(6) you can use this or similar function to create a cylindrical surface. Top
and bottom box is easy. Have a look at [1] for engines to use
###
from math import
Question #658629 on Yade changed:
https://answers.launchpad.net/yade/+question/658629
Swapnil posted a new comment:
thanks Jan :)
For (5) will have to explore while running the simulation
(6) that brings me to a new question. How to use boxes to create a
cylindrical geometry? Then pick
Question #658629 on Yade changed:
https://answers.launchpad.net/yade/+question/658629
Status: Open => Answered
Jan Stránský proposed the following answer:
Hello,
(5) depends where and how you want to use it
(6) An alternative is to use facets only for the cylinderical (non-flat)
surface
New question #658629 on Yade:
https://answers.launchpad.net/yade/+question/658629
Hi friends :)
I am trying to conduct a simulation of a laboratory oedometric test used for
testing the consolidation of a soil sample.
I went through the example in the Yade documentation already
31 matches
Mail list logo