遇到任何不明白的都应该查FDS用户手册,我把手册中有关的部分贴出来:
20.11 Extracting Numbers from the Output Data Files
As part of the standard FDS-SMV distribution package, there is a short Fortran program called fds2ascii5.
To run the program, just type:
fds2ascii
at the command prompt. You will be asked a series of questions about which type of output file to process,
what time interval to time average the data, and so forth. A single file is produced with the name
CHID_fds2ascii.csv. A typical command line session looks like this:
>> fds2ascii
Enter Job ID string (CHID):
bucket_test_1
What type of file to parse?
PL3D file? Enter 1
SLCF file? Enter 2
BNDF file? Enter 3
3
Enter Sampling Factor for Data?
(1 for all data, 2 for every other point, etc.)
1
Limit the domain size? (y or n)
y
Enter min/max x, y and z
-5 5 -5 5 0 1
1 MESH 1, WALL TEMPERATURE
Enter starting and ending time for averaging (s)
35 36
Enter orientation: (plus or minus 1, 2 or 3)
3
Enter number of variables
1
Enter boundary file index for variable 1
1
Enter output file name:
bucket_test_1_fds2ascii.csv
Writing to file... bucket_test_1_fds2ascii.csv