Next: OOMMF Batch System
Up: Command Line Utilities
Previous: Bitmap File Format Conversion:
Vector Field File Format Conversion:
avf2ovf
The avf2ovf program converts vector field files from any of the
recognized formats
(OVF, VIO) into the OVF 1.0 format.
Command syntax
The avf2ovf launch command is:
tclsh oommf.tcl -fg avf2ovf [-h] [-text|-b4|-b8] [-reg|-irreg] \
infile >outfile
where
- -h
- Display help message.
- -text|-b4|-b8
- Specify output data format. The default is ASCII text; -b4 selects
4-byte binary, -b8 selects 8-byte binary. (The OVF format has an
ASCII text header in all cases.)
- -reg|-irreg
- Specify output grid structure. The default is -reg, which
will output a regular (rectangular) grid if then input is recognized
as a regular grid. The -irreg option forces irregular mesh style
output.
- infile
- Name of input file to process. Must be one of the recognized formats,
OVF 0.0, OVF 1.0, or VIO.
- >outfile
- Avf2ovf writes its output to stdout. Use the redirection operator
``>'' to send the output to a file.
The -text and -irreg options are useful for preparing files for import
into other applications, because all non-data lines are readily
identified by a leading ``#
,'' and each data line is a 6-tuple
consisting of the node location and vector value. Pay attention,
however, to the scaling of the vector value as specified by
``# valueunit
'' and ``# valuemultiplier
'' header lines.
For output format details, see the OVF file
description.
OOMMF Documentation Team
October 29, 1999