SPINS MATLAB tools

From Fluids Wiki
Revision as of 13:57, 5 August 2015 by Ddeepwel (talk | contribs) (Created page with "A few versatile functions have been written to easily read in SPINS files and plot them. They are accessible for use on Belize and can also be pulled from github at https://gi...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

A few versatile functions have been written to easily read in SPINS files and plot them. They are accessible for use on Belize and can also be pulled from github at https://github.com/ddeepwel/SPINSmatlab.git.

The main functionality are:

  • parse spins.conf file into a matlab structure
  • easy reading of grid
  • automatic calculation of secondary grid parameters (spacing, expansion type, ...)
  • easy cross-sectional plotting

The first three are organized into the spins_gridparams function. The plotting is accomplished by spins_plot2d which has many optional arguments for making plots with very little work. See David Deepwell or the github page for more information on usage, making bug reports, or suggesting other options or functions to add.