SNL-SWAN

Available Versions:

version 2.0

SNL-SWAN is a modification of the SWAN (Simulating WAves Nearshore) model that includes a validated Wave Energy Converter (WEC) module to improve how SWAN accounts for power performance of Wave Energy Converters (WECs) and their effect on the wave field.

Give it a Go: Try SNL-SWAN on the Cloud with Inductiva!

Supercharge your simulations with the best cloud CPUs while keeping your costs in check.

In this example, we show you how to run a SNL-SWAN 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 SNL-SWAN files and specify your simulation configuration file.

                            """ SNL SWAN example."""
import inductiva

# Allocate Google cloud machine
cloud_machine = inductiva.resources.MachineGroup( \
    provider="GCP",
    machine_type="c3d-standard-180")

# Initialize the Simulator
snl_swan = inductiva.simulators.SNLSWAN()

# Run simulation with config files in the input directory
task = snl_swan.run( \
    input_dir="/Path/to/My/Snl-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 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

AMR-Wind

cans

CaNS

CP2K

CP2K

dualsphysics

DualSPHysics

Finite Volume Community Ocean Model

FVCOM

fds

FDS

gromacs

GROMACS

GX

GX

nwchem

NWChem

OpenFAST

OpenFAST

openfoam-esi

OpenFOAM (ESI)

openfoam-foundation

OpenFOAM (Foundation)

Quantum ESPRESSO

Quantum ESPRESSO

reef3d

Reef3D

schism

SCHISM

SNL-SWAN

SNL-SWAN

splishsplash

SPlisHSPlasH

swan

SWAN

swash

SWASH

xbeach

XBeach

Request a Simulator

Can't Find Your Simulator?
Get in Touch with Us!

If you can't find your simulator on our page, let us know!

Check out our blog

inductiva API v0.9: New Simulators, Dynamic Disk Resizing

Release news: Inductiva API v0.9 is here!

Discover the latest updates in Inductiva API v0.9, featuring new simulators like NWChem and FVCOM, dynamic disk resizing, dynamic code execution for OpenFOAM, and an enhanced metrics dashboard for better simulation tracking!

Manual to compile FVCOM model simulator, highlighting common issues and solutions for engineers compiling FVCOM on Linux, MacOS and Windows systems.

Compiling FVCOM: A Handy Guide to Solving Common Issues

Struggling to compile FVCOM? Our step-by-step manual tackles common errors and provides solutions for running FVCOM on a modern machine.

Aerodynamic simulation of a race car using OpenFOAM

Transform your Complex Simulations into easy-to-use Python Packages with the Inductiva API

Discover how you can tap into Inductiva API´s functionalities to package and share your complex simulation applications, allowing others to make use of them without requiring in-depth domain knowledge or having to set up their own computational resources.