Mechanical Systems: Computing library for simulations in continuum and discrete mechanics

MechSys is a programming library for the implementation of simulation tools in mechanics. Its source code is mainly written in C++ with parts in Python and Go (under development).

Potential applications include, for instance, solid mechanics using the finite element method, mechanics of granular materials using the discrete element method, and computational fluid dynamics using the lattice Boltzmann method.

See: References below for papers produced with MechSys.

See: Mailing list for a forum for discussions and Q&A: MechSys' mailing list.

The Discrete Element Method in MechSys can handle particles of many different shapes.

MechSys can be used to develop simulation tools for continuum mechanical systems as well as for systems based on the concept of discrete/molecular dynamics.

Table of Contents


This library includes (among others):


The following list presents some Conference and Journal papers that have employed MechSys for calculations.

Acknowledgement of these papers is highly appreciated especially if you use MechSys in your work.

Galindo-Torres SA, Pedroso DM, Williams DJ, Muhlhaus HB (2014) An Analysis of the Strength of Anisotropic Granular Assemblies via Discrete Methods. Applied Mechanics and Materials ,
Galindo-Torres SA, Scheuermann A, Williams DJ, Muhlhaus HB (2014) Micro-Mechanics of Contact Erosion. Applied Mechanics and Materials ,
To H.D., Scheuermann A., Galindo-Torres SA (2014) A Numerical Approach for the Determination of the Primary Fabric of Granular Soils. Applied Mechanics and Materials ,
Galindo-Torres SA, Scheuermann A, Williams DJ, Muhlhaus HB (2013) A micro-mechanical approach for the study of contact erosion. Acta Geotechnica Special Issue: Hydraulic instabilities in granular materials Theory and Experiments ,
Galindo-Torres SA (2013) A coupled Discrete Element Lattice Boltzmann Method for the simulation of fluid-solid interaction with particles of general shapes Computer Methods in Applied Mechanics and Engineering ,
Galindo-Torres SA, Pedroso DM, Williams DJ, Muhlhaus HB (2013) Strength of non-spherical particle assemblies under triaxial and shearing loading configurations. Granular Matter,
Galindo-Torres SA, Scheuermann A, Li L, Pedroso DM, Williams DJ (2013) A lattice Boltzmann model for studying transient effects during imbibition-drainage cycles in unsaturated soils. Computer Physics Communications, 184(4), 1086-1093.
Galindo-Torres SA, Scheuermann A, Li L (2012) A numerical study of the permeability in a tensorial form for laminar flow in anisotropic media. Physical Review E, 86, 046306.
Galindo-Torres SA, Pedroso DM, Williams DJ, Li L (2012) Breaking processes in three-dimensional bonded granular materials with general shapes. Computer Physics Communications, 183(2), 266-277.
Pedroso DM, Galindo-Torres SA, Williams DJ (2010) On the mechanical behaviour of dry cohesionless soils by DEM simulations. Proc 5th International Workshop on New Frontiers in Computational Geotechnics (NFCOMGEO-V), July 26-27 (2010), Brisbane, Australia, ISBN:9784877971779
Galindo-Torres SA, Pedroso DM (2010) Molecular dynamics simulations of complex shaped particles using Voronoi-based spheropolyhedra. Physical Review E, 81, 061303.
Galindo-Torres SA, Marroquin F, Wang Y, Pedroso DM, Castano J (2009) Molecular dynamics simulation of complex particles in three dimensions and the study of friction due to nonconvexity. Physical Review E, 79, 060301.
Buzzi O, Pedroso DM, Giacomini A (2008) Caveats on the implementation of the Generalized Material Point Method, Computer Modeling in Engineering & Sciences, 31(2), 85-106.

Copyright of the papers rests with a variety of different parties. They are made available solely on the same basis that the researcher would supply a single copy of a paper to an individual. It is up to you to ensure that your use of a paper does not infringe copyright law.


Some animations produced by MechSys' simulations are shown below. Additional animations can be found in the MechSysLib YouTube channel or in Sergio Torres' Youtube channel for simulations created from the DEM and the LBM modules.

LBM Simulations

DEM Simulations

DEM+LBM Simulations

Mailing List

Forum for discussions and Q&A: MechSys' mailing list.