Hi there
I've been trying to create a .genereal header file for an O grid for
flow around a cylinder, but to
no avail. The data file is created using the following fortran, and my
general file follows: Would the default "test program" be sufficient to
test the import of the data? Or do I need to create a new one?
write(57,*)'ZONE F=POINT, I=',IMAX, ', J=',JMAX
write(57,*)'***************************************'
write(57,*)' '
write(57,*)'Location'
WRITE(57,996)((XC(I,J),j=1,nj),i=1,ni)
WRITE(57,996)((YC(I,J),j=1,nj),i=1,ni)
write(57,*)'Velocity'
WRITE(57,996)((U(I,J),j=1,nj),i=1,ni)
WRITE(57,996)((V(I,J),j=1,nj),i=1,ni)
write(57,*)'Pressure'
WRITE(57,996)((P(I,J),j=1,nj),i=1,ni)
write(57,*)'StreamFunction'
WRITE(57,996)((STREAM(I,J),j=1,nj),i=1,ni)
General File:
----------
file = /home/thomas/MASc/kj/thomas/cyl_2.dat
grid = 100 x 40
format = ascii
interleaving = record
majority = row
header = lines 6
field = Location, Velocity, Pressure, StreamFunction
structure = 2-vector, 2-vector, scalar, scalar
type = float, float, float, float
dependency = positions, positions, positions, positions
recordseparator = lines 0, lines 1, lines 0, lines 1, lines 1
positions = regular, regular, 0, 1, 0, 1
end