esys-escript

esys-escript is a module for implementing mathematical models in Python using the finite element method (FEM). As users do not access the underlying data structures it is very easy to use and scripts can run on desktop computers as well as massive parallel supercomputers without changes. Application areas for esys-escript include geophysical inversion, earthquakes, porous media flow, reactive transport, plate subduction, erosion, earth mantle convection, and tsunamis.

esys-escript is designed as an easy-to-use environment for implementing mathematical models based on non-linear, coupled, time-dependent partial differential equations. It uses the finite element method (FEM) for spatial discretization and data representation and is used through Python. It is suitable for rapid prototyping (e.g. for a student project or thesis) as well as for large software projects. Scripts are executed sequentially, on multi-core platforms via OpenMP and distributed computing clusters using MPI. The hybrid mode of OpenMP and MPI is supported and allows for solving problems with over 200 million unknowns on several thousand cores on a parallel computer.

For geophyscial inversion see also the extensions gambit and fingal.

Main Features:

  • python based user interface
  • two- and three-dimensional finite and spectral element simulations
  • specialized geophysical inversion module
  • support for VTK and SILO file format
  • unstructured meshes from gmsh
  • parallelization with OpenMP and MPI support
  • Flux Controlled Transport solver (FEM-FCT)
  • visualization with VisIt, paraview, mayavi and others
  • platform is Linux; there is limited support for MacOS and Windows

Access:

Source code is available at https://github.com/LutzGross/esys-escript.github.io.

A version of the documentation for the current master brunch is available here.

Questions & Bugs

To raise a question or to report a bug please start a github issue.

Linux or MacOS Installation from Source

Please inspect the installation guide for information on a specific Linux distribution.

Debian Distribution

Debian packages [python3-escript-mpi] and [python3-escript] for version 5 are available.

Anaconda Installation Version 5 (needs validation)

To install esys-escript for anaconda, first run conda and then the command

conda install esys-escript -c conda-forge

At present, this is the recommended way to run esys-escript on Windows.

Using esys-escript

Online documentation for master branch is available here.

Documentation Resources

Installation Guide

User Guide (PDF)

Python API Reference

Examples

Funding

The project was funded by the

If you publish work that makes use of esys-escript, we would appreciate it if you would cite the following reference:

Contributors

  • Lutz Gross
  • Adam Ellery
  • Andrea Codd
  • Joel Fenwick
  • Cihan Altinay
  • Simon Shaw
  • Jaco Du Plessis
  • Ralf Schaa
  • Peter Hornby (late)
  • Thomas Poulet
  • Lin Gao
  • Artak Amirbekyan
  • Ken Steube