English

IP geolocation by DB-IP (CC BY 4.0)

← All tools

canoP

Finite-volume code for compressible single-phase and two-phase flows on adaptive meshes, for CPUs and GPUs. Built on the kalypsso library (p4est octrees and Kokkos); the physics is written in Python with pykokkos and compiled for the CPU or GPU at run time. canoP studio, a web app in VS Code, edits, runs and plots cases and serves its tools to AI agents over MCP.

canoP is a finite-volume code for compressible single-phase and two-phase flows on adaptive meshes, for CPUs and GPUs, licensed Apache-2.0 with the LLVM exception. The mesh and its adaptive refinement come from the kalypsso library (Computer Physics Communications, doi 10.1016/j.cpc.2026.110275), built on p4est octrees and Kokkos. Since version 0.1.0 (27 November 2026, the first release of the Python-physics line) each physical model is a directory of Python files written with pykokkos, and each option (initial condition, boundary condition, flux and so on) is a file selected in the [physics] section of the input file; kernels are compiled for the CPU or GPU on the first run (about 10 s each), so adding a case does not require recompiling canoP. Models: onephase (Euler and Navier-Stokes with the Noble-Abel stiffened gas equation of state), twophase5eq (five-equation model) and twophase7eq (Baer-Nunziato with relaxations). Numerics: HLL, HLLC and all-regime fluxes, MUSCL reconstruction, forward Euler or SSP Runge-Kutta 2, viscous and thermal fluxes with compact gradients, gravity, block-based AMR and MPI, on Kokkos OpenMP or CUDA back ends. CMake builds Kokkos, pykokkos-base and pykokkos alongside canoP; Linux and macOS are supported. canoP studio is a web application that runs in VS Code (code-server) on a workstation or a cluster login node: it edits input files, builds canoP, runs simulations locally or through Slurm and runs parameter studies with their physics under version control, displays fields, 3D slices, velocity arrows and line profiles, and exposes its tools to AI agents over MCP. The input format and physics interface may still change between 0.x versions.

1 timeline entries · 1 major versions/milestones · 1 years · https://canop.readthedocs.io/ · GitHub repository · RSS

Screenshots

canoP studio run view showing a 2D field
canoP studio: viewing a run's field with the time sliderSource: github.com/canoPdev/canoP/blob/main/docs/tutorial/images/ru… · Apache-2.0 WITH LLVM-exception (project repository) · canoP documentation (tutorial)
canoP studio campaign analysis with convergence plots and a results table
canoP studio: analysis of a parameter-study campaignSource: github.com/canoPdev/canoP/blob/main/docs/tutorial/images/ca… · Apache-2.0 WITH LLVM-exception (project repository) · canoP documentation (tutorial)
canoP studio: Build panel: canoP source and build options
canoP studio: Build panel: canoP source and build optionsSource: github.com/canoPdev/canoP/blob/main/docs/tutorial/images/bu… · Apache-2.0 WITH LLVM-exception (project repository) · canoP documentation (tutorial)
canoP studio: Execution panel: processes, Slurm and run settings
canoP studio: Execution panel: processes, Slurm and run settingsSource: github.com/canoPdev/canoP/blob/main/docs/tutorial/images/bu… · Apache-2.0 WITH LLVM-exception (project repository) · canoP documentation (tutorial)
canoP studio: Build log while canoP compiles
canoP studio: Build log while canoP compilesSource: github.com/canoPdev/canoP/blob/main/docs/tutorial/images/bu… · Apache-2.0 WITH LLVM-exception (project repository) · canoP documentation (tutorial)
canoP studio: A campaign with all its runs finished
canoP studio: A campaign with all its runs finishedSource: github.com/canoPdev/canoP/blob/main/docs/tutorial/images/ca… · Apache-2.0 WITH LLVM-exception (project repository) · canoP documentation (tutorial)
canoP studio: Initial condition of a campaign run in the viewer
canoP studio: Initial condition of a campaign run in the viewerSource: github.com/canoPdev/canoP/blob/main/docs/tutorial/images/ca… · Apache-2.0 WITH LLVM-exception (project repository) · canoP documentation (tutorial)
canoP studio: Launch dialog: submitting the campaign's runs to Slurm
canoP studio: Launch dialog: submitting the campaign's runs to SlurmSource: github.com/canoPdev/canoP/blob/main/docs/tutorial/images/ca… · Apache-2.0 WITH LLVM-exception (project repository) · canoP documentation (tutorial)
canoP studio: New campaign dialog with a parameter sweep
canoP studio: New campaign dialog with a parameter sweepSource: github.com/canoPdev/canoP/blob/main/docs/tutorial/images/ca… · Apache-2.0 WITH LLVM-exception (project repository) · canoP documentation (tutorial)
canoP studio: A prepared campaign with its runs listed
canoP studio: A prepared campaign with its runs listedSource: github.com/canoPdev/canoP/blob/main/docs/tutorial/images/ca… · Apache-2.0 WITH LLVM-exception (project repository) · canoP documentation (tutorial)
canoP studio: Running a campaign
canoP studio: Running a campaignSource: github.com/canoPdev/canoP/blob/main/docs/tutorial/images/ru… · Apache-2.0 WITH LLVM-exception (project repository) · canoP documentation (tutorial)
canoP studio: Running an example case
canoP studio: Running an example caseSource: github.com/canoPdev/canoP/blob/main/docs/tutorial/images/ru… · Apache-2.0 WITH LLVM-exception (project repository) · canoP documentation (tutorial)
canoP studio: Initial condition of a run in the viewer
canoP studio: Initial condition of a run in the viewerSource: github.com/canoPdev/canoP/blob/main/docs/tutorial/images/ru… · Apache-2.0 WITH LLVM-exception (project repository) · canoP documentation (tutorial)
canoP studio: Help popup for an input-file key
canoP studio: Help popup for an input-file keySource: github.com/canoPdev/canoP/blob/main/docs/tutorial/images/ru… · Apache-2.0 WITH LLVM-exception (project repository) · canoP documentation (tutorial)
canoP studio: Log of a running simulation
canoP studio: Log of a running simulationSource: github.com/canoPdev/canoP/blob/main/docs/tutorial/images/ru… · Apache-2.0 WITH LLVM-exception (project repository) · canoP documentation (tutorial)
canoP: Build log
Build logSource: github.com/canoPdev/canoP/blob/main/docs/tutorial/images/bu… · Apache-2.0 WITH LLVM-exception (project repository) · canoP repository (canoPdev/canoP)

Outputs

canoP: campaign analysis, computed with canoP
Output: campaign analysis, computed with canoP (source: canoPdev/canoP docs/tutorial/images/campaign-analysis.webp)Source: github.com/canoPdev/canoP/blob/main/docs/tutorial/images/ca… · Apache-2.0 WITH LLVM-exception (project repository) · canoP repository (canoPdev/canoP)

Release timeline (newest first, grouped by year and version)

2026 1 entry●
v0.1.0 releasemajorFirst release with physics in PythonPhysics written in Python with pykokkos and compiled for CPU or GPU at run time; onephase, twophase5eq and twophase7eq m