Available Versions:
version 41.51 / version 41.45 / version 41.31
SWAN (Simulating WAves Nearshore) is a numerical wave model designed to simulate the propagation and transformation of waves in coastal and nearshore areas. It is widely used in coastal engineering, oceanography, and environmental studies to predict wave patterns and interactions with the shoreline.
With Inductiva, you can speed up your SWAN simulations by sending them to Cloud machines with hundreds of cores.
Running your SWAN 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 SWAN 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 SWAN version you want to run. Your simulation will start right away, without waiting in a queue.
"""SWAN example."""
import inductiva
# Allocate Google cloud machine
cloud_machine = inductiva.resources.MachineGroup( \
provider="GCP",
machine_type="c3d-highcpu-180")
# Initialize the Simulator
swan = inductiva.simulators.SWAN(version="41.45")
# Run simulation with config files in the input directory
task = swan.run( \
input_dir="/path/to/my/swan/files",
sim_config_filename="my_config_file.swn",
on=cloud_machine)
# Wait for the simulation to finish and download the results
task.wait()
cloud_machine.terminate()
task.download_outputs()
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