Skip to main content
v2026.11,986 entries · CC-BY 4.0

Code_Aster: Open-Source Finite Element Solver Explained

Code_Aster is EDF’s open-source finite element solver under GPLv3: what it is, whether it is free, how versions work, and where Python fits.

Written and maintained by CASRAI Editorial Board

Published

On this page

Code_Aster (written code_aster in its own documentation) is an open-source finite element solver for mechanical, thermal and dynamic analysis, developed by the French utility EDF and released under the GNU GPL version 3. It is free to download and use, and its full source code is public. The practical cost is not a licence fee but the learning time and the care needed to record exactly which version produced a result.

What is Code_Aster?

The project’s home page, code-aster.org, describes Code_Aster as an open-source finite element solver covering mechanics, thermal analysis and dynamics. It reports 37 years of development, about 4,600 verification test cases, roughly 2,000 citations and around one million lines of code (as read 2026-11-21; these figures change as the project grows). The documentation’s copyright page states that the code and its documentation are copyright EDF, 1989 to 2026, with additional copyright lines for several other organisations and individual contributors, and points to a CONTRIBUTORS file in the source repository for the fuller list of contributors.

A finite element solver takes a geometry that has been divided into a mesh, material properties, loads and boundary conditions, and computes the resulting fields such as displacement, stress or temperature. Code_Aster is the solver stage of that workflow. Meshing and visualisation are normally done in other tools; the project distributes its own container images that bundle Code_Aster with the Salome-Meca environment and the prerequisites it needs, as described in the repository README.

Is Code_Aster free?

Yes. The source repository at gitlab.com/codeaster/src lists the licence as GNU GPLv3 (read 2026-11-21), and the code can be cloned with Git without registration or payment. The documentation’s installation page gives the clone command and says the compilation instructions are kept in a separate Installation and Development documentation.

Two parts of the project are the exception to “everything is public”, and the README says so directly. Its source files are split across three repositories: src (Python, C/C++ and Fortran source, build scripts and most testcases), validation (a few testcases that use proprietary data) and data (material data that cannot be freely distributed). So the solver is free, but a small number of validation cases and some material data are not part of the open download.

Free software under the GPL is a licence category, not a statement about support or fitness for a particular regulated use. For the general idea, see the CASRAI entry on open-source software; if your institution needs to review the terms before adopting software, the entry on software license agreements explains what such agreements normally cover.

How Code_Aster is used in practice

Download and installation

There are two routes described in the project’s own materials. The first is a container: the README says Singularity containers are available from the project website in the Download/salome_meca section, and that the current Salome-Meca version and the prerequisites are provided inside them. The container must be updated whenever the development version needs new prerequisites, and the Installation and Development documentation and its changelog tell you which image matches which version. As an example the README gives, from version 16.3.2 to the then-current development version the container is named salome_meca-lgpl-2022.1.0-1-20221225-scibian-9.sif.

The second route is to compile from source. The README says the prerequisites can be installed natively, that by default all prerequisites are required and enabled, and that if one is missing the configure step takes the option --no-enable-all. The build uses the waf tool (./waf configure, ./waf install).

Online documentation

If you searched for Code_Aster “online”, the documentation is what is online: the main official documentation is at code-aster.org/doc, and developer-level documentation is hosted at codeaster.readthedocs.io. The developer site’s own User’s Guide page says its content is low-level functions, implementation details and advanced parameters extracted from the source code, reserved for developers and advanced users, and that beginners and standard users should read the main official documentation instead. The project’s own pages do not describe a hosted service that runs analyses for you; the solver is software you run on your own machine or cluster.

Python and the command syntax

Python is part of Code_Aster at two levels. The source repository holds Python alongside C/C++ and Fortran, and the developer documentation states that a Python API of the DataStructures objects is available. Users write their studies in the Code_Aster command syntax, and the developer guide’s “Interface with the user syntax” page explains how it is processed: each command is executed by a command executor class, which checks the user’s keywords against the command’s catalogue definition before creating the result object, and which can adapt keywords from an older version’s syntax before that check. A minimal run is bracketed by the commands DEBUT() and FIN(); the installation page uses such a minimal run to measure how much memory the executable and its libraries occupy.

So “Code_Aster Python” is accurate in the sense that the program is built on Python and exposes a Python-based interface, but the developer documentation treats the low-level API as advanced material; it is not a separate Python package you install in place of the solver.

Running and checking an installation

The installation page describes the run_ctest script, which wraps ctest to execute a list of testcases. It gives one example that checks the sequential testcases of the “submit” list, about 2,000 tests, and another that runs a chosen selection (the page lists testcase names such as ssll112a and ssnl125b). If you use a sequential build and the list contains parallel testcases, those are skipped. The page also explains the --memory option: Code_Aster tries not to use more memory than the value passed, and that figure covers the study objects, the executable and the loaded shared libraries.

Which documentation answers which question

Question Where the project points
I am a beginner or standard user The main official documentation at code-aster.org/doc, as directed by the developer site’s User’s guide page
I need low-level functions, implementation details or the Python API of the data structures The developer documentation at codeaster.readthedocs.io (User’s Guide and Developer’s Guide sections)
I want to compile from source The Building and installing page, which refers on to the Installation and Development documentation
I want to know which container image matches a version The Installation and Development documentation and its changelog page, as the README directs
I want to check an installation The run_ctest script described on the Building and installing page

The developer documentation also has sections on contributing and on EDF’s own development workflow, which matter if you plan to submit changes back to the project rather than only use the solver.

Branches, tags and versions

For a research record, the most useful part of the README is how versions are named. The data table below sets out the repositories and the branches and tags as described there (checked 2026-11-21). The names change with each release cycle, so the examples in the README (15.4.8, 16.0.9, 15.5.0, 16.1.0) are illustrations of the scheme and not a statement of the current release.

In short: main is the development branch; v15 is the maintenance branch for the stable versions, receiving fixes but no new features; v14 is the old stable branch and is no longer updated. Every published version is tagged with its number. Two tags move: stable (the latest frozen state of the stable version) and testing (the latest frozen state of the development version). In discussions, unstable means the head of the development branch and stable-updates the head of the maintenance branch.

The practical consequence is that “I used Code_Aster” is not a reproducible statement. A tag such as stable points to different code at different dates, while a numbered tag does not. When you cite results, give the numbered version, and where you used a container give its file name, since the README ties container images to version ranges.

Where it matters for research and laboratory work

Computational mechanics results are only as trustworthy as the evidence that the software behaves correctly. The project’s emphasis on a verification suite of thousands of testcases, executed through ctest, is its way of providing that evidence, and the instructions for running the tests on your own installation let a group confirm that a local build behaves as the developers’ does. That check belongs in a methods section or a project README next to the version number.

For data and software practice, the same habits apply as for any research code: archive the command files and mesh inputs with the results, record the version tag and container, and cite the software. The CASRAI entries on reproducible research practices, the FAIR software citation working group and the FAIR4RS software citation principles describe the general conventions. Material data that the README says cannot be freely distributed is a related point: if your study relies on proprietary material properties, those inputs may not be shareable even when the solver and command files are.

Common misunderstandings

“Free” does not mean “the whole project is in one download”

The solver source is open, but validation cases with proprietary data and some material data sit outside the main source repository, as the README states.

“Latest” is not a version

The stable and testing tags are aliases that move. Only numbered tags identify fixed code.

Developer documentation is not the beginner manual

The readthedocs site describes itself as extracted from source code and meant for developers and advanced users. Newcomers are directed to the main documentation at code-aster.org/doc.

It is a solver, not a complete modelling suite

Code_Aster performs the analysis. Mesh preparation and result viewing are handled in the surrounding environment, which is why the containers bundle Salome-Meca with it.

Code_Aster is not a new project

The copyright page runs from 1989, and the home page counts 37 years of development. The GitLab repository shows a creation date of 2022-01-11, which reflects the forge, not the code’s age.

Frequently asked questions

What is Code_Aster?

It is an open-source finite element solver for mechanical, thermal and dynamic analysis, developed since 1989 by EDF with other contributors, and distributed under GPLv3.

Is Code_Aster free?

Yes. The solver’s source code is public under GNU GPLv3 and can be cloned from GitLab. Some validation testcases with proprietary data and some material data are held in separate repositories that are not freely distributable.

Where do I download Code_Aster?

From the project website, which links to its downloads, including the Singularity containers that bundle Salome-Meca, or by cloning the source from gitlab.com/codeaster/src and compiling it as described in the Installation and Development documentation.

Does Code_Aster use Python?

Yes. The source includes Python alongside C/C++ and Fortran, and the developer documentation describes a Python API of its data structures and a command executor layer for the user syntax.

Can I run Code_Aster online?

The documentation is online (code-aster.org/doc and codeaster.readthedocs.io), but the project’s pages describe installing and running the software yourself, not a hosted solver.

Sources

Data: Code_Aster source repositories, branches and version tags as described in the project README

Compiled from the Code_Aster source README on GitLab: each repository, branch or tag, what it holds or points to, and whether it receives changes. Checked 2026-11-21; names change with release cycles.

Period covered: 2026.

Code_Aster source repositories, branches and version tags as described in the project README
ItemKindWhat the README says it isReceives new features
srcRepositoryPython, C/C++ and Fortran source files, build scripts and most testcasesNot applicable
validationRepositoryA few testcase files with proprietary dataNot applicable
dataRepositoryMaterial data that cannot be freely distributedNot applicable
mainBranchDevelopment branch where current work goesYes
v15BranchMaintenance branch for the stable versions; only fixesNo
v14BranchOld stable version; not updated anymoreNo
stableMoving tagLatest frozen state of the stable version in the maintenance branchNo
testingMoving tagLatest frozen state of the development version in the development branchYes
15.4.8, 16.0.9Numbered tagEach published version is tagged with its numberFixed code

Sources

Compiled by CASRAI from the sources above. Free to reuse under CC BY 4.0 with attribution.

Follow CASRAI

Research-administration guidance, standards updates and independent tool reviews.

Ask CASRAI · full access

Ask about Code_Aster: Open-Source Finite Element Solver Explained

Full access: large monthly usage, up to 10 source passages behind each answer, and MCP and API access for Claude Code, Codex and other CLIs. Cancel any time.

An AI assistant for research: funder rules, compliance, methods and publishing. It links the sources behind its answers and labels answers that come from a web search.

Answers draw on CASRAI's guides and dictionary plus the federal and funder documents we index: Federal Register, Grants.gov, Regulations.gov and UKRI.

Works on this site and inside Claude, Cursor and the AI tools you already use.

Everything CASRAI publishes — this page, the dictionary, the guides and the news — stays open to read, with no account and no card.

Referenced across the research world

University of Cambridge logoColumbia University logoCrossref logoUniversity of Edinburgh logoHarvard University logoUniversity of Oxford logoPrinceton University logoStanford School of Medicine logoUniversity College London logoORCID logoUniversity of Cambridge logoColumbia University logoCrossref logoUniversity of Edinburgh logoHarvard University logoUniversity of Oxford logoPrinceton University logoStanford School of Medicine logoUniversity College London logoORCID logo
  • University of Cambridge logo
  • Columbia University logo
  • Crossref logo
  • University of Edinburgh logo
  • Harvard University logo
  • University of Oxford logo
  • Princeton University logo
  • Stanford School of Medicine logo
  • University College London logo
  • ORCID logo

View CASRAI adoption →