Inductiva offers HPC as it should be: click, run, results.
example.py on your Desktop (or in your preferred directory)."""AMR-Wind example."""
import inductiva
# Allocate cloud machine on Google Cloud Platform
cloud_machine = inductiva.resources.MachineGroup( \
provider="GCP",
machine_type="c2d-highcpu-4",
spot=True)
# Download the input files into a folder
input_dir = inductiva.utils.download_from_url(
"https://storage.googleapis.com/inductiva-api-demo-files/"
"amr-wind-input-example.zip",
unzip=True)
# Initialize the Simulator
amr_wind = inductiva.simulators.AmrWind( \
version="3.4.1")
# Run simulation
task = amr_wind.run(input_dir=input_dir,
sim_config_filename="abl_amd_wenoz.inp",
on=cloud_machine)
# Wait for the simulation to finish and download the results
task.wait()
cloud_machine.terminate()
task.download_outputs()
task.print_summary()
cd ~/Desktop
python example.py
Note: On some systems, you might need to use
python3instead ofpython.
All the necessary simulation artifacts and configuration files will be automatically downloaded to your computer. The AMR-Wind simulation will then be sent to a cloud machine for execution.
After the simulation completes, a task summary will be displayed in your terminal, as shown below.
Task status: Success
Timeline:
Waiting for Input at 13/06, 13:26:05 0.776 s
In Queue at 13/06, 13:26:06 39.502 s
Preparing to Compute at 13/06, 13:26:46 2.361 s
In Progress at 13/06, 13:26:48 4.213 s
└> 4.074 s /opt/openmpi/4.1.6/bin/mpirun --use-hwthread-cpus amr_wind abl_amd_wenoz.inp
Finalizing at 13/06, 13:26:52 0.663 s
Success at 13/06, 13:26:53
Data:
Size of zipped output: 13.54 MB
Size of unzipped output: 52.27 MB
Number of output files: 91
Total estimated cost (US$): 0.010065 US$
Estimated computation cost (US$): 0.000065 US$
Task orchestration fee (US$): 0.010 US$
Note: A per-run orchestration fee (0.010 US$) applies to tasks run from 01 Dec 2025, in addition to the computation costs.
Learn more about costs at: https://inductiva.ai/guides/basics/how-much-does-it-cost
If the task status shows Success, congratulations! You've successfully run an AMR-Wind simulation.
This simple example tested your installation on a small machine with just 4 virtual CPUs. Inductiva offers far more powerful options to supercharge your simulations.
If you encounter any issues or need further assistance, don't hesitate to Contact Us. We're here to help!
Versions and Containers
Inductiva's supported AMR-Wind versions and container images for running simulations.
Run Your First Simulation
This tutorial will show you how to run AMR-Wind simulations using the Inductiva API. We will cover the `abl_amd_wenoz` use case from the test files folder of the AMR-Wind GitHub repository to help you get started with simulations.