Next: OOMMF Launcher/Control Interface: mmLaunch
Up: OOMMF Documentation
Previous: Advanced Installation Options
Quick Start: Example OOMMF Session
-
STEP 1: Start up the mmLaunch window.
- At the prompt, when you are in the OOMMF root directory,
type tclsh app/oommf/oommf.tcl
- After a (possibly long) time, you will see a small window labeled
mmLaunch. It will come up in background mode, so you will get
another prompt in your original window, even before the
mmLaunch window appears.
-
STEP 2: Gain access to other useful windows.
- On mmLaunch window, check localhost box, causing a menu of user
account boxes to appear. Then check the box corresponding
to the account you want to compute on. This gives a menu of
options:
- mmProbEd: to grab/modify a problem
- mmSolve2D: to control the solver
- mmDisp: to display vector fields
- mmGraph: to form x-y plots
- mmArchive: to save vector field data (primitive)
- mmDataTable: to display current values of variables
- Click on mmDisp, mmGraph, and/or
mmDataTable, depending on what form of output you
want.
-
STEP 3: Load a problem.
- On mmLaunch window, click on the mmProbEd button.
- On mmProbEd window, under File menu, click Open.
A ``Load MIF File'' window will appear.
- On this window:
- Double click in the ``Path'' subwindow to change
directories. Several sample problems can be found in
the directory oommf/app/mmpe/examples.
- To load a problem, double click on a *.mif file
(e.g., prob1.mif) from the list under the ``Filter:''
subwindow.
- Modify the problem as desired by clicking on buttons from
the main mmProbEd window (e.g., Material
Parameters), and fill out the pop-up forms. A
completely new problem may be defined this way.
-
STEP 4: Initialize the solver.
- On mmLaunch window, click on the mmSolve2D button.
- Then, when after a (possibly long) time the process appears
on the mmLaunch window, check the box next to mmSolve2D. An
mmSolve2D window will appear.
- On mmSolve2D window:
- Check Problem Description under Inputs.
- Check mmProbEd under Source Threads.
- Click LoadProblem.
- Wait for more buttons to appear.
- Check Scheduled Outputs.
- For each desired output (TotalField, Magnetization, and/or
DataTable), specify the frequency of update:
- Check desired output.
This will exhibit the possible output destinations in
Destination Threads.
- Check the box next to the desired Destination Thread.
This will exhibit ``Schedule'' options.
- Choose a schedule:
- every_Iteration: fill in number and check the box.
- every_Equilibrium: fill in number and check the box.
- Interactive: whenever you click corresponding
Interactive output button.
-
STEP 5: Start the calculation.
- On the mmSolve2D window, start the calculation with
Run or Relax.
- Either before or after this, if you requested mmDataTable
output, check the boxes for the desired quantities on the
mmDataTable window under the Data menu, so that they
appear and are updated as requested in your schedule.
- Similarly, check the box for the desired X-Axis and Y-Axis
variables on the mmGraph window(s) under the X-Axis and
Y-Axis menus.
-
STEP 6: Perform midcourse controls as desired.
- On the mmSolve2D window, buttons can stop and restart the
calculation:
- Reset: Return to beginning of problem.
- LoadProblem: Restart with a new problem.
- Run: Apply a sequence of fields until all complete.
- Relax: Apply a single field and run the ODE to equilibrium.
- Pause: Click anytime to stop the solver. Restart with run.
- Field-: Apply the previous field again.
- Field+: Apply the next field in the list.
- Output options can be changed and new output windows opened.
-
STEP 7: Exit OOMMF.
- On the mmSolve2D window, stop the simulation with
Pause or Exit.
- Use the File menu on each window to exit.
OOMMF Documentation Team
August 12, 1998