Машинный перевод
Русский

Геолокация IP от DB-IP (CC BY 4.0)

← Все инструменты

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 записей в хронологии · 1 крупных версий/вех · 1 лет · https://canop.readthedocs.io/ · Репозиторий GitHub · RSS

Снимки экрана

canoP studio run view showing a 2D field
canoP studio: viewing a run's field with the time sliderИсточник: 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 campaignИсточник: 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 optionsИсточник: 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 settingsИсточник: 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 compilesИсточник: 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 finishedИсточник: 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 viewerИсточник: 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 SlurmИсточник: 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 sweepИсточник: 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 listedИсточник: 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 campaignИсточник: 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 caseИсточник: 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 viewerИсточник: 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 keyИсточник: 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 simulationИсточник: 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 logИсточник: github.com/canoPdev/canoP/blob/main/docs/tutorial/images/bu… · Apache-2.0 WITH LLVM-exception (project repository) · canoP repository (canoPdev/canoP)

Результаты

canoP: campaign analysis, computed with canoP
Output: campaign analysis, computed with canoP (source: canoPdev/canoP docs/tutorial/images/campaign-analysis.webp)Источник: github.com/canoPdev/canoP/blob/main/docs/tutorial/images/ca… · Apache-2.0 WITH LLVM-exception (project repository) · canoP repository (canoPdev/canoP)

Хронология релизов (сначала новые, сгруппировано по годам и версиям)

2026 1 запись●
v0.1.0 releaseкрупныйFirst release with physics in PythonPhysics written in Python with pykokkos and compiled for CPU or GPU at run time; onephase, twophase5eq and twophase7eq m

canoP 0.1.0

источник: github-release