MatLab code for Resonant Triads.
This is the MATLAB program for solving the barotropic potential vorticity
equation to study the dynamics of resonant Rossby triads.
- BPVE.m:
This is a self-contained MATLAB program for solving the BPV equation.
Please note that it takes a considerable time to run. For a quick test run,
re-define the parameter DAYLEN=1.
You need to save the program in a file called, say, triads.m
(shift-click on the links) and then run "triads" in MATLAB.
Different initial conditions are selected by re-defining ICtype.
The default in the code is ICtype==7, to generate a star-shaped pattern.