Skip to content

edithvillegas/potential-flow

Repository files navigation

Potential-flow

Calculates potential flow in 2D, using the finite differences method to solve the potential flow equation. Takes as input a matrix of integers (from 0 to 3), where 0 is an obstacle, 1 a cell with fluid, and 2 and 3 represent where the fluid enters and exits.

An example program using a small image as input can be found here: Main Code

Details on input/output and internal workings of each function can be found on the report: Technical Report.pdf

Planar flow with a Smile Obstacle

Project assignment, Computational Physics Master, Université de Franche-Comté (October 2018)

About

Basic calculator of potential flow of a fluid in 2D

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages