Available Versions:
version 21.1 / version 18
Supercharge your simulations with the best cloud CPUs while keeping your costs in check.
In this example, we show you how to run a CM1 simulation on a c3d-standard-180 Google Cloud machine using the Inductiva API.
All you need to do is copy the code into your Python script and make these simple adjustments: replace the input directory with the path to your own CM1 files and specify your simulation configuration file.
""" CM1 example."""
import inductiva
# Allocate Google cloud machine
cloud_machine = inductiva.resources.MachineGroup( \
provider="GCP",
machine_type="c3d-highcpu-180")
# Initialize the Simulator
cm1 = inductiva.simulators.CM1()
# Run simulation with config files in the input directory
task = cm1.run( \
input_dir="/Path/to/My/cm1/Files",
sim_config_filename="my_config_file.input",
on=cloud_machine)
# Wait for the simulation to finish and download the results
task.wait()
cloud_machine.terminate()
task.download_outputs()
We've got 27 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
CM1
COAWST
CP2K
Delft3D
DualSPHysics
FVCOM
FDS
GROMACS
GX
NWChem
OpenFAST
OpenFOAM (ESI)
OpenFOAM (Foundation)
OpenSees
OpenTelemac
Quantum ESPRESSO
REEF3D
SCHISM
SFINCS
SNL-SWAN
SPlisHSPlasH
SWAN
SWASH
WRF
XBeach