Skip to main content

中文

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.
  • Mesh reader based on a modified version of VTK's vtkFLUENTCFFReader, with the VTK dependency removed. Supports all VTK cell types including polyhedra, for both .cas.h5 and .msh.h5.

Installation

pip install cffview

Build from source

HDF5 development headers and libraries are required.

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

If auto-detection fails, set HDF5_DIR explicitly before installing.


Usage

cffview <file> [options]

Options

Option Description
-v, --version Print the Fluent version stored in the file
--extract Dump raw Scheme settings to general.scm and boundary.scm
--showmesh Visualise the mesh interactively with PyVista
--solver Solver type, time, dimension, precision, turbulence model, energy, radiation, gravity
--mat Material properties
--bd Boundary condition settings
--ne Named expressions
--disc Discretisation schemes and relaxation factors
--rd Report definitions
--plotsets Plot sets
--monitorsets Monitor sets
--iter Iteration / time-step settings
--save Save the output to <file>.json

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

Examples

# Show solver configuration and boundary conditions
cffview case.cas.h5 --solver --bd

# Show all settings and save to JSON
cffview case.cas.h5 --solver --mat --bd --ne --disc --rd --iter --save

# Visualise the mesh (.cas.h5 and .msh.h5 both supported)
cffview case.cas.h5 --showmesh
cffview mesh.msh.h5 --showmesh

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

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

File Format Support

Feature .cas.h5 .msh.h5
Case settings (--solver, --mat, --bd, …)
Mesh visualisation (3D)
Mesh visualisation (2D) ⚠️ partial

Note: 2D .msh.h5 face connectivity (C0/C1) parsing is not yet fully implemented.


Supported Settings

Flag Contents
--solver Algorithm (PBNS/DBNS), steady/transient, 2D/3D, single/double precision, turbulence model, energy, radiation, gravity
--mat Fluid/solid materials with properties and evaluation methods
--bd Velocity-inlet, pressure-outlet, mass-flow-inlet/outlet, wall (thermal & motion BC), porous-jump, interior, symmetry, …
--ne Named expressions defined in the case
--disc Per-equation scheme (Second Order Upwind, QUICK, …) and under-relaxation / pseudo-transient factors
--rd Report definitions (volume, surface, flux) with field, zones, and per-zone flag
--plotsets Plot set configurations
--monitorsets Monitor set configurations
--iter Iteration count (steady) or time-step size, number of steps, max inner iterations (transient)

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.1.3.tar.gz (24.6 kB view details)

Uploaded Source

Built Distributions

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

cffview-0.1.3-cp314-cp314-win_amd64.whl (2.1 MB view details)

Uploaded CPython 3.14Windows x86-64

cffview-0.1.3-cp314-cp314-manylinux_2_28_x86_64.whl (2.4 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.28+ x86-64

cffview-0.1.3-cp314-cp314-macosx_11_0_arm64.whl (1.8 MB view details)

Uploaded CPython 3.14macOS 11.0+ ARM64

cffview-0.1.3-cp313-cp313-win_amd64.whl (2.0 MB view details)

Uploaded CPython 3.13Windows x86-64

cffview-0.1.3-cp313-cp313-manylinux_2_28_x86_64.whl (2.4 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ x86-64

cffview-0.1.3-cp313-cp313-macosx_11_0_arm64.whl (1.8 MB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

cffview-0.1.3-cp312-cp312-win_amd64.whl (2.0 MB view details)

Uploaded CPython 3.12Windows x86-64

cffview-0.1.3-cp312-cp312-manylinux_2_28_x86_64.whl (2.4 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ x86-64

cffview-0.1.3-cp312-cp312-macosx_11_0_arm64.whl (1.8 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

cffview-0.1.3-cp311-cp311-win_amd64.whl (2.0 MB view details)

Uploaded CPython 3.11Windows x86-64

cffview-0.1.3-cp311-cp311-manylinux_2_28_x86_64.whl (2.4 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ x86-64

cffview-0.1.3-cp311-cp311-macosx_11_0_arm64.whl (1.8 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

File details

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

File metadata

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

File hashes

Hashes for cffview-0.1.3.tar.gz
Algorithm Hash digest
SHA256 0767479aa93157a0efb16055c4f5cef75f37f488abcf968469419b179a004576
MD5 d452a9131145df30149eeb82d3413505
BLAKE2b-256 e9bbdddfb09ae44ad8b440599b6039edcc2f575f5026f42fd01c99764b96954a

See more details on using hashes here.

Provenance

The following attestation bundles were made for cffview-0.1.3.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.1.3-cp314-cp314-win_amd64.whl.

File metadata

  • Download URL: cffview-0.1.3-cp314-cp314-win_amd64.whl
  • Upload date:
  • Size: 2.1 MB
  • Tags: CPython 3.14, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for cffview-0.1.3-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 ecddf21077f94575cfa6b47802e60816bd965893e8be925125f3fd4907b4d2cb
MD5 08aab356505927a9103ad415363ba3b9
BLAKE2b-256 9b198b3725d1379d53dcf8898d57f22781359c9ad936c04d437030a928fe1da3

See more details on using hashes here.

Provenance

The following attestation bundles were made for cffview-0.1.3-cp314-cp314-win_amd64.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.

File details

Details for the file cffview-0.1.3-cp314-cp314-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for cffview-0.1.3-cp314-cp314-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 9710e3df052a0ed03680184f717931d0ea043e55b0c727c18946ec13e7291c15
MD5 cb6855ef54695d26944bd8ef833b2183
BLAKE2b-256 8d590007fb5df44487a3075e38ea0a76826616280e670b09aad5dbdd0250d438

See more details on using hashes here.

Provenance

The following attestation bundles were made for cffview-0.1.3-cp314-cp314-manylinux_2_28_x86_64.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.

File details

Details for the file cffview-0.1.3-cp314-cp314-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for cffview-0.1.3-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f5e03ac19b17cd0787d276b98fe48fe51f7366d1956ffb335a1a6864e91942ba
MD5 f2fab18891c71edb0954705f0538f4cb
BLAKE2b-256 fe0caf0516b9ca60986bd1cbf40c794f451f330ad289cd83a2c09f9ec9260abb

See more details on using hashes here.

Provenance

The following attestation bundles were made for cffview-0.1.3-cp314-cp314-macosx_11_0_arm64.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.

File details

Details for the file cffview-0.1.3-cp313-cp313-win_amd64.whl.

File metadata

  • Download URL: cffview-0.1.3-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 2.0 MB
  • Tags: CPython 3.13, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for cffview-0.1.3-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 faba20e2423a74e6d5c3895e79ea72db19c0f9dd8e9716f1368115a8300417a6
MD5 9fee79ba2bf97483fddb6335ca9571a1
BLAKE2b-256 830140e29b759c53444d2ded55af3d76e42d0fe48f90982ce2733d5125197f96

See more details on using hashes here.

Provenance

The following attestation bundles were made for cffview-0.1.3-cp313-cp313-win_amd64.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.

File details

Details for the file cffview-0.1.3-cp313-cp313-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for cffview-0.1.3-cp313-cp313-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 89ee8736c41844d625fd46bda7473e72406cc71d52f6c582414a261039c82e3a
MD5 31416b870a0a228bd16ae946de2fb70a
BLAKE2b-256 efb74f2c539eddfbcc62aa0f78e297c095dd1954118f1d08973a1996ee8d5ea1

See more details on using hashes here.

Provenance

The following attestation bundles were made for cffview-0.1.3-cp313-cp313-manylinux_2_28_x86_64.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.

File details

Details for the file cffview-0.1.3-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for cffview-0.1.3-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ee792e2a2d820d1e0d7a19317965128596c8225a5eb333bc5c9217510abfad76
MD5 ac97a1ecdbc45532b9b0a48dc240f542
BLAKE2b-256 b22f854c60b7c5e1db955d082c3c48562a268f9e0ef408749cc2866857c09eea

See more details on using hashes here.

Provenance

The following attestation bundles were made for cffview-0.1.3-cp313-cp313-macosx_11_0_arm64.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.

File details

Details for the file cffview-0.1.3-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: cffview-0.1.3-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 2.0 MB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for cffview-0.1.3-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 4039f65e9d36cf0994753dc1b7761e4da595e542c663d3a6379a265960426fb3
MD5 658f6816ec1f25f2f2403734c2bd7cc4
BLAKE2b-256 6cd388bfacaf2bd11e06b0b3b3f53e1d87cd49dc56cdaa8ce4811e2e89d63b26

See more details on using hashes here.

Provenance

The following attestation bundles were made for cffview-0.1.3-cp312-cp312-win_amd64.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.

File details

Details for the file cffview-0.1.3-cp312-cp312-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for cffview-0.1.3-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 51bc5cf79e5bb1e5b07689a79e49bdee1e4db25f9b6648c8e2df64cad64d3de2
MD5 fac260ff8d8594dd02c4a0ec19faef52
BLAKE2b-256 67e952c37a2caa324d774f8c00bd219da50d66167e0568d4cf1e284502841772

See more details on using hashes here.

Provenance

The following attestation bundles were made for cffview-0.1.3-cp312-cp312-manylinux_2_28_x86_64.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.

File details

Details for the file cffview-0.1.3-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for cffview-0.1.3-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 faeabac030bc1f71467856c67d25e440c1c57ad79aef512b5f9577617f367c4e
MD5 1d71b87ace4ced82d7c8914a80818f81
BLAKE2b-256 9f55510af287e2cd3cfe68c43becc692f255bcd69c3290225f9f00766da48cb8

See more details on using hashes here.

Provenance

The following attestation bundles were made for cffview-0.1.3-cp312-cp312-macosx_11_0_arm64.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.

File details

Details for the file cffview-0.1.3-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: cffview-0.1.3-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 2.0 MB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for cffview-0.1.3-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 da37c026d816d9002387713a1dfbc36b427a9833ba76612898c68f63b2999c61
MD5 5cb93711496aaddc363991f725648cf5
BLAKE2b-256 654f8e754049885c831289d9cb5d9159ac65903b9c6d864d392d8bb062d412b0

See more details on using hashes here.

Provenance

The following attestation bundles were made for cffview-0.1.3-cp311-cp311-win_amd64.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.

File details

Details for the file cffview-0.1.3-cp311-cp311-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for cffview-0.1.3-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 843f32e34a6212cce1206a398136ab0f04f1a22779c04bd05e7e829457284fbf
MD5 8e160d9b833e423fbc662bc4e8975f08
BLAKE2b-256 7f25808ec475926ee1f14053e2160c190c23efd63e076ab3636b1d03ac337d50

See more details on using hashes here.

Provenance

The following attestation bundles were made for cffview-0.1.3-cp311-cp311-manylinux_2_28_x86_64.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.

File details

Details for the file cffview-0.1.3-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for cffview-0.1.3-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 1cec2eb98f9839d1e1f9a95bbadb70b4a2daad6f976b1bb62739c217d261288e
MD5 6b4e144947d162138d3d0b9dd397c948
BLAKE2b-256 d32d92afc4e8218ec0f12f92f73935e7f5ea88f213048c85c79bb3571e607987

See more details on using hashes here.

Provenance

The following attestation bundles were made for cffview-0.1.3-cp311-cp311-macosx_11_0_arm64.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