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.

Installation

pip install cffview

Build from source

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

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)

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.2.0.tar.gz (11.9 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.2.0-py3-none-any.whl (11.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for cffview-0.2.0.tar.gz
Algorithm Hash digest
SHA256 cc72a33bdd287b41f9b6d2a73671522c59d42812a55e331ca30f27d7ca21858f
MD5 4c1b41e02e2db1bd3af8a1be4bc99b58
BLAKE2b-256 42d1cdf954349f7252c615289c51e3f9690dfa410ea4eb17c148034c2c88f7d5

See more details on using hashes here.

Provenance

The following attestation bundles were made for cffview-0.2.0.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.2.0-py3-none-any.whl.

File metadata

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

File hashes

Hashes for cffview-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0e2db87e068a4c91786e3842ec1a2c480d9f14b0cba2d837de4f853a9553029d
MD5 8db817b6a66d2d7955d4b6983714c78d
BLAKE2b-256 d397c9d97f573cad80226bf359d3f1059ede9423637141909710ac84fbbe01d4

See more details on using hashes here.

Provenance

The following attestation bundles were made for cffview-0.2.0-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