SPINS MATLAB tools: Difference between revisions

From Fluids Wiki
Jump to navigation Jump to search
(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...")
 
mNo edit summary
Line 1: Line 1:
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.
Many versatile MATLAB functions have been written to easily read and analyze SPINS outputs. They are accessible for use on Belize and Boogaloo, and can also be pulled from github at https://github.com/ddeepwel/SPINSmatlab.git.


The main functionality are:
The main functionality are:
* parse spins.conf file into a matlab structure
* parse spins.conf file into a matlab structure
* automatic calculation of secondary grid parameters (spacing, expansion type, ...)
* easy reading of grid
* easy reading of grid
* automatic calculation of secondary grid parameters (spacing, expansion type, ...)
* easy cross-sectional plotting
* easy cross-sectional plotting
* plotting of spins diagnostics
* functions for calculating characteristics (amplitude, wavelength) of waves


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.
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.

Revision as of 17:48, 3 March 2017

Many versatile MATLAB functions have been written to easily read and analyze SPINS outputs. They are accessible for use on Belize and Boogaloo, 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
  • automatic calculation of secondary grid parameters (spacing, expansion type, ...)
  • easy reading of grid
  • easy cross-sectional plotting
  • plotting of spins diagnostics
  • functions for calculating characteristics (amplitude, wavelength) of waves

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.