A command-line tool for inspecting Ansys Fluent .cas.h5 / .msh.h5 files without opening Fluent.
- Read solver settings, materials, boundary conditions, discretisation schemes, and more directly from the HDF5 file.
- Visualise the mesh with PyVista.
pip install cffviewgit clone https://github.com/preamer/cffview.git
cd cffview
pip install .Important
Only tested with Ansys Fluent 25R2!
cffview <file> [options]
| Option | Description |
|---|---|
--version |
Print the Fluent version of file |
--extract |
Dump raw Scheme settings to general.scm and boundary.scm |
--mesh, --showmesh |
Visualise the mesh interactively with PyVista |
--solver |
Solver type, time, dimension, precision, turbulence model, energy, radiation, gravity |
--mat, --materials |
Material properties |
--bd, --boundary |
Boundary condition settings |
--ne, --named-expressions |
Named expressions |
--disc |
Discretisation schemes and relaxation factors |
--rd, --report-definitions |
Report definitions |
--plotsets |
Plot sets |
--monitorsets |
Monitor sets |
--residuals |
Residual settings |
--iter |
Iteration / time-step settings |
--contours |
Graphics contours settings |
--vectors |
Graphics vectors settings |
--xy, --xy-plot |
Graphics xy-plot settings |
--save |
Save the output to <file>.json |
--plot |
Plot the outfile with matplotlib |
Multiple flags can be combined freely. Case settings flags (--solver, --mat, etc.) apply to .cas.h5 files only.
# Show all settings and save to JSON
cffview case.cas.h5 --save
# Show solver configuration and boundary conditions
cffview case.cas.h5 --solver --bd
# Visualise the mesh
cffview case.cas.h5 --showmesh
cffview mesh.msh.h5 --showmesh
# Check the Fluent version of file
cffview case.cas.h5 --version
# Extract raw Scheme strings for manual inspection
cffview case.cas.h5 --extract