UG_IO : FFLOW FLOW DATA FILE TYPE
---------------------------------
A FFLOW file contains an Euler or Navier-Stokes flow field solution. The FFLOW
file type is identical to a single zone FAST (PLOT3D) flow field solution data
file.
{ Number_of_Nodes, Dummy_J, Dummy_K }
{ Ref_Mach_Number, Ref_Alpha, Ref_Re, Ref_Time }
{ [ Density for node 1,
Density for node 2,
...
Density for node Number_of_Nodes ],
[ X-Momentum for node 1,
X-Momentum for node 2,
...
X-Momentum for node Number_of_Nodes ],
[ Y-Momentum for node 1,
Y-Momentum for node 2,
...
Y-Momentum for node Number_of_Nodes ],
[ Z-Momentum for node 1,
Z-Momentum for node 2,
...
Z-Momentum for node Number_of_Nodes ],
[ Total Energy for node 1,
Total Energy for node 2,
...
Total Energy for node Number_of_Nodes ] }
The variables used above are defined as follows.
Number_of_Nodes : Number of grid nodes.
Dummy_J : Dummy integer that must be set equal to 1.
Dummy_K : Dummy integer that must be set equal to 1.
Ref_Alpha : Reference Angle of Attack.
Ref_Mach_Number : Reference Mach number.
Ref_Re : Reference Reynolds number.
Ref_Time : Reference Time.
Density : Flow field density.
Momentum : Flow field momentum vector.
Total Energy : Flow field total energy.
In the above description, the brackets [ ... ] enclose items in a loop, and
braces { ... } enclose items in a single logical record.
In FORTRAN unformatted form, the data must be written out or read in using the
record format defined above. The floating point data items must all be either
real*4 or real*8 data.
In C binary form, the data may be written out or read in using records the
length of loops or of the individual data items. The floating point data items
must all be either float or double data.
In ASCII formatted form, the data may be written out or read in using records
the length of loops or of the individual data items. Data items may be written
out in free format of any specific form.