gruvoc.frofile: Tools FUN3D .flow files

This function reads FUN3D solution files, which have the extension .flow. It reads files with the goal of writing other formats, e.g. Tecplot .plt files.

cape.gruvoc.frofile.read_fro(mesh: UmeshBase, fname_or_fp: str | IOBase, meta: bool = False)

Read a triangulation (from *.fro) to mesh object

Call:
>>> read_fro(mesh, fname)
Inputs:
mesh: Umesh

Unstructured mesh object

fname: str

Name of file

fp: IOBase

File object

Versions:
  • 2025-07-14 @aburkhea: v1.0; copied from trifile

cape.gruvoc.frofile.write_fro(mesh: UmeshBase, fname_or_fp: str | IOBase, meta: bool = False)

Write data from a mesh object to a FRO file

Call:
>>> write_fro(mesh, fname)
Inputs:
mesh: Umesh

Unstructured mesh object

fname: str

Name of file

fp: IOBase

File object

Versions:
  • 2025-07-14 @aburkhea: v1.0; copied from trifile