A Python toolkit for CFD pre-processing, mesh generation, and post-processing.
Cassiopee is a collection of 19 Python modules developed by ONERA, the French Aerospace Lab, for computational fluid dynamics (CFD) workflows. It has been in development at ONERA's Aerodynamics, Aeroelasticity, and Acoustics Department (DAAA) since the early 2000s and became open-source in 2024.
Its modular API provides building blocks for geometry processing, mesh generation and transformation, data conversion, and solution post-processing. Cassiopee is solver-agnostic and supports workflows involving structured and unstructured meshes, including advanced overset-grid and immersed-boundary methods.
Explore the documentation, run an example, ask for help, or install Cassiopee using the links below.
- Documentation
- Tutorials (work in progress)
- Release notes
- Report a bug or ask a question
What can you do with Cassiopee?
Cassiopee provides specialized modules that can be combined into scripts and application-specific workflows. Most functionalities can run efficiently in parallel, on both shared-memory and distributed-memory systems.
| Module | Main capabilities |
|---|---|
| Converter | Read, write, and manipulate CFD data in different formats, including CGNS and Tecplot. |
| Geom | Create and manipulate geometric entities. |
| Generator | Generate structured and unstructured meshes. |
| Transform | Apply transformations to meshes. |
| Intersector | Perform mesh intersection operations. |
| Connector | Build mesh connectivity, including overset-grid connectivity and immersed-boundary data via a dedicated submodule. |
| Initiator | Initialize solution fields. |
| Post | Extract and post-process CFD results, including slices, streamlines, and isosurfaces. |
| Dist2Walls | Compute distances to walls and bodies. |
| Distributor2 | Distribute mesh blocks across processors. |
| CPlot | Visualize meshes and solution fields via the cassiopee and cplot graphical user interfaces (GUIs). |
| OCC | Interface with Open CASCADE for CAD-related operations. |
Additional modules and submodules provide capabilities such as rigid-body motion, field compression, and parallel data management. See the complete documentation for more details.
Designed for Python workflows
Cassiopee offers two complementary data interfaces:
- Arrays: a lightweight mesh and data representation based on numpy arrays.
- CGNS/Python trees (pyTrees): a hierarchical representation of numerical data built from lists and numpy arrays, following the CFD General Notation System (CGNS) standard.
Both interfaces can be used directly from Python scripts to automate repetitive tasks and build reusable CFD workflows.
A first example
The following script generates a Cartesian mesh and writes it to a CGNS file:
import Generator.PyTree as G
import Converter.PyTree as C
# Generate a Cartesian mesh
zone = G.cart((0., 0., 0.), (0.1, 0.1, 0.1), (11, 11, 11))
# Create a CGNS tree and write it to disk
tree = C.newPyTree(["Base", zone])
C.convertPyTree2File(tree, "mesh.cgns")
For more examples, explore the tutorials and the tests provided for each Cassiopee module.
Installation
Choose the installation method that best fits your environment.
Install from binaries
Linux — pip
python -m pip install cassiopee # int32
python -m pip install cassiopee-i8 # int64
Binary availability depends on the Python version and target platform. See the installation documentation if no compatible package is available for your setup.
Windows
See the available Windows releases.
Docker
For a container-based installation, follow the Docker instructions.
Build from source
Building from source is supported on the following platforms:
- Windows — MSYS2
- Linux — Ubuntu
- Apple — macOS (coming soon)
Building from source may require a suitable compiler toolchain and external libraries. Follow the platform-specific instructions for the required dependencies and environment setup.
Executables
| Application | Description |
|---|---|
cassiopee |
Main graphical user interface (GUI) for pyTree visualization and pre-/post-processing. |
cplot |
Cassiopee's lightweight display application, supporting a wide range of mesh and visualization formats. |
kcgnsview |
Cassiopee's lightweight pyTree display application, for displaying tree structure and loading data on demand. |
validCassiopee |
Cassiopee's continuous integration (CI) tool for running regression tests and CFD validation cases, comparing results against local/global references, and tracking test status and execution times. |
kpython |
Cassiopee's Python executable wrapper to facilitate the launch of Python scripts sequentially or in parallel via MPI and OpenMP. Additional options include profiling, sanitizer, and GNU Debugger (GDB) support. |
kdiff |
Cassiopee's own diff tool for comparing two files across a wide range of file formats. |
License
Cassiopee is distributed under the GNU Lesser General Public License v3.0 (LGPL-3.0). See LICENSE for the full license text.
Metadata
Release files for cassiopee 2026.11
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| cassiopee-2026.11-py3-none-any.whl | Python 3 | none | any | Details for cassiopee-2026.11-py3-none-any.whl |
Release files / cassiopee-2026.11-py3-none-any.whl
| Download URL | cassiopee-2026.11-py3-none-any.whl |
|---|---|
| Size | 6.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9ca8ca1dcb5ffa7e20b0a0811cb742b3a7b6fd28bdc38d389e56a1c7e90dada6
|
|
BLAKE2b-256 checksum How to use checksums |
8086498967220c86e43b9228dcf94b970c260df1706e10903a18c15b6744bfa2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.8.18
|
Security for cassiopee 2026.11
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.