OOMMF Home next up previous index
Next: Vector Field File Format Up: OOMMF Documentation Previous: Tips for writing MIF

Data Table File 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. The two character open-close curly brace pair, {}, is used to indicate a missing value.

Embedded newlines and carriage returns are not allowed in the title, columns, or units records.

The command line utility, odtcols, can be a useful tool for examining and partitioning ODT files.

# 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 18.1: Sample ODT file. (description)

OOMMF Home next up previous index

OOMMF Documentation Team
September 30, 2022