Extracting history data with mb_hist

The postprocessor mb_hist may be used to extract data for particular cells from the history file. The program is controlled via command-line arguments.

% mb_hist.exe [-fi history_file] [-fo output_file] 
              [-cell selected_cell_index] 
              -ncell number_of_cells
              [-nsp number_of_gas_species]
The command-line options include...
-fi history_file
History file name. Default is "default.h".
-fo output_file
The history data for the selected cell is written to this file. Default is "cell_0.dat".
-cell selected_cell_index
Index (in the range 0..ncell) for the selected cell. Default value is "0".
-ncell ncell
Number of history cells for which data have been recorded. This value must be supplied.
-nsp number_of_gas_species
The number of gas species needs to be correct because the program does not discard extra species data. Default value is "1".

The data is written to the output file as ASCII text with the following columns

  1. time, seconds
  2. density, kg/m**3
  3. u-velocity, m/s
  4. v-velocity, m/s
  5. specific internal energy, J/kg
  6. pressure, Pa
  7. Mach number
  8. Pitot pressure, Pa
  9. Temperature, K
  10. mass-fraction, species 0
  11. mass_fraction, species 1
  12. ...


MB_CNS (C) P. A. Jacobs
Last Updated 06-Aug-1998.