spiral_data_test, a C code which calls spiral_data() to sample a velocity vector field that satisfies the continuity equation, and writes the nodes and velocities to a file, suitable for display using GNUPLOT.
The computer code and data files made available on this web page are distributed under the MIT license
spiral_data, a C code which computes a velocity vector field that satisfies the continuity equation, writing the data to a file that can be plotted by gnuplot.
Sample data was generated with N = 20 and C = 0.45 and plotted with GNUPLOT: