-
-
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.
- air flow in and out of computer case
- Varying Bond model parameters to mimic soil particle cohesion/stiction
- Eroded Mass due to Erosion of Soil Particles by Fluids
- I am doing a corona simulation. But particles are not spreading.
- Centrifugal Fan Analysis for Determination of Characteristic Curve
- Issue to compile a UDF in ANSYS Fluent
- Guidance needed for Conjugate Heat Transfer Analysis for a 3s3p Li-ion Battery
- JACOBI Convergence Issue in ANSYS AQWA
- affinity not set
- Resuming SAG Mill Simulation with New Particle Batch in Rocky
-
4177
-
1493
-
1363
-
1196
-
1021
© 2025 Copyright ANSYS, Inc. All rights reserved.