2-dimensional orthogonal lattice 1 component data

2-dimensional orthogonal lattice 1 component data

The horizontal direction is read in as the first dimension of the 2D data and the vertical direction is read in as the second dimension of the 2D data. If the number of columns is m and the number of rows is n then the data is in the form of a 2-dimensional array data[n][m].


Example:

10 10 10 10 10
10 20 20 20 10
10 20 30 20 10
10 20 20 20 10
10 10 10 10 10
To convert this test file into structured cell data, execute the following command in the MSDOS prompt mode. Use the Path command to set the directory or move to the appropriate directory before running this command.

MTB2FLD.EXE -in test -mesh > test.fld

A file test.fld is generated on execution of this command. The figure below is the result of reading this file into MicroAVS and displaying it.

MicroAVS display example



UP © 1999-2008 KGT Inc. All rights reserved.