Skip to main content

PyPI Python versions CI

中文

cffview

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.

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
--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.

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 --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

Demo

demo.webm

License

BSD-3-Clause

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cffview-0.3.4.tar.gz (15.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cffview-0.3.4-py3-none-any.whl (14.5 kB view details)

Uploaded Python 3

File details

Details for the file cffview-0.3.4.tar.gz.

File metadata

  • Download URL: cffview-0.3.4.tar.gz
  • Upload date:
  • Size: 15.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for cffview-0.3.4.tar.gz
Algorithm Hash digest
SHA256 394188d4b4a1b18ca645c6bc434545d5d082037fa774b0a2cd765eea9f5074b4
MD5 594bfe01a3a5745c1bba0bb10a429b1a
BLAKE2b-256 797f1d3e4b6f6dd8d754509f715c481f8f71276d2f2953a65037bb5b55a032fd

See more details on using hashes here.

Provenance

The following attestation bundles were made for cffview-0.3.4.tar.gz:

Publisher: build_wheels.yml on preamer/cffview

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file cffview-0.3.4-py3-none-any.whl.

File metadata

  • Download URL: cffview-0.3.4-py3-none-any.whl
  • Upload date:
  • Size: 14.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for cffview-0.3.4-py3-none-any.whl
Algorithm Hash digest
SHA256 868510ee9f6831617697477b5a0787a3a0a35ef0c7ca9f4bb7109acb744b393e
MD5 d46d8d6fa197dfa818762facf4a62211
BLAKE2b-256 2af05aa1a80174a74296cdcffd320b9398a360b578b018d6884780afcd6490af

See more details on using hashes here.

Provenance

The following attestation bundles were made for cffview-0.3.4-py3-none-any.whl:

Publisher: build_wheels.yml on preamer/cffview

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page