The OVF 2.0 format is a modification to the OVF 1.0 format that also supports fields across three spatial dimensions but having values of arbitrary (but fixed) dimension. In the OVF 2.0 format:
The first line reads: # OOMMF OVF 2.0
for both
regular and irregular meshes.
In the Segment Header block, the new record valuedim is required. This must specify an integer value, , bigger or equal to one.
In the Segment Header block, the new valueunits record replaces the valueunit record of OVF 1.0. Instead of a single unit value, valueunits should be a (Tcl) list of value units, each treated as an unparsed label. The list should either have length (as specified by valuedim), in which case each element denotes the units for the corresponding dimension index, or else the list should have length one, in which case the single element is applied to all dimension indexes. The old valueunit record is not allowed in OVF 2.0 files.
In the Segment Header block, the new valuelabels record is required. This should be an -item (Tcl) list of value labels, one for each value dimension. The labels identify the quantity in each dimension. For example, in an energy density file, would be 1, valueunits could be J/m, and valuelabels might be “Exchange energy density”.
In the Segment Header block, the records valuemultiplier, boundary, ValueRangeMaxMag and ValueRangeMinMag of the OVF 1.0 format are not supported.
In the Data block, for regular meshes each record consists of values, where is the value dimension as specified by the valuedim record in the Segment Header. The node ordering is the same as for the OVF 1.0 format. For irregular meshes, each record consists of values, where the first three values are the , and components of the node position. For data blocks using text representation with , the Data block in OVF 1.0 and OVF 2.0 files are exactly the same.
The data layout for data blocks using binary representation is also the same as in OVF 1.0 files, except that all binary values are written in a little endian (LSB) order, as compared to the MSB order used in the OVF 1.0 format. This includes the initial check value (IEEE floating point value 1234567.0 for 4-byte format, corresponding to the LSB hex byte sequence 38 B4 96 49, and 123456789012345.0 for 8-byte format, corresponding to the LSB hex byte sequence 40 DE 77 83 21 12 DC 42) as well as the subsequent data records.
In all other respects, the OVF 1.0 and OVF 2.0 are the same. An example OVF 2.0 file for an irregular mesh with follows.