OpenFOAM (ESI)

Available Versions:

version 2412 / version 2406 / version 2206

OpenFOAM is an open-source C++ toolbox designed for the development of custom numerical solvers and pre- and post-processing utilities. It is widely used for solving a variety of continuum mechanics problems, including computational fluid dynamics, solid mechanics, electromagnetism, and multiphase flow.

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

Inductiva supports both OpenFOAM distributions: ESI Group and OpenFOAM Foundation, giving you access to the full range of OpenFOAM capabilities.

How to Run OpenFOAM on the Cloud

Running your OpenFOAM 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 an OpenFOAM simulation to a 180 vCPU machine (c3d-standard-180) hosted on Google Cloud (GCP). 

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

 

                            """OpenFOAM ESI example."""
import inductiva

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

# Initialize the Simulator
openfoam = inductiva.simulators.OpenFOAM(distribution="esi", version="2412")

# Run simulation with config files in the input directory
task = openfoam.run( \
    input_dir="/path/to/my/openfoam/files",
    shell_script="./Allrun",
    on=cloud_machine)

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

task.download_outputs()

                        

Dive Deep

Running the MB9 Micro-benchmark by ExaFOAM

In this advanced OpenFOAM example, we simulate a high-lift wing configuration from the MB9 micro-benchmark of the ExaFOAM benchmarks. This benchmark is a precursor to the HPC Grand Challenge, which simulates a full aircraft configuration using wall-modeled LES (WMLES) for turbulence.

We use a 2D, three-element high-lift wing in this simulation, applying WMLES for turbulence modeling. The simulation is executed via the Inductiva API, first on a 360 vCPU machine and then on an MPI cluster with two large machines to test if we can reduce execution time by half.

Running the MB9 Micro-benchmark by ExaFOAM

We've got 22 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

coawst

COAWST

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)

opensees

OpenSees

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.15 release

Inductiva API v0.15 - Smarter Simulations, Flexible Pricing, and Enhanced Usability

With the release of Inductiva API v0.15, we’re excited to introduce powerful updates that bring even more control, flexibility, and speed to your simulation workflows. These include: Integration of two advanced open-source simulators for environmental and geotechnical simulations; A revamped Web Console for better usability and file management; A flexible pricing model tailored to your context; Optimizations in resource management and simulator execution. These upgrades are designed with you—scientists, engineers, and technical teams—in mind, to help accelerate innovation while maintaining cost-efficiency and full visibility across your workflows.

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.