# Install tfel with Homebrew

Code generation tool dedicated to material knowledge for numerical mechanics. Version 5.1.0 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:tfel
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install tfel
```

  Evidence: local Homebrew formula metadata

## Package facts

- **Package key:** brew:tfel
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/tfel>
- **Version:** 5.1.0
- **Source summary:** Code generation tool dedicated to material knowledge for numerical mechanics
- **Homepage:** <https://thelfer.github.io/tfel/web/index.html>
- **Repository:** <https://github.com/thelfer/tfel>
- **Upstream docs:** <https://thelfer.github.io/tfel/web/index.html>
- **License:** GPL-1.0-or-later
- **Source archive:** <https://github.com/thelfer/tfel/archive/refs/tags/TFEL-5.1.0.tar.gz>
- **Generated:** 2026-07-08T18:08:21+00:00

## Executables

- mfm (cli)
- mfm-test-generator (cli)
- mfront (cli)
- mfront-doc (cli)
- mfront-query (cli)
- mtest (cli)
- tfel-check (cli)
- tfel-config (cli)
- tfel-doc (cli)
- tfel-unicode-filt (cli)
- mfm (alias)
- mfm-test-generator (alias)
- mfront (alias)
- mfront-doc (alias)
- mfront-query (alias)
- mtest (alias)
- tfel-check (alias)
- tfel-config (alias)
- tfel-doc (alias)
- tfel-unicode-filt (alias)

## Dependencies

- python@3.14

## Build dependencies

- cmake
- gcc
- pybind11

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 5.1.0
- Local data: ok
- Upstream repository: https://github.com/thelfer/tfel
- info: No package-manager update timestamp was available.
- info: No cached GitHub release or tag data was available.
## Project history and usage

TFEL/MFront is a scientific computing and materials-mechanics project centered on MFront, a code generator for material knowledge. Official sources describe TFEL as a collaborative development of CEA and EDF, with MFront translating domain-specific languages into C++ on top of the TFEL library.

### Project history

TFEL predates many of the Terraform-adjacent tools in this batch. The README states that versions before 0.1 were released under LGPL and CECILL-B, that the 1.x series was developed by CEA within the PLEIADES project, and that since SVN revision 584 TFEL was part of PLEIADES.

From the 2.x series onward, TFEL was publicly released under GPL or CECILL-A licensing, with CEA or EDF retaining the ability to distribute it under specific licensing conditions. The repository README records CEA/DEN copyright for 2006-2013 and CEA/DEN plus EDF R&D copyright for 2014-2025.

The project is tied to academic and industrial numerical mechanics. Its README asks users to cite a 2015 Computers and Mathematics with Applications paper introducing the open-source MFront code generator for mechanical behaviours and material knowledge management in the PLEIADES fuel element modelling platform.

### Adoption history

Official documentation positions MFront as a bridge between material-model authors and simulation codes, listing interfaces for finite-element solvers such as Cast3M, Code_Aster, Abaqus Standard, Abaqus Explicit, Zebulon, and FFT solvers such as AMITEX_FFTP.

The Homebrew formula exposes a broad tool suite, including `mfront`, `mtest`, `mfront-doc`, `mfront-query`, `tfel-config`, and related utilities. That packaging makes a research/engineering code generator installable through the same package-manager workflow used for developer CLIs.

### How it is used

MFront users write material properties, mechanical behaviours, or point-wise models in domain-specific languages and generate C++ implementations that can be connected to solver interfaces. MTest is used to test local material behaviour by imposing independent constraints on strain or stress components without launching a full finite-element solver.

For package users, the CLI surface matters: `mfront` and `mtest` are the everyday commands, while the documentation and query tools support model inspection, generated documentation, and build integration.

### Why package nerds care

TFEL is significant in a package catalog because it is not a small wrapper around another CLI; it is a long-lived scientific toolchain with its own DSLs, generated C++ artifacts, solver integrations, release branches, and licensing history. Its Homebrew presence lets macOS and Linux users install a niche numerical-mechanics stack without building it entirely by hand.

Unlike most formulae named with a `tf` prefix, TFEL has no relation to Terraform. That makes the package historically important to disambiguate in package metadata: it belongs to computational mechanics and materials science, not cloud infrastructure.

### Timeline

- 2006-2013: README records CEA/DEN copyright for early TFEL development.
- 2014-2025: README records CEA/DEN and EDF R&D copyright.
- 2015: Official citation paper introduces the open-source MFront code generator.
- 2023: README notes addition of a linking exception clause to the GPL license.
- 2025: Repository page lists TFEL 5.1.0 as the latest official version.

### Related projects

- MFront is the central code generator distributed with TFEL.
- MTest is the local material-behaviour test tool distributed with TFEL.
- PLEIADES is the CEA project named in the TFEL licensing/history notes.

### Sources

- <https://github.com/thelfer/tfel>
- <https://thelfer.github.io/tfel/web/index.html>
- source_facts.executables
- source_facts.package-manager.brew


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** tfel
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Developer build packages](https://www.automicvault.com/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [python@3.14](https://www.automicvault.com/pkg/brew/python-3-14/) - Runtime dependency declared by Homebrew.
- [cmake](https://www.automicvault.com/pkg/brew/cmake/) - Build dependency declared by Homebrew.
- [gcc](https://www.automicvault.com/pkg/brew/gcc/) - Build dependency declared by Homebrew.
- [pybind11](https://www.automicvault.com/pkg/brew/pybind11/) - Build dependency declared by Homebrew.
- [gmsh](https://www.automicvault.com/pkg/brew/gmsh/) - Shares av.db curated category or tags: cli, engineering, science.
- [damask-grid](https://www.automicvault.com/pkg/brew/damask-grid/) - Shares av.db curated category or tags: cli, materials-science, science.
- [kim-api](https://www.automicvault.com/pkg/brew/kim-api/) - Shares av.db curated category or tags: cli, materials-science, science.
- [lammps](https://www.automicvault.com/pkg/brew/lammps/) - Shares av.db curated category or tags: cli, materials-science, science.
- [sollya](https://www.automicvault.com/pkg/brew/sollya/) - Shares av.db curated category or tags: cli, code-generation, science.
- [aamath](https://www.automicvault.com/pkg/brew/aamath/) - Shares av.db curated category or tags: cli, science.
- [abpoa](https://www.automicvault.com/pkg/brew/abpoa/) - Shares av.db curated category or tags: cli, science.
- [abricate](https://www.automicvault.com/pkg/brew/abricate/) - Shares av.db curated category or tags: cli, science.
- [precice](https://www.automicvault.com/pkg/brew/precice/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, config, doc, python, python-3-14.
- [arxiv_latex_cleaner](https://www.automicvault.com/pkg/brew/arxiv-latex-cleaner/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, code, python, python-3-14, science.
- [gnuradio](https://www.automicvault.com/pkg/brew/gnuradio/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, config, python, python-3-14, science.

## Combined YAML source

View the package source record on GitHub. [combined/tfel.yml](https://github.com/automic-vault/db/blob/main/combined/tfel.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- cross-ecosystem install command graph
