Skip to main content

PyPI Python versions CI

中文

cffview

CFF is an abbreviation for Ansys Common Fluids Format.

A command-line tool for viewing Ansys Fluent .cas.h5 / .msh.h5 / .dat.h5 files without opening Fluent.

  • Read solver settings, materials, boundary conditions, discretisation schemes, and more directly from the HDF5 file.
  • Visualise mesh or data with PyVista.

Installation

PyPI

pip install cffview

From source

git clone https://github.com/preamer/cffview.git
cd cffview
pip install .

Usage

[!IMPORTANT] Only tested with Ansys Fluent 25R2!

cffview <file> [options]

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
--data, --plotdata Plot the data interactively with PyVista (may not work, depending on vtkFLUENTCFFReader)
--solver Solver type, time, dimension, precision, turbulence model, energy, radiation, gravity
--mat, --materials Material properties
--bd, --boundary Boundary condition settings
--interfaces Mesh interfaces settings
--ne, --named-expressions Named expressions
--cff, --custom-field-functions Custom field functions
--units [KEYWORD ...] Unit table (filtered by one or more keywords; empty means default SI units)
--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
--surfaces Surfaces settings
--contours Graphics contours settings
--vectors Graphics vectors settings
--xy-plot Graphics xy-plot settings
--save Save the output to file_name.json (if file_name not specified, it is the same as input file)
--plot [out|xy|dat] Plot a data file; without TYPE, infer from the file extension

Multiple flags can be combined freely. Case settings flags (--solver, --mat, etc.) apply to .cas.h5 files only.

[!TIP] Long options can be abbreviated to any unambiguous prefix. For example, --inter works for --interfaces and --so for --solver. An ambiguous prefix (e.g. --i, which could match --interfaces or --iter) is rejected with an error.

Examples

# 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 --mesh
cffview mesh.msh.h5

# Visualise the data
cffview case.cas.h5 --data

# Check the Fluent version of file
cffview case.cas.h5 --version

# Extract raw Scheme strings for manual inspection
cffview case.cas.h5 --extract

Demo

https://github.com/user-attachments/assets/7f97b559-87fa-4822-be9f-4e82b8c5cab6

License

BSD-3-Clause

Release files for cffview 0.4.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cffview 0.4.3
File Size Uploaded
cffview-0.4.3.tar.gz 24.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for cffview 0.4.3
File Interpreter ABI Platform
cffview-0.4.3-py3-none-any.whl Python 3 none any Details

Total release size: 47.9 kB

Release files / cffview-0.4.3.tar.gz

Download URL cffview-0.4.3.tar.gz
Size 24.1 kB
Tags Source
SHA-256 checksum
How to use checksums
e23dc822301f5af99f28f029bf298c7908481e5a33e6421a67b1f1660b1d4ac8
BLAKE2b-256 checksum
How to use checksums
f47483aab18c7c0867798527d327a2c765805c085d800a7702230402eaddb16a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 22, 2026.

Transparency log

Release files / cffview-0.4.3-py3-none-any.whl

Download URL cffview-0.4.3-py3-none-any.whl
Size 23.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b1f2a053c85067d419301e8f5a4a7845b19fd4dff14bf322c6036277f176474d
BLAKE2b-256 checksum
How to use checksums
88c0b9954132e1e7fbc8d59ec1113fd9963f17963419c2acbdda29207df1ae89
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 22, 2026.

Transparency log

Release history Release notifications | RSS feed

0.5.2

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.4

2 release files

This release

0.4.3 This release

2 release files

0.4.2

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.6

2 release files

0.3.5

2 release files

0.3.4

2 release files

0.3.3

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.5

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.3

13 release files

0.1.1

13 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page