Skip to content

Command Line Tools

For every tool, use option -h to get help.

<command> -h

generic writers

Some specific options are available to transform mesh or variables when writing a new mesh/solution file:

  • --remove-cell-data varname1 [varname2 ...] removes the listed names (should be at the end of command line if several names, or followed by --)
  • --remove-node-data varname1 [varname2 ...] removes the listed names (should be at the end of command line if several names, or followed by --)

cfdinfo

fully reads all supported formats, converts to an internal mesh and data structure and prints a sum up of available information.

cfdwrite_ic3v2

reads all available formats and transform it to IC3.v2 format if available

cfdwrite_ic3v3

reads all available formats and transform it to IC3.v3 format if available cfdwrite_ic3 is a shortname for last current IC3 writer, namely cfdwrite_ic3v3.

cfdwrite_vtk

reads all available formats and transform it to VTU format if available (IC3.v3 to VTK not yet available)

cfdwritecube

creates a cartesian mesh, converts it to an unstrutured hexa mesh and save it to specific format

Options:

    --nx --ny --nz : mesh sizes (default: 10)
    --fmt : file format

ic3brief

reads IC3 related format (v2, v3 and soon v4) and print information on headers (mesh and variables) without reading data itself (faster)

ic3probe_plotline

parse an IC3 set of (csv files) probe line and a time or frequency map

Options:

--data: variable to analyze and plot
--axis: coordinate on x-axis of the map
--map: 'time' or 'frequency'
--cmap: matplotlib name of colormap
--cmaplevels: number of levels
--check: performs some verifications

vtkbrief

reads all pyvista-available formats and prints information on mesh and data

vtkpack

reads a list of VTK-like files and packs it to an cfdtools hdf5 format (mesh consistency will be checked and data reordered if necessary)