Available Versions:
version 24.02
REEF3D is an open-source hydrodynamics framework specifically designed for coastal, marine, and hydraulic engineering applications. Built with a modular programming approach, it offers multiphysics solvers tailored to address complex fluid flow problems, such as sediment transport and floating body dynamics.
When using REEF3D with the Inductiva API, simulations follow two sequential steps: meshing with DiveMESH and simulation with REEF3D. These steps are configured via input files—control.txt
for DiveMESH and ctrl.txt
for REEF3D. Additionally, users can provide grid, geographical data, or wave information files, following strict naming conventions as per REEF3D’s guidelines for optimal simulation setup.
Here’s a quick example code to get you started. This example follows the regular wave propagation tutorial from the REEF3D repository and shows how to run a REEF3D simulation on a c3d-standard-180 Google Cloud machine using our API. To try it out, simply paste the code into your Python environment.
For more details on the simulator’s features and configurations, visit the official Reef3D site.
"""Reef3D example."""
import inductiva
# Allocate Google cloud machine
cloud_machine = inductiva.resources.MachineGroup( \
provider="GCP",
machine_type="c3d-standard-180")
# Initialize simulator
reef3d = inductiva.simulators.REEF3D()
# Run simulation
task = reef3d.run( \
input_dir="/path/to/my/reef3d/files",
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 example, we’ll run the 3D Dam Break Scenario with Obstacle from the REEF3D tutorials. This is a more advanced use case that shows off some of the powerful features of the Inductiva API. Since this scenario requires a lot of computing power, we’ll be running it with 112 vCPUs to handle the heavy fluid dynamics calculations. We’ll walk you through setting up the files, tweaking important settings, and running the simulation in the cloud. By making a few adjustments, like controlling data output and balancing the CPU load, you can get faster results and smoother performance, even with large simulations.
We’ve got 20 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
CP2K
DualSPHysics
FVCOM
FDS
GROMACS
GX
NWChem
OpenFAST
OpenFOAM (ESI)
OpenFOAM (Foundation)
Quantum ESPRESSO
Reef3D
SCHISM
SNL-SWAN
SPlisHSPlasH
SWAN
SWASH
XBeach