Question #702750 on Yade changed:
https://answers.launchpad.net/yade/+question/702750
Status: Open => Answered
Jan Stránský proposed the following answer:
> ... coordinates of each particle?
> ... the z-value of the uppermost particle?
> ... the z-value of each particle in the uppermost layer
Question #702750 on Yade changed:
https://answers.launchpad.net/yade/+question/702750
Status: Answered => Open
孙灿 is still having a problem:
Yes, I added zMax = max(b.state.pos[2] for b in O.body if
isinstance(b.shape, Sphere)) to the checkUnbalanced() function, z-values
can get the output, b
Question #702750 on Yade changed:
https://answers.launchpad.net/yade/+question/702750
Status: Open => Answered
Jan Stránský proposed the following answer:
Thanks for the MWE.
> But the zMax = max(b.state.pos[2] for b in O.bodies) string of code
didn't solve my problem. It can only get the z-
Question #702750 on Yade changed:
https://answers.launchpad.net/yade/+question/702750
Status: Answered => Open
孙灿 is still having a problem:
My code is as follows:
from yade import pack,plot
O.bodies.append(geom.facetBox((0.05, 9, 10), (0.1, 9, 10), wallMask=63))
sp = pack.SpherePack()
sp.ma
Question #702750 on Yade changed:
https://answers.launchpad.net/yade/+question/702750
Jan Stránský requested more information:
Hello,
> My code is as follows:
please make your code MWE [1]:
W = working. This code throw IndentationError: unexpected indent
M = minimal. For the problem, there is n
Question #702750 on Yade changed:
https://answers.launchpad.net/yade/+question/702750
孙灿 posted a new comment:
I tried it and found that the code had no errors, but no z-value output for the
uppermost particles.
My code is as follows:
from yade import pack,plot
O.bodies.append(geom.facetBox((0.
Question #702751 on Yade changed:
https://answers.launchpad.net/yade/+question/702751
Status: Open => Answered
Jan Stránský proposed the following answer:
It depends on definition.
In Yade, if you enable periodicity, it is applied in 3 direction, no matter
what.
But enlarging the periodic ce
Question #702751 on Yade changed:
https://answers.launchpad.net/yade/+question/702751
Status: Answered => Open
Roxana Saghafian Larijani is still having a problem:
Isn’t it the case that the periodic boundary is being implemented in all
three directions? Is there any way I can avoid periodic
Question #702751 on Yade changed:
https://answers.launchpad.net/yade/+question/702751
Status: Open => Answered
Jan Stránský proposed the following answer:
> I have also attached the Drum.stl
attachments are not possible here in launchpad questions..
Please either provide the content of the f
Question #702751 on Yade changed:
https://answers.launchpad.net/yade/+question/702751
Status: Needs information => Open
Roxana Saghafian Larijani gave more information on the question:
Hello Jan,
The problem is that I think the periodic boundary is being applied in all
directions (but I only
Question #702773 on Yade changed:
https://answers.launchpad.net/yade/+question/702773
Status: Open => Answered
Jan Stránský proposed the following answer:
Hello,
> my code is
please provide the code as a MWE [1], W = working, complete.
In this case, if you just run the code, you get "NameEr
Question #702773 on Yade changed:
https://answers.launchpad.net/yade/+question/702773
Jinziyu gave more information on the question:
N_particles=1
--
You received this question notification because your team yade-users is
an answer contact for Yade.
_
New question #702773 on Yade:
https://answers.launchpad.net/yade/+question/702773
my code is
sp.makeCloud(Vector3(0,0,0.02),Vector3(1.5,1.5,0.02),rMean=0.008,rRelFuzz=0.33,num=N_particles)
but the result is uniform radius distribute in [0.0107511,0.0132688], so rMean
is about 0.01200995, not 0
Question #702751 on Yade changed:
https://answers.launchpad.net/yade/+question/702751
Status: Open => Needs information
Jan Stránský requested more information:
Hello,
> But I get a very weird simulation.
please be (much) more specific.
> Is the center of the created box using O.cell.setBo
Question #702743 on Yade changed:
https://answers.launchpad.net/yade/+question/702743
Status: Open => Needs information
Jan Stránský requested more information:
Hello,
> y-axis (vertical axis)
although it does not really matter, I prefer z to be vertical
> I don't see a place to post them
Question #702750 on Yade changed:
https://answers.launchpad.net/yade/+question/702750
Status: Open => Answered
Jan Stránský proposed the following answer:
Hello,
> How do I get the coordinates of each particle?
it depends on the definition of "get".
You can print them in a for loop:
for b
16 matches
Mail list logo