Available Versions:
version 11.01 / version 10.05 / version 10.01 / version 9.01
SWASH (Simulating WAves till SHore) is a numerical tool that simulates unsteady, non-hydrostatic, free-surface, rotational flow and transport phenomena in coastal waters. It’s mainly used to predict wave transformation, ocean circulation, tides and storm surges.
With Inductiva, you can speed up your SWASH simulations by more than 8x by sending them to Cloud machines with hundreds of cores.
Running your SWASH 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 a SWASH 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 SWASH version you want to run. Your simulation will start right away, without waiting in a queue.
"""SWASH example."""
import inductiva
# Allocate Google cloud machine
cloud_machine = inductiva.resources.MachineGroup( \
provider="GCP",
machine_type="c3d-highcpu-180")
# Initialize the Simulator
swash = inductiva.simulators.SWASH(version="10.05")
# Run simulation with config files in the input directory
task = swash.run( \
input_dir="/path/to/my/swash/files",
sim_config_filename="my_config_file.sws",
on=cloud_machine)
# Wait for the simulation to finish and download the results
task.wait()
cloud_machine.terminate()
task.download_outputs()
Dive Deep
In our blog post, we explore Inductiva API’s ability to manage large-scale simulations, from modeling wave dynamics to optimizing harbor designs. By utilizing cloud resources, these simulations—such as those using SWASH—can be accelerated significantly. We share a case study where coastal engineering researchers from the Hydraulics, Water Resources and Environment Division Laboratory (SHRHA) at the Faculty of Engineering of Porto University (FEUP) used the Inductiva API to evaluate protective measures for a fragile section of the Portuguese coastline.
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