OOMMF Vector Extractor (GUI) - For Use with 2D or 3D Simulations
OOMMF Vector Extractor (Command-line) - For Use with 2D Simulations Only
OOMMF Vector Extractor (Command-line) - For Use with 2D or 3D Simulations
OOMMF Vector Extractor (GUI) - For Use with 2D or 3D Simulations
Description
Here is a link to the GUI extractor tool that I've developed. The program
is written in Ruby and requires wxWidgets and wxRuby to work (note that I haven't been able to get these working on the
cluster machines at ND, but others may have better luck). The program is licensed under the GPL. Please please please
e-mail me your bug reports, features requests, comments, complaints etc. since this is a major work in progress. Until recently
I've been the only one using this and I know the user interface isn't great, but I've gotten used to it. Please complain if
something isn't intuitive so I can fix it and make this program better. For usage information please consult the userguide.pdf file
in the tarball. (I'm still trying to think of a decent name for this, suggestions are welcome).
Known bugs:
-*FIXED*: Sometimes you will get a few lines of "0.00000 0.000000 0.000000" when extracting magnetization data. This is a problem with the original equations that I need to look into. It's only ever a few points but will change your average magnetization slightly. Until I fix it I would suggest filtering out this data when you are writing your Matlab scripts, etc.
-The "omfs" file is created even when magnetization data is not extracted.
The scripts are:
If you want only the get_vector scripts it is here.
This directory contains the scripts to extract and plot vector data from omf and ohf files. The scripts are
configured to extract data from an example simulation (a 5 cell wire) and plot M and H vs. time in Matlab using plot_omf_ohf. This Matlab
script will plot magnetization in the y-direction and field in the x-direction.
The tool and examples can be downloaded in a tgz file here (it's ~12MB due to all the omf/ohf files).
This directory contains the same scripts but configured to pull data out for a crossing structure and plot
it using plot_omf_ohf_deg. This Matlab script takes the x and y components of the magnetization and turns them into an angle (in degrees), giving a more complete
representation of the data in the output files. The field is still represented by magnitude (in the x-direction) but can easily be changed to give the angle (see
the comments in the file). The tool and examples can be downloaded in a tgz file here
(again, it's ~17MB due to all the omf/ohf files).
Detailed description of how to run and configure the scripts can be found in the readme.txt files contained in the directories above.
OOMMF Vector Extractor (Command-line) - For Use with 2D Simulations Only
Description
This tool allows the user to extract data from OOMMF omf and ohf files.
The tool is currently in development and consists of a few separate scripts
(in Ruby and Matlab) that must be configured by hand to extract the desired data.
get_vector (C program) - extract vector for a single point from an omf or ohf file
get_omfs.rb/get_ohfs.rb - wrap the C program to extract data from multiple omf and ohf files
plot_omf_ohf.m - plot the data as M (y component) vs. time and H (x component) vs. time
plot_omf_ohf_deg.m - plot the data as M (degrees) vs. time and H (degrees) vs. time
Usage Info
Note: For some reason the Ruby scripts really don't like Windows paths. If in your omf or ohf files you have a path from Windows you should
do a find/replace to get rid of it, e.g. the line:
# Desc: MIF source file: C:\Some\Windows\Path\something.mif2
should be changed to something like:
# Desc: MIF source file: whatever.mif2
(it isn't important what you change it to, it won't affect the results).
OOMMF Vector Extractor (Command-line) - For Use with 2D or 3D Simulations
Description
This script is largely untested, since I do not work much with 3D simulations. The Ruby script and an example are here.
It has basically the same functionality as the scripts above so I won't repeat usage, etc.