Personal tools
You are here: Home Codes ZEUS-MP Postprocessing
Document Actions

Postprocessing

by streeter last modified 2007-03-30 04:01


In the current version of ZEUS-MP, data can be output in ASCII format or HDF. There are two HDF formats that generally referred as HDF4 and HDF5. In this version, user can only output HDF4 data format, in the next version, HDF5 will be included as option. For HDF4, individual files are dumped from each processor and the combination of the files back into the whole domain is required.

In the directory /pp, a set of files are included for postprocessing of HDF4 data output from ZEUS-MP. The files in /pp are the source codes and a makefile for a program "zmp_pp.x" which will combine the HDF4 files together. The makefile in /pp is "Make_zmp_pp". This makefile will look for the definition file again in /src and the input parameter file in /exe in order to compile a correct executable file, zmp_pp.x, for data postprocessing. Therefore, when the input parameter file and the definition file are changed, zmp_pp.x needs to be recompiled again.

Here we will use the zmp_pp.x to combine the data from the blast problem. When the blast problem run is finished, we will have a set of HDF files output from the processors. They are in the form of hdfaaxxxxxx.yyy. If the HDF file is from tile 0,1,0 (i.e. the 1st tile in 1-direction, the 2nd tile in 2-direction, and the 1st tile in the 3-direction), "xxxxxx" will be "000100". "yyy" will be "000", "001", "002", etc. as a time sequence of data dump. The procedure of combining data files are:

  • Go to /pp and remove any previous preprocessed and object files by: make clean
  • Compile the zmp_pp.x by: Make_zmp_pp compile
  • zmp_pp.x is created at /exe.
  • Go to /exe and run zmp_pp.x and enter "hsplice" after the display of instruction.
  • Enter the dump number "yyy" of the data files but ignore the leading zeros, e.g. enter "5" for "005" files.
  • The combined file, hdfaa.005 will be created and ready for analysis.
  • Continue typing dump numbers if more data needs to be combined.
  • Enter "-1" to end the process and "quit" to exit the program.
For ASCII data output, choose "splice" instead of "hsplice".

Make sure that the zeusmp.def and zmp_inp are in the appropriate subdirectories before compiling zmp_pp.x as the Make_zmp_pp will look for these files during the compilation.

Users can choose their familiar software, which can read in HDF files, for data analysis and visulization. LCA has developed an interactive tool, 4D2, for visualizing and animating 3D data (array, particle) on Silicon Graphics workstations. The density of a section through the blast wave from the combined data is displayed in the ZEUS-MP web page. Because of the magnetic field is along the x-direction, the shock front is elongated in the x-direction.

Users can follow the above procedure to test other problems in the test suite in /test and compare the results shown in the ZEUS-MP web site.

Powered by Plone CMS, the Open Source Content Management System

This site conforms to the following standards: