Saturday, May 10, 2014

Potential Flow Playground: Puff

Here is a little JavaScript program I wrote that allows one to play with potential flow by inserting sources in a wind tunnel. Potential flow is an idealized flow characterized by irrotationality. The particular form used here has the added characterizations of being inviscid and incompressible, and satisfies Laplace's Equation for a velocity 'potential':
The velocities are recovered by:
Second-order-accurate finite differencing schemes are used to recover the velocities.

I will continuously be working on this, so this is by no means the final version. Currently I aim to bring the following:
-Making it into a game

It is colored by potential. Click on it!

Discrete Resolution:

Pixel Dimensions:

No comments:

Post a Comment