Next: About this document ...
Up: IBIS postprocessing file formats:
Previous: Line graphs - scalar
Line Graphics Vector File Format.
This file contains the values of the computed vector fields.
The header file defines the number of data points in this file.
The file must contain nxyfv rows and nfv columns.
The precise format of each piece of data is not critical,
but the ordering of the data is critical. The file format is as follows.
u1(i*h,j*h) v1(i*h,j*h) u2(i*h,j*h) v2(i*h,j*h) ...
u1(i*h+h,j*h) v1(i*h+h,j*h) u2(i*h+h,j*h) v2(i*h+h,j*h) ...
...
Notes:
- 1.
- Each column corresponds to a vector field. The first number in each
row is the first vector field, the second number is the second vector
field and so on.
- 2.
- Each column corresponds to a vector field component and pairs of columns
correspond to the vectors. The 2jth number in each row is the first
component of the jth vector field, and the 2j+1st number in each row
is the second component of the jth vector field.
- 3.
- The first two columns of the file correspond to the fluid velocities
on the finite-difference computational grid. The second two columns
correspond to the generated force vectors on the finite-difference
grid.
- 4.
- Each rows corresponds to a point in the domain where the vector
fields are computed. The data are listed row-wise (left to right)
from the bottom to the top. Therefore, the first nx rows
are the vectors along the bottom row (y=ymin and x=i*h,
where nx). The next nx vectors
correspond to the second row (y=ymin+h and x=i*h, where
where nx), and so on. The last nx
vectors correspond to the final row.
- 5.
- In the current version of IBIS, no other vector fields are computed.
However, if at some future time other fields are needed the structure
of the file will not need to change.
Next: About this document ...
Up: IBIS postprocessing file formats:
Previous: Line graphs - scalar
David Eyre
6/19/1998