SPlisHSPlasH

Available Versions:

version 2.13.0

SPlisHSPlasH is an open-source Smoothed-Particle Hydrodynamics (SPH) simulator used for physically-based simulations of fluids and solids. It efficiently computes fluid particle interactions using a meshless Lagrangian approach, making it ideal for simulating complex fluid dynamics.

It’s typically configured via a single .json file that contains all the necessary information for the simulation, such as the geometry, physical properties of the fluid, boundary conditions, numerical parameters, and output files. In some cases, extra geometry files may also be used for more complex setups.

Give it a Go: Try SPlisHSPlasH on the Cloud with Inductiva!

This code example shows how to run a SPlisHSPlasH simulation on a c3d-standard-180 Google Cloud machine using our API. To try it out, simply paste the code into your Python environment.

Ready to test SPlisHSPlasH? Explore our Fluid Cube benchmarks, ranging from the default configuration (Fluid Cube S) to variations with smaller particle radii (Fluid Cube L and M). Each benchmark offers a practical case for evaluating the simulator’s performance and handling different fluid dynamics setups.

For more details on the simulator’s features and configurations, visit the official SPlisHSPlasH site.

                            """SPlisHSPlasH example."""
import inductiva

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

# Initialize the Simulator
splishsplash = inductiva.simulators.SplishSplash()

# RRun simulation with config files in the input directory
task = splishsplash.run( \
    input_dir="/path/to/my/splishsplash/files",
    sim_config_filename="my_config_file.json",
    on=cloud_machine)

# Wait for the simulation to finish and download the results
task.wait()
cloud_machine.terminate()

task.download_outputs()

                        

Dive Deep

Tutorial Series: Generate Synthetic Data for Physics-ML with SPlisHSPlasH

In this tutorial series, we’ll walk you through our approach to generating synthetic data at scale using the Inductiva API, designed for training Physics-ML models. We break down each step, providing practical insights based on an example from a published study.

Using the SPlisHSPlasH simulator, we’ll demonstrate how to set up and run fluid simulations while exploring the impact of hyperparameters on simulation fidelity and computational cost. This series is perfect for machine learning engineers and enthusiasts eager to dive into the realm of Physics-ML.

generating synthetic data at scale

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.