Tball: A tool for viewing and manipulating Nodal data files

Tball is a new command-line utility for viewing and manipulating TRITON and Polaris nodal data output files, including:

  • x16: binary nodal data format

  • t16: plaintext nodal data format

  • nodal.h5: hierarchical nodal data format

Tball can be called directly from the command line, from ${SCALE}/bin/tball; in addition, it can be called within a SCALE input within a =shell block, i.e.:

A Tball command within a shell block
= shell
${PGM}/tball [command] [file(s)]
end

Tball supports the following modes:

  • convert convert between nodal data file formats

Each of these methods are discussed in the following sections.

tball convert

Converts between different file formats for nodal data files.

Usage: tball convert [input_file_path] [output_file_path]

The input and output format is automatically detected from the extension (.t16, .x16, .h5) or unique name (e.g. txtfile16, xfile016).

input_file_path

Path to existing nodal data file.

They should have the following formats:

  • .t16 or txtfile16

  • .x16 or xfile016

  • .h5

output_file_path

Path for output file.

They should have the following formats:

  • .t16 or txtfile16

  • .x16 or xfile016

  • .h5

Tball command to convert x16 to t16 file format
tball convert polaris.x16 polaris.t16