Leverage the power of high-performance computing in minutes.
Before diving into tutorials and benchmarks, let's ensure that your Inductiva Python package is properly set up. To confirm everything is working as expected, simply run a quick FDS simulation — it only takes a few seconds!
example.py on your Desktop (or in your preferred directory)."""FDS example."""
import inductiva
# Allocate cloud machine on Google Cloud Platform
cloud_machine = inductiva.resources.MachineGroup( \
provider="GCP",
machine_type="c2d-highcpu-2",
spot=True)
# Download the input files into a folder
input_dir = inductiva.utils.download_from_url(
"https://storage.googleapis.com/inductiva-api-demo-files/"
"fds-input-example.zip",
unzip=True)
# Initialize the Simulator
fds = inductiva.simulators.FDS( \
version="6.10.1")
# Run simulation
task = fds.run( \
input_dir=input_dir,
sim_config_filename="mccaffrey.fds",
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 FDS simulation will then be sent to a cloud machine for execution.
After the simulation completes, a task summary will be displayed in your terminal.
Task status: Success
Timeline:
Waiting for Input at 21/07, 11:15:03 0.746 s
In Queue at 21/07, 11:15:03 40.253 s
Preparing to Compute at 21/07, 11:15:44 5.44 s
In Progress at 21/07, 11:15:49 36.253 s
└> 36.105 s /opt/fds/Build/ompi_gnu_linux/fds_ompi_gnu_linux mccaffrey.fds
Finalizing at 21/07, 11:16:25 0.528 s
Success at 21/07, 11:16:26
Data:
Size of zipped output: 6.34 MB
Size of unzipped output: 10.59 MB
Number of output files: 20
Total estimated cost (US$): 0.01017 US$
Estimated computation cost (US$): 0.00017 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 is marked as Success, congratulations! You've successfully ran an FDS simulation.
This simple example tested your installation on a small machine with just 2 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!