Skip to content

umaybe/QuickLook.Plugin.AFH5

Repository files navigation

QuickLook icon

QuickLook.Plugin.AFH5

A plugin to preview Ansys Fluent cas.h5 file.

preview window

Structure of cas.h5

For an introduction to the H5 format, you can refer to this article.

For an introduction to the CFF format, you can refer to this article.

structure of cas.h5

After opening .cas.h5 file using HDFView, there are following groups:

  1. meshes
  2. settings
  3. special

The settings group contains multiple datasets, which contain the simulation configuration information stored as S-expression strings which you can find in the example folder.

  1. Cortex Variables: Face IDs and display settings
  2. Domain Variables: Meaning unclear (e.g. (64 ()))
  3. Origin: Ansys Fluent build information (e.g. ANSYS_FLUENT 25.2 Build 10204)
  4. Rampant Variables: Most settings
  5. Solver: Solver information (e.g. ANSYS_FLUENT)
  6. TGrid Variables: Geometry mesh related
  7. Thread Variables: Cell zone and boundary condition
  8. Version: Version information (e.g. 25.2)

Note

Important

Only tested with Ansys Fluent 2025 R2.

This plugin now only show the most frequent information, including:

  • solver
  • material
  • cell zone
  • boundary
  • discretization scheme
  • under-relaxation factor
  • iteration

They are extracted by regular expression or S-expression parser. PRs are welcome to add more.

Try out

  1. Go to Release page and download the latest version.
  2. Make sure that you have QuickLook running in the background. Go to your Download folder, and press Spacebar on the downloaded .qlplugin file.
  3. Click the “Install” button in the popup window.
  4. Restart QuickLook.
  5. Select the cas.h5 file and press Spacebar.

Thanks

  • QuickLook: Bring macOS “Quick Look” feature to Windows
  • PureHDF: A pure .NET library that makes reading and writing of HDF5 files (groups, datasets, attributes, ...) very easy.
  • Untitled.Sexp: Simple .Net library for reading, writing and serializing s-expressions.

License

MIT

About

A QuickLook plugin to preview Ansys Fluent cas.h5 file

Topics

Resources

License

Stars

Watchers

Forks

Contributors