All Projects → jostbr → shallow-water

jostbr / shallow-water

Licence: other
Python model solving the shallow water equations (linear momentum, nonlinear continuity)

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to shallow-water

CFD
Basic Computational Fluid Dynamics (CFD) schemes implemented in FORTRAN using Finite-Volume and Finite-Difference Methods. Sample simulations and figures are provided.
Stars: ✭ 89 (+14.1%)
Mutual labels:  fluid-dynamics, computational-fluid-dynamics, fluid-simulation
SNaC
A multi-block solver for massively parallel direct numerical simulations (DNS) of fluid flows
Stars: ✭ 26 (-66.67%)
Mutual labels:  fluid-dynamics, computational-fluid-dynamics, fluid-simulation
CaNS
A code for fast, massively-parallel direct numerical simulations (DNS) of canonical flows
Stars: ✭ 144 (+84.62%)
Mutual labels:  fluid-dynamics, computational-fluid-dynamics, fluid-simulation
splashsurf
Surface reconstruction library and CLI for particle data from SPH simulations, written in Rust.
Stars: ✭ 18 (-76.92%)
Mutual labels:  fluid-dynamics, fluid-simulation
hybridCentralSolvers
United collection of hybrid Central solvers - one-phase, two-phase and multicomponent versions
Stars: ✭ 42 (-46.15%)
Mutual labels:  fluid-dynamics, computational-fluid-dynamics
stable-fluids
A minimal Stable Fluids inspired fluid solver with Python and NumPy.
Stars: ✭ 148 (+89.74%)
Mutual labels:  fluid-dynamics, fluid-simulation
Fluid2d
A versatile Python-Fortran CFD code that solves a large class of 2D flows
Stars: ✭ 49 (-37.18%)
Mutual labels:  fluid-dynamics, fluid-simulation
canvas-fluid-solver
Real-time fluid simulation in Javascript.
Stars: ✭ 45 (-42.31%)
Mutual labels:  fluid-dynamics, fluid-simulation
PyVLM
Vortex Lattice Method library written in Python
Stars: ✭ 33 (-57.69%)
Mutual labels:  fluid-dynamics, computational-fluid-dynamics
Shizuku
Real time simulation and rendering of free surface fluid
Stars: ✭ 22 (-71.79%)
Mutual labels:  fluid-dynamics, fluid-simulation
exadg
ExaDG - High-Order Discontinuous Galerkin for the Exa-Scale
Stars: ✭ 62 (-20.51%)
Mutual labels:  fluid-dynamics, computational-fluid-dynamics
navier-stokes-webgl
Stable fluid simulation on GPU using WebGL.
Stars: ✭ 27 (-65.38%)
Mutual labels:  fluid-dynamics, fluid-simulation
UnsteadyFlowSolvers.jl
Solvers for problems involving unsteady fluid flow
Stars: ✭ 18 (-76.92%)
Mutual labels:  fluid-dynamics, fluid-simulation
unstructured-finite-volume
Unstructured Finite Volume Solver for Partial Differential Equations
Stars: ✭ 26 (-66.67%)
Mutual labels:  fluid-dynamics, fluid-simulation
Fluid Simulation
Self advection, external force and pressure solve to a velocity field represented by a MaC grid.
Stars: ✭ 107 (+37.18%)
Mutual labels:  fluid-dynamics, fluid-simulation
sph opengl
SPH simulation in OpenGL compute shader.
Stars: ✭ 57 (-26.92%)
Mutual labels:  computational-fluid-dynamics, fluid-simulation
spyndex
Awesome Spectral Indices in Python.
Stars: ✭ 56 (-28.21%)
Mutual labels:  numpy
ndtest
multi-dimensional statistical test with python
Stars: ✭ 51 (-34.62%)
Mutual labels:  numpy
Dimensionality-reduction-and-classification-on-Hyperspectral-Images-Using-Python
In this repository, You can find the files which implement dimensionality reduction on the hyperspectral image(Indian Pines) with classification.
Stars: ✭ 63 (-19.23%)
Mutual labels:  numpy
MachineLearning
机器学习教程,本教程包含基于numpy、sklearn与tensorflow机器学习,也会包含利用spark、flink加快模型训练等用法。本着能够较全的引导读者入门机器学习。
Stars: ✭ 23 (-70.51%)
Mutual labels:  numpy

Shallow water equations

Model solving the 2D shallow water equations. The momentum equations are linearized while the continuity equation is solved non-linearly. The model was developed as part of the "Bornö Summer School in Ocean Dynamics" partly to study theory evolve in a numerical simulation. Visualizations scripts are also provided.

As it is set up right now, the model initates with a large gaussian bump resulting in waves propagate away from the bump, then interacts with the walls (no flow condition). The solution for the surface elevation and velocity fields can be seen below:

Surface elevation solution Velocity field solution

Feel free to play around with the parameters to your liking. You might have to make some tweeks to the colorscale and arrowscale for some of the plots if you change some parameters.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].