Code covered by the BSD License  

Highlights from
matlabVMEC

Be the first to rate this file! 4 Downloads (last 30 days) File Size: 104 KB File ID: #29031
image thumbnail

matlabVMEC

by Samuel Lazerson

 

14 Oct 2010 (Updated 21 Mar 2012)

MATLAB interface to aid in plotting of VMEC output.

| Watch this File

File Information
Description

A set of tools for examining the data produced by the VMEC toroidally confined plasma code. This suite contains a Graphical User (GUI) to aid in the plotting and examination of VMEC data stored in the 'wout' file. Updated to handle version 8.47. Also included is the VMECedit routine which will aid the user in creating VMEC input namelist files.

The VMEC code itself is maintained by Steve Hirshman at Oak Ridge National Laboratory.

Acknowledgements

Read Netcdf and Fortran Namelist Suite inspired this file.

This file inspired Matlab Diagno Vmec and Matlab Extender.

MATLAB release MATLAB 7.11 (R2010b)
Other requirements To read the netCDF files you need the netCDF JAVA class which can be obtained from: https://www.unidata.ucar.edu/software/netcdf-java/ Note requires the jar file with dependancies (netcdfALL).
Tags for This File  
Everyone's Tags
gui, physics, plasma(2), simulation, visualization
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (1)
22 Dec 2010 Samuel Lazerson

An issue has been identified for tokamaks (ntor=0). The code uses ntor*5 gridpoints in zeta to attempt to resolve the highest mode number. If ntor=0 then this causes problems. The fix is simple and will be included in the next release (sometime in the first quarter of 2011). If you have issues please email me and I'll send you an updated *.m file. Thanks to Peter Kavran for brining the problem to my attention.

Updates
15 Oct 2010

Removed unnecessary OSX hidden files from zip file.

07 Feb 2011

Latest version resolves issues with Tokamak (ntor=0) configurations, adds full support for netCDF, and includes routines for creating input namelists.

11 Feb 2011

Added vector plotting capability. The speed for the transforms has also greatly been increased. Included routine for plotting vessel profile.

20 Jul 2011

read_netcdf and read_fortran_namelist were not in the package in v2.1, they were added.

19 Oct 2011

Various improvements, including a substantial speedup for the cfunct and sfunct routines. VMECplot now loads equilibria in a couple seconds.

21 Mar 2012

Updated to fix various bugs in current density plots, VMECedit updated, VMECcomp added.

Contact us