# 使用 Homebrew 安装 tfel

查看 tfel 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

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

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install tfel
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:tfel
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/tfel>
- **版本:** 5.1.0
- **来源摘要:** Code generation tool dedicated to material knowledge for numerical mechanics
- **主页:** <https://thelfer.github.io/tfel/web/index.html>
- **仓库:** <https://github.com/thelfer/tfel>
- **上游文档:** <https://thelfer.github.io/tfel/web/index.html>
- **许可证:** GPL-1.0-or-later
- **源码归档:** <https://github.com/thelfer/tfel/archive/refs/tags/TFEL-5.1.0.tar.gz>
- **已生成:** 2026-07-08T18:08:21+00:00

## 可执行文件

- 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 (别名)
- mfm-test-generator (别名)
- mfront (别名)
- mfront-doc (别名)
- mfront-query (别名)
- mtest (别名)
- tfel-check (别名)
- tfel-config (别名)
- tfel-doc (别名)
- tfel-unicode-filt (别名)

## 依赖

- python@3.14

## 构建依赖

- cmake
- gcc
- pybind11

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 5.1.0
- 本地数据: OK
- 上游仓库: https://github.com/thelfer/tfel
- 信息: No package-manager update timestamp was available.
- 信息: No cached GitHub release or tag data was available.
## 项目历史与用法

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.

### 项目历史

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.

### 采用历史

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.

### 使用方式

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.

### 为什么软件包爱好者会关心

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.

### 时间线

- 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.

### 来源

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


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals

## 源数据库详情

- **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


## 相关链接

- [Source-control packages](https://www.automicvault.com/zh-hans/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Developer build packages](https://www.automicvault.com/zh-hans/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/zh-hans/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [python@3.14](https://www.automicvault.com/zh-hans/pkg/brew/python-3-14/) - Runtime dependency declared by Homebrew.
- [cmake](https://www.automicvault.com/zh-hans/pkg/brew/cmake/) - Build dependency declared by Homebrew.
- [gcc](https://www.automicvault.com/zh-hans/pkg/brew/gcc/) - Build dependency declared by Homebrew.
- [pybind11](https://www.automicvault.com/zh-hans/pkg/brew/pybind11/) - Build dependency declared by Homebrew.
- [gmsh](https://www.automicvault.com/zh-hans/pkg/brew/gmsh/) - Shares av.db curated category or tags: cli, engineering, science.
- [damask-grid](https://www.automicvault.com/zh-hans/pkg/brew/damask-grid/) - Shares av.db curated category or tags: cli, materials-science, science.
- [kim-api](https://www.automicvault.com/zh-hans/pkg/brew/kim-api/) - Shares av.db curated category or tags: cli, materials-science, science.
- [lammps](https://www.automicvault.com/zh-hans/pkg/brew/lammps/) - Shares av.db curated category or tags: cli, materials-science, science.
- [sollya](https://www.automicvault.com/zh-hans/pkg/brew/sollya/) - Shares av.db curated category or tags: cli, code-generation, science.
- [aamath](https://www.automicvault.com/zh-hans/pkg/brew/aamath/) - Shares av.db curated category or tags: cli, science.
- [abpoa](https://www.automicvault.com/zh-hans/pkg/brew/abpoa/) - Shares av.db curated category or tags: cli, science.
- [abricate](https://www.automicvault.com/zh-hans/pkg/brew/abricate/) - Shares av.db curated category or tags: cli, science.
- [precice](https://www.automicvault.com/zh-hans/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/zh-hans/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/zh-hans/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)


## 来源

- 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
