Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 695 Bytes

README.md

File metadata and controls

26 lines (18 loc) · 695 Bytes

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