Stir a passive scalar by the optimal stirring velocity and plot the mix-norm.


Running command gen_figures from MATLAB computes the optimal mixing of the passive scalar and plots the $H^{-1}$ norm and a few plots of the solution.

Many parameters can be changed from within MATLAB, without editing the code. E.g.

global N; N=128; gen_figures
a_range=.5:1/16:1; idata=@idata_diag; gen_figures

Read gen_figures.m for other parameters.

Utility functions

save_data: Saves all useful data to a file (prompts for filename).

export_figs: Generates EPS figures (existing ones are silently overwritten).

dock_figures: Dock all figures.