Skip to content

Compressible Euler equations solved with finite volume implemented in JAX, plugged into an optimization loop

License

Notifications You must be signed in to change notification settings

pmocz/finitevolume-jax

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

finitevolume-jax

Compressible Euler equations solved with finite volume implemented in JAX, plugged into an optimization loop

Philip Mocz (2024) Flatiron Institute, @PMocz

Run the code in the command line with:

python finitevolume.py

The code finds velocity field initial conditions to the compressible Euler equations (isothermal) that lead to a prescribed density field at t=1:

Simulation

The initial velocity field that gives rise to the flow is:

InitialCondition

About

Compressible Euler equations solved with finite volume implemented in JAX, plugged into an optimization loop

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages