BOUT++ is a framework for writing fluid and plasma simulations in curvilinear geometry
https://github.com/boutproject/BOUT-dev.git
latest