Snoopy Version 6.0 (Albert)
|
Several Matlab scripts are now provided with Snoopy (in the matlab directory). These are basic scripts which can be a useful start for a specific project.
The file timevol.m reads the timevar file produced by snoopy and display several time history plots for the variables chosen in snoopy.cfg (energy, transport, helicity, etc... see Averaged quantities (timevar)).
The file get_frame.m reads one VTK file created by snoopy and display several cuts of the flow in the xy, xz and yz plane. This script can be easely modified to display other cuts. The velocity/magnetic fields are stored in a Matlab structure which can then be used for specific post-treatment tasks (FFTs, filtering, correlations). The same VTK files can also be analyzed using Paraview.
The file ReadSpectrum.m reads the spectrum.dat file produced by Snoopy and display time-averaged spectra of the simulation. NB: this output is still in beta version.