Using mgpost

From Yade

Revision as of 14:19, 15 September 2009 by Richefeu (talk | contribs) (→‎Screenshots)

mgpost

mgpost is a tool for post-processing and visualization of 3D DEM simulations. The source code can be found within yade repository, in the folder extra. A quick user guide is also provided.

As I sortly said, mgpost is a small soft for viewing 2D or 3D discrete element simulations. These simulations can be performed with the computer code of your choice (I hope it is yade!). The 'comunication' between the simulation code and mgpost is performed through MGP files. It is actually a XML format with specific tags (described in the user guide).

mgpost uses the standard openGL API for 2D and 3D vectorial graphics. It can currently be compiled on unix-like operating system such as kubuntu or Mac OS X, and have already be builded on windows in the past.


Generating MGP files with yade

A basic (StandAlone)Engine is provided for this purpose: MGPRecorder. It works only for spheres for the moment.


Screenshots

Here are some screenshots generated with mgpost.

A meshed tomography for SpherePadder
A packing of about 800 000 spheres obtained from the previous tomography
Normal forces between polyhedra
Packing of 40 000 polyhedra (the walls are not shown). The colors correspond to velocity magnitude of the particles