


{"id":276705,"date":"2023-03-28T00:36:07","date_gmt":"2023-03-28T00:36:07","guid":{"rendered":"\/forum\/forums\/topic\/determine-cell-and-face-centroids-of-hdf5-fluent-files-in-python-using-h5py\/"},"modified":"2023-03-28T00:46:14","modified_gmt":"2023-03-28T00:46:14","slug":"determine-cell-and-face-centroids-of-hdf5-fluent-files-in-python-using-h5py","status":"closed","type":"topic","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/determine-cell-and-face-centroids-of-hdf5-fluent-files-in-python-using-h5py\/","title":{"rendered":"Determine cell and face centroids of HDF5 Fluent files in Python using h5py"},"content":{"rendered":"<p><span style=\"font-size: 12pt\">Hi,<\/span><\/p>\n<p><span style=\"font-size: 12pt\">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.<\/span><\/p>\n<p><span style=\"font-size: 12pt\">Does anyone know how to determine the centroids of the cells and boundary faces from the mesh, case, or data files?<\/span><\/p>\n<p><span style=\"font-size: 12pt\">Using the HDF5 viewer, I found that the mesh and case files contains nodal coordinates under &#8220;\/meshes\/1\/nodes\/coords\/3404&#8221;, but I could not find any information which indicates which cell\/face corresponds to which collection of nodes.<\/span><\/p>\n","protected":false},"template":"","class_list":["post-276705","topic","type-topic","status-closed","hentry","topic-tag-hdf5","topic-tag-python"],"aioseo_notices":[],"acf":[],"custom_fields":[{"0":{"_bbp_subscription":["279402","199"],"_bbp_author_ip":["23.220.96.181"]," _bbp_last_reply_id":["0"]," _bbp_likes_count":["0"],"_btv_view_count":["909"],"_edit_lock":["1679964345:211250"],"_bbp_topic_status":["unanswered"],"_bbp_status":["publish"],"_bbp_topic_id":["276705"],"_bbp_forum_id":["27792"],"_bbp_engagement":["199","279402"],"_bbp_voice_count":["2"],"_bbp_reply_count":["6"],"_bbp_last_reply_id":["277169"],"_bbp_last_active_id":["277169"],"_bbp_last_active_time":["2023-03-30 13:18:14"]},"test":"kenneth-funglciconsultants-com-au"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/276705","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics"}],"about":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/276705\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=276705"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}