Appendix K; GENTRA Utilities

K.1 Plotting Trajectories

K1.1 In the Viewer

The particle trajectories can be plotted in the Viewer by using the global history file ("ghis" by default) as a macro. Click on om the hand-set or ‘ on the tool bar. On the dialog that opens, enter the name of the global history file as the Macro file and click ‘OK’ to run it. All the tracks in the file will be read and displayed as Viewer streamlines. They can then be turned on and off through the Streamline Management Dialog.

To plot individual tracks from the history file, create a macro file which contains the lines:

Filename m [,n]

where filename is the name of the history file, and n is the number of the track to draw. If m is present, all tracks in the range m-n will be drawn.

K.2 Saving as a case

The global history file, ghis, will be automatically saved as ‘case.his’, by clicking on File, Save as a case. The genuse file will be saved as ‘case.gen’. The individual trajectory and history files will not be saved automatically. They can always be recovered from ghis by running the track unpacker, as described above.