September 4, 2023 at 4:38 amEmmanuel RamogiSubscriber
I saved Ansys fluent simulation data in .dat format. However, I need some assistance regarding how to read the data within. After searching the internet for hours, I have not been able to find any solution to this.
How can one adjust a programming language code to read the Ansys fluent .dat file?
September 5, 2023 at 1:44 pmSunil LilhareAnsys Employee
Hello, the case and data files contains information related to the Ansys Fluent simulation. You can make use of read option to load the required files.
To know more about how to read and write Ansys Fluent case and data files please have a look at the section of Ansys Fluent's User Guide whose link is given below.
"If you are not able to access the link, please refer to this forum discussion: How to access the ANSYS Online Help"
September 5, 2023 at 3:11 pmNikhil NaraleAnsys Employee
To add to what Sunil suggested, you may also consider reading the data file within CFD-Post: File -> Load Results... and pick the data file you have.
September 5, 2023 at 6:09 pmEmmanuel RamogiSubscriber
Thanks for the reply @Nikhil and @Sunil. To be more specific, here is the assistance I need.
I am looking for help to read the solution file from Fluent into an external Python code.
I am working on modifying the solution from Fluent using singular value decomposition and reconstructing the solution using a fewer number of modes. To evaluate singular value decomposition, I need to read the solution data from Fluent into a Python code. Therefore, I am looking for the format for .dat file from Fluent. Also, after reconstruction of the solution, I need to write the reconstructed solution from the Python code into another .dat file, so that I can read it into CFD-Post and visualize it. Hope this is clearer.
September 6, 2023 at 5:47 amNikhil NaraleAnsys Employee
September 18, 2023 at 6:09 pmEmmanuel RamogiSubscriber
I have gone through the videos and course however, I have not found what would work for me. The course and videos are mostly about how to use PyFluent as an interface with Ansys Fluent which is really not my objective.
I need to find out how the variables are stored on the .dat file (simulation data) format or how the .dat file format is constructed so that I can be able to read it using a Python code. Learning how to read it will be useful during the reconstruction process as I explained above. My main concern is how to read the solution data from fluent into a python code.
September 20, 2023 at 2:36 pmRobAnsys Employee
You may find you're better off using an interpolation file or ASCII type format from File>Export>Solution Data. As others have commented the case and data files are linked, and whilst the data file will contain all of the results it may not contain all of the required information.
File formats are covered here https://ansyshelp.ansys.com/account/Secured?returnurl=/Views/Secured/corp/v232/en/flu_ug/flu_ug_chp_fileformat.html
- You must be logged in to reply to this topic.
Boost Ansys Fluent Simulations with AWS
Computational Fluid Dynamics (CFD) helps engineers design products in which the flow of fluid components is a significant challenge. These different use cases often require large complex models to solve on a traditional workstation. Click here to join this event to learn how to leverage Ansys Fluids on the cloud, thanks to Ansys Gateway powered by AWS.
Earth Rescue – An Ansys Online Series
The climate crisis is here. But so is the human ingenuity to fight it. Earth Rescue reveals what visionary companies are doing today to engineer radical new ideas in the fight against climate change. Click here to watch the first episode.
Subscribe to the Ansys Blog to get great new content about the power of simulation delivered right to your email on a weekly basis. With content from Ansys experts, partners and customers you will learn about product development advances, thought leadership and trends and tips to better use Ansys tools. Sign up here.
- Floating point exception in Fluent
- What are the differences between CFX and Fluent?
- Heat transfer coefficient
- Difference between K-epsilon and K-omega Turbulence Model
- Getting graph and tabular data from result in workbench mechanical
- The solver failed with a non-zero exit code of : 2
- Suppress Fluent to open with GUI while performing in journal file
- Mesh Interfaces in ANSYS FLUENT
- Time Step Size and Courant Number
- error: Received signal SIGSEGV
© 2023 Copyright ANSYS, Inc. All rights reserved.