7.17. cape-tri2uh3d: Convert Cart3D Triangulation to UH3D FormatΒΆ

Convert a Cart3D triangulation .tri file to a UH3D file. The most common purpose for this task is to inspect triangulations with moving bodies with alternative software such as ANSA.

If the name of the output file is not specified, the script will just add .uh3d as the extension to the input (deleting .tri if possible).

Usage:
$ cape-tri2uh3d TRI [OPTIONS]
$ cape-tri2uh3d TRI UH3D [OPTIONS]
$ cape-tri2uh3d -i TRI [-o UH3D] [OPTIONS]
Inputs:
  • TRI: Name of output .tri file

  • UH3D: Name of input .uh3d file

Options:
-h, --help

Display this help message and exit

-i TRI

Use TRI as name of created output file

-o UH3D

Use UH3D as input file

-c CONFIGFILE

Use file CONFIGFILE to map component ID numbers; guess type based on file name

--xml XML

Use file XML as config file with XML format

--json JSON

Use file JSON as JSON-style surface config file

--mixsur MIXSUR

Use file MIXSUR to label surfaces assuming mixsur or usurp input file format

Versions:
  • 2015-04-17 @ddalle: Version 1.0

  • 2017-04-06 @ddalle: Version 1.1: JSON and MIXSUR config files