cape.pyfun.tricli: Special FUN3D triangulation interfaces

This module includes functions to interface with triangulated surface files and provides interfaces accessible from the command line.

Many of these functions perform conversions, for example uh3d2tri() reads a UH3D file and converts it to Cart3D .tri format.

cape.pyfun.tricli.main_plt2triq()

CLI for plt2triq()

Call:
>>> main_plt2triq()
Versions:
  • 2021-10-14 @ddalle: Version 1.0

cape.pyfun.tricli.plt2triq(*a, **kw)

Convert FUN3D surface .plt to Cart3D .triq format

Call:
>>> plt2triq(fplt, **kw)
>>> plt2triq(fplt, ftriq, **kw)
>>> plt2triq(i=fplt, o=ftriq, **kw)
Inputs:
fplt: str

Name of input file Tecplot file (can be ASCII)

ftriq: {None} | str

Name of annotated triangulation .triq file to create; defaults to fplt with the .plt replaced by .triq

mach: {1.0} | positive float

Freestream Mach number for skin friction coeff conversion

triload: {True} | False

Whether or not to write a triq tailored for triloadCmd

avg: {True} | False

Use time-averaged states if available

rms: True | {False}

Use root-mean-square variation instead of nominal value

See also:
Versions:
  • 2016-12-19 @ddalle: Version 1.0; Plt2Triq()

  • 2021-10-01 @ddalle: Version 2.0