CaNS

Available Versions:

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.

CaNS is currently running version 2.3.4 for CPU, built with OpenMPI 4.1.2 and FFTW 3.3.8 for parallel processing and efficient Fourier transforms. A GPU version is planned for a future release to enhance performance.

 

Give it a Go: Try CaNS on the Cloud with Inductiva!

Here’s a quick example code to get you started. In this example, we run a CaNS simulation on a c2-standard-4 machine using Inductiva API. Ensure your input files include a ‘data’ folder for storing simulation outputs! To try it out, simply paste the code into your Python environment.

For more details on the simulator’s features and configurations, visit the official CaNS site.

                            """CaNS example"""
import inductiva

# Allocate Google cloud machine
cloud_machine = inductiva.resources.MachineGroup( \
    provider="GCP",
    machine_type="c3d-standard-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 20 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

CP2K

CP2K

dualsphysics

DualSPHysics

Finite Volume Community Ocean Model

FVCOM

fds

FDS

gromacs

GROMACS

GX

GX

nwchem

NWChem

OpenFAST

OpenFAST

openfoam-esi

OpenFOAM (ESI)

openfoam-foundation

OpenFOAM (Foundation)

Quantum ESPRESSO

Quantum ESPRESSO

reef3d

Reef3D

schism

SCHISM

SNL-SWAN

SNL-SWAN

splishsplash

SPlisHSPlasH

swan

SWAN

swash

SWASH

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

inductiva API v0.9: New Simulators, Dynamic Disk Resizing

Release news: Inductiva API v0.9 is here!

Discover the latest updates in Inductiva API v0.9, featuring new simulators like NWChem and FVCOM, dynamic disk resizing, dynamic code execution for OpenFOAM, and an enhanced metrics dashboard for better simulation tracking!

Manual to compile FVCOM model simulator, highlighting common issues and solutions for engineers compiling FVCOM on Linux, MacOS and Windows systems.

Compiling FVCOM: A Handy Guide to Solving Common Issues

Struggling to compile FVCOM? Our step-by-step manual tackles common errors and provides solutions for running FVCOM on a modern machine.

Aerodynamic simulation of a race car using OpenFOAM

Transform your Complex Simulations into easy-to-use Python Packages with the Inductiva API

Discover how you can tap into Inductiva API´s functionalities to package and share your complex simulation applications, allowing others to make use of them without requiring in-depth domain knowledge or having to set up their own computational resources.