← Back to team overview

yade-users team mailing list archive

Re: [Question #706766]: How to get Micro-strain field from a 2D simulation in YADE

 

Question #706766 on Yade changed:
https://answers.launchpad.net/yade/+question/706766

    Status: Open => Answered

Karol Brzezinski proposed the following answer:
Hi Leonard,

The algorithm in Yade builds a 3D tesselation. It is hard for the
algorithm to build it if all the particles lie on the same plane. Maybe
you could add some 'thickness' to your simulation by creating three
identical sets of particles on three parallel planes.

Of course, it is not efficient to do the simulation this way. But you
can store the information about your particles ("one layer") in separate
files during simulation [1]. After this, you could prepare another
script just for loading the particles into the simulation at certain
positions. However, in the second script, you can load the previously
stored 'layer' three times (two times with shifted position, using the
shift option [2]). That way, you will have some "thickness" of the
sample.

Cheers,
Karol

[1] https://yade-dem.org/doc/yade.export.html?highlight=export#yade.export.text
[2] https://yade-dem.org/doc/yade.ymport.html?highlight=ymport#module-yade.ymport

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.