|
[Sponsors] |
Determine cell and boundary face centroids of HDF5 Fluent files in Python using h5py |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 27, 2023, 21:44 |
Determine cell and boundary face centroids of HDF5 Fluent files in Python using h5py
|
#1 |
Member
BM
Join Date: Sep 2021
Posts: 35
Rep Power: 5 |
Hi,
I have a bunch of data files which I would like to post-process in Python. To do this, I use the h5py library to import the data files. Does anyone know how to determine the centroids of the cells and boundary faces from the mesh, case, or data files? Using the HDF5 viewer, I found that the mesh and case files contains nodal coordinates under "/meshes/1/nodes/coords/3404", but I could not find any information which indicates which cell/face corresponds to which collection of nodes. |
|
Tags |
h5py, hdf5, python |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[snappyHexMesh] snappyHexMesh does not detect highly skewed faces? | ptpacheco | OpenFOAM Meshing & Mesh Conversion | 1 | January 4, 2022 13:37 |
[mesh manipulation] Importing Multiple Meshes | thomasnwalshiii | OpenFOAM Meshing & Mesh Conversion | 18 | December 19, 2015 19:57 |
[Netgen] Import netgen mesh to OpenFOAM | hsieh | OpenFOAM Meshing & Mesh Conversion | 32 | September 13, 2011 06:50 |
[blockMesh] BlockMeshmergePatchPairs | hjasak | OpenFOAM Meshing & Mesh Conversion | 11 | August 15, 2008 08:36 |
[Commercial meshers] Trimmed cell and embedded refinement mesh conversion issues | michele | OpenFOAM Meshing & Mesh Conversion | 2 | July 15, 2005 05:15 |