-
-
October 27, 2024 at 10:40 am
omar.aly
SubscriberHello everyone,
I recently conducted a CFD simulation in ANSYS Fluent and analyzed the temperature distribution by generating a contour map on a specific plane. My objective is to extract the temperature values from this plane and arrange them into a structured matrix in Python for further processing, including the calculation of the heat transfer coefficient.
I managed to export the temperature data as an HDF5 file, but I encountered some challenges. The data consists of 20,736 temperature values at specific x and z coordinates. Also, the mesh used in the simulation is unstructured, with finer regions in specific areas, leading to repeated coordinates. This makes it difficult to organize the values into a proper matrix.
Given these issues, could you suggest a better approach to extract and arrange the temperature values in a structured format that would allow easier processing in Python? Additionally, are there any built-in tools or scripts within Fluent that can help pre-process or arrange data before exporting, which might save time on the Python side? Any tips on handling data from unstructured meshes or dealing with repeated coordinates would be greatly appreciated.
Thank you for your assistance! -
October 29, 2024 at 2:05 pm
Federico
Ansys EmployeeYou can export your solution on the nodes or cell center . You will find this Option in the Export Solution Data dialog page. 3.14. Exporting Solution Data after a Calculation
For Python related question, I would suggest you submit your questions to the Developper Forum. Fluids - Community Forum
-
- You must be logged in to reply to this topic.
- How do I get my hands on Ansys Rocky DEM
- Unburnt Hydrocarbons contour in ANSYS FORTE for sector mesh
- convergence issue for transonic flow
- Facing trouble regarding setting up boundary conditions for SOEC Modeling
- Point exception in erosion calculation
- Script Error Ansys
- Errors with multi-connected bodies using AQWA
- Quantitative results
-
2723
-
959
-
813
-
599
-
591
© 2025 Copyright ANSYS, Inc. All rights reserved.