gruvoc.flowfile: 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.flowfile.read_fun3d_flow(mesh: UmeshBase, fname_or_fp: str | IOBase, meta: bool = False, turb: bool = False)

Read data to a mesh object from FUN3D .flow file

Call:
>>> read_fun3d_flow(mesh, fname, meta=False)
>>> read_fun3d_flow(mesh, fp, meta=False)
Inputs:
mesh: Umesh

Unstructured mesh object

fname: str

Name of file

fp: IOBase

File object

meta: True | {False}

Read only metadata (number of nodes, tris, etc.)

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

Read data to a mesh object from FUN3D .flow file

Call:
>>> read_fun3d_tavg(mesh, fname, meta=False)
>>> read_fun3d_tavg(mesh, fp, meta=False)
Inputs:
mesh: Umesh

Unstructured mesh object

fname: str

Name of file

fp: IOBase

File object

meta: True | {False}

Read only metadata (number of nodes, tris, etc.)