CaNS

Available Versions:

version 3.0.0 / version 2.4.0 / version 2.3.4

CaNS (Canonical Navier-Stokes) is a high-performance simulator for massively-parallel numerical simulations of fluid flows. It is specifically designed to solve problems involving incompressible, Newtonian fluids, making it a popular choice for researchers and engineers in fluid dynamics. CaNS is widely used in simulations of turbulence, vortex dynamics, and large-scale atmospheric or oceanic flows.

With Inductiva, you can speed up your CaNS simulations by sending them to Cloud machines with hundreds of cores and terabytes of disk space.

How to Run CaNS on the Cloud

Running your CaNS simulations on the Cloud is easy. All you need is to create a short Python script that points Inductiva to the simulation artifacts you have on your computer, and we will take it from there.

On the right, we show how to use the Inductiva API to send a CaNS simulation to a 180 vCPU machine (c3d-highcpu-180) hosted on Google Cloud (GCP). 

You can copy paste this Python script, adapt it to your own case, and specify the CaNS version you want to run. Your simulation will start right away, without waiting in a queue.

                            """CaNS example"""
import inductiva

# Allocate Google cloud machine
cloud_machine = inductiva.resources.MachineGroup( \
    provider="GCP",
    machine_type="c3d-highcpu-180")

# Initialize the Simulator
cans = inductiva.simulators.CaNS()

# Run simulation with config files in the input directory
task = cans.run( \
    input_dir="path/to/my/cans/files",
    sim_config_filename="my_config_file.nml",
    on=cloud_machine)

# Wait for the simulation to finish and download the results
task.wait()
cloud_machine.terminate()

task.download_outputs()

                        

We've got 29 simulators ready for you to explore.

Just one click away from running your favorite open-source simulators on the cloud and at scale!

Why not give it a try? Explore our example codes and discover everything our API can offer.

amr-wind

AMR-Wind

cans

CaNS

CM1

CM1

coawst

COAWST

CP2K

CP2K

delft3d

Delft3D

dualsphysics

DualSPHysics

Finite Volume Community Ocean Model

FVCOM

fds

FDS

gromacs

GROMACS

GX

GX

nwchem

NWChem

octopus

Octopus

OpenFAST

OpenFAST

openfoam-esi

OpenFOAM (ESI)

openfoam-foundation

OpenFOAM (Foundation)

opensees

OpenSees

opentelemac

OpenTelemac

Quantum ESPRESSO

Quantum ESPRESSO

reef3d

REEF3D

schism

SCHISM

sfincs

SFINCS

SNL-SWAN

SNL-SWAN

splishsplash

SPlisHSPlasH

swan

SWAN

swash

SWASH

wavewatch3

WAVEWATCH III

wrf

WRF

xbeach

XBeach

Request a Simulator

Can't Find Your Simulator?
Get in Touch with Us!

If you can't find your simulator on our page, let us know!

Check out our blog

Collaborative Insights Inductiva + MotoStudent FEUP

Engineering the Future of Racing: How cloud-based HPC accelerates design

From CFD bottlenecks to breakthrough results: how Inductiva’s HPC fueled a student team’s electric motorcycle project.

Group of fishing boats floating on calm water

Embracing Uncertainty in Fisheries Science with IPMA - ​​Portuguese Institute for the Ocean and Atmosphere

IPMA used Inductiva’s HPC to run 500+ shark stock assessment models in minutes, turning uncertainty into scientific insight.

Earth seen from space at night, with glowing cities tracing the shape of the continents.

Advancing a Rocket’s Airbrake System Development Through Scalable CFD Simulations: A Collaboration Between Porto Space Team and Inductiva.AI

Using Inductiva’s HPC, Porto Space Team ran multiple CFD scenarios in parallel, refining their rocket airbrake system fast.