OOMMF Home next up previous contents index
Next: Vector field format (OVF) Up: File Formats Previous: Problem specification format (MIF)

Data table format (ODT)

Textual output from solver applications that is not of the vector field variety is output in the OOMMF Data Table (ODT) format. This is an ASCII text file format, with column information in the header and one line of data per record. Any line ending in a '\' character is joined to the succeeding line before any other processing is performed. Any leading `#' characters on the second line are removed.

As with the OVF format, all non-data lines begin with a `#' character, comments with two `#' characters. (This makes it easier to import the data into external programs, for example, plotting packages.) An example is included below.

The first line of an ODT file should be the file type descriptor

# ODT 1.0
It is also recommended that ODT files be given names ending in the file extension .odt so that ODT files may be easily identified.

The remaining lines of the ODT file format should be comments, data, or any of the following 5 recognized descriptor tag lines:

Data may appear anywhere after the Columns descriptor record and before any Table End line, with one record per line. The data should be numeric values separated by whitespace.

# ODT 1.0
# Table Start
# Title: This is a small sample ODT file.
## This is a sample comment.  You can put anything you want
## on comment lines.
# Columns: Iteration "Applied Field"  {Total Energy}    Mx
# Units:      {}          "mT"           "J/m^3"       "A/m"
              103          50            0.00636      787840
             1000          32            0.00603      781120
            10300       -5000            0.00640     -800e3
# Table End
Figure 6: Sample ODT file. (Description.)

OOMMF Home next up previous Contents index

OOMMF Documentation Team
January 22, 2001