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.
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
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.
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
CaNS
COAWST
CP2K
DualSPHysics
FVCOM
FDS
GROMACS
GX
NWChem
OpenFAST
OpenFOAM (ESI)
OpenFOAM (Foundation)
OpenSees
Quantum ESPRESSO
REEF3D
SCHISM
SNL-SWAN
SPlisHSPlasH
SWAN
SWASH
XBeach