Skip to content

Numerical resolution of Euler's equations for incompressible fluids using semi-discrete optimal transport

License

Notifications You must be signed in to change notification settings

colinjcotter/EulerLagrangianOT

 
 

Repository files navigation

EulerLagrangianOT

Numerical resolution of Euler's equations for incompressible fluids using semi-discrete optimal transport. This code goes with the article "A Lagrangian scheme for the incompressible Euler equations using optimal transport", by Thomas O. Gallouet and Quentin Mérigot.

Installation

This code requires MongeAmpere and PyMongeAmpere, available here:

https://github.com/mrgt/MongeAmpere

https://github.com/mrgt/PyMongeAmpere

Before running any of the programs, you need to set PYTHONPATH to the right location:

export PYTHONPATH=$PYTHONPATH:/path/to/PyMongeAmpere-build

Running

On a simple example:

mkdir results
python beltrami_square.py

About

Numerical resolution of Euler's equations for incompressible fluids using semi-discrete optimal transport

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%