FEniCS Project
{{ infobox software
| name = FEniCS Project
| logo = FEniCS_logo.svg
| operating_system = Linux, OS X, Unix, WSL
| license = GNU Lesser General Public License
| language = C++, Python
| genre = Scientific simulation software
| website = {{URL|www.fenicsproject.org}}
}}
The FEniCS Project is a collection of free and open-source software components with the common goal to enable automated solution of differential equations. The components provide scientific computing tools for working with computational meshes,
finite-element variational formulations of ordinary and partial differential equations, and numerical linear algebra.{{cite web|title=The FEniCS Project page|url=http://www.fenicsproject.org|work=The FEniCS Project|access-date=28 July 2016}}{{cite book|title=Automated Solution of Differential Equations by the Finite Element Method|year=2011|publisher=Springer|isbn=978-3-642-23098-1|editor1=Anders Logg |editor2=Kent-Andre Mardal |editor3=Garth N. Wells }}
Design and components
The FEniCS Project is designed as an umbrella project for a collection of interoperable components. The core components are{{cite web|title=Core components of the FEniCS Project|url=http://fenicsproject.org/about/components.html#core-components|archive-url=https://web.archive.org/web/20111104045327/http://fenicsproject.org/about/components.html#core-components|url-status=dead|archive-date=4 November 2011|work=The FEniCS Project|access-date=8 December 2011}}
- UFL (unified form language), a domain-specific language embedded in Python for specifying finite element discretizations of differential equations in terms of finite element variational forms;
- FIAT (finite element automatic tabulator), the finite element backend of FEniCS, a Python module for generation of arbitrary order finite element basis functions on simplices;
- FFC (fenics form compiler), a compiler for finite element variational forms taking UFL code as input and generating UFC output;
- UFC (unified form-assembly code), a C++ interface consisting of low-level functions for evaluating and assembling finite element variational forms;
- Instant, a Python module for inlining C and C++ code in Python;
- DOLFIN, a C++/Python library providing data structures and algorithms for finite element meshes, automated finite element assembly, and numerical linear algebra.
DOLFIN, the computational high-performance C++ backend of FEniCS, functions as the main problem-solving environment (in both C++ and Python) and user interface. Its functionality integrates the other FEniCS components and handles communication with external libraries such as PETSc, Trilinos and Eigen for numerical linear algebra, ParMETIS and SCOTCH for mesh partitioning, and MPI and OpenMP for distributed computing.
As of May 2022, DOLFINx is the recommended user-interface of the FEniCS project.{{cite web | url=https://fenicsproject.discourse.group/t/the-new-dolfinx-solver-is-now-recommended-over-dolfin/8249 | title=The new DOLFINx solver is now recommended over DOLFIN | website=fenicsproject.discourse.group}}
History
The FEniCS Project was initiated in 2003 as a research collaboration between the University of Chicago and Chalmers University of Technology. The following institutions are currently, or have been, actively involved in the development of the project
- Argonne National Laboratory
- Chalmers University of Technology
- Charles University[https://bitbucket.org/fenics-project/governance/src/49fe0fefd2c7b8b1402b8c6a3c17f830835f8483/people.md?fileviewer=file-view-default FEniCS Governance documents. Retrieved 28 July 2016.]
- Delft University of Technology
- Royal Institute of Technology
- Simula Research Laboratory
- University of Cambridge
- University of Chicago
- University of Luxembourg
DOLFINx
Since 2019, the core components of the FEniCS project have received a major refactoring.{{cite web |url=https://fenicsproject.org/fenics-project-roadmap-2019/ |title=Roadmap 2019-2020 – FEniCS Project |website=fenicsproject.org |url-status=dead |archive-url=https://web.archive.org/web/20190607131947/https://fenicsproject.org/fenics-project-roadmap-2019/ |archive-date=2019-06-07}} resulting in [https://github.com/FEniCS/dolfinx/ DOLFINx].{{cite web | url=https://zenodo.org/doi/10.5281/zenodo.10447665| title=DOLFINx: The next generation FEniCS problem solving environment| access-date=2024-04-04}} DOLFINx supports many new features not available in the old DOLFIN interface, including:
- Arbitrary degree finite elements on interval, triangle, quadrilateral, tetrahedral and hexahedral cells, including unstructured meshes without special ordering;
- Meshes with flat or curved cells;
- Custom partitioning of cells across multiple processes;
- Parallel IO via Gmsh, VTK, [https://docs.pyvista.org/version/stable/ PyVista], and [https://adios2.readthedocs.io/en/latest/ ADIOS2];
- Assembly and solvers using different floating point scalar types, including complex types;
- Assembly of custom element kernels written using Numba;
- Interpolation of functions into arbitrary function spaces;
- Interpolation between function spaces built on different (non-matching) meshes, including meshes using non-affine geometry;
- Ability to non-intrusively support different linear algebra backends, e.g., NumPy, PETSc, Trilinos, and Eigen;
- User-defined finite elements.
See also
- List of finite element software packages
- List of numerical analysis software
- Using the FEATool Multiphysics GUI to set up and solve FEniCS multiphysics models{{cite web|url=https://www.featool.com/tutorial/2017/06/16/Python-FEM-and-Multiphysics-Simulations-with-Fenics-and-FEATool.html|title=Python FEM and Multiphysics Simulations with FEniCS and FEATool |website=featool.com |access-date=2017-06-28}}{{Cite book|title=Computational Reality {{!}} SpringerLink|volume = 55|last=Abali|first=Bilen Emek|language=en-gb|doi=10.1007/978-981-10-2444-3|series = Advanced Structured Materials|year = 2017|isbn = 978-981-10-2443-6}}
- [https://defelement.org/ DefElement: An encyclopedia of finite element definitions]
References
{{Reflist}}
External links
- [https://github.com/fenics/dolfinx DOLFINx] on GitHub
- [http://bitbucket.org/fenics-project The (legacy) FEniCS project] on Bitbucket
{{CAE software}}
{{Projects at Chalmers University of Technology}}
Category:Scientific simulation software
Category:Finite element software
Category:Finite element software for Linux