Mandyoc is a finite element code written on top of the PETSc library to simulate thermo-chemical convection of the Earth’s mantle. Different linear and non-linear rheologies can be adopted, appropriately simulating the strain and stress pattern in the Earth’s crust and mantle, both in extensional or collisional tectonics.


On the Documentation page, you will be able to find relevant information on how the code works, how it was implemented, how to install it, the description of the parameters and input files, some applications and some useful examples.

Need any help?


Code of conduct

Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.

Contributing Guidelines

Contributions to Mandyoc are welcome. If you have an issue, a bug, a code contribution or a documentation contribution, thanks for helping to improve Mandyoc! Check out our Contributing guide.


This is free software, you can redistribute it and/or modify it under the terms of the BSD 3-clause License. A copy of this license is provided in LICENSE.