Replies: 7 comments 10 replies
-
@ansys/pyfluent-contributors - can we give this user some assistance? He also contacted @ansys/pyansys-core via email. Thanks! |
Beta Was this translation helpful? Give feedback.
-
@Ramogi254 .dat files that are needed can be generated in Fluent in the usual. |
Beta Was this translation helpful? Give feedback.
-
@seanpearsonuk I have already generated the .dat file in Fluent. The steps that I really need assistance with are steps 2 & 5. Can you share the link to the documentation website you have mentioned? And also a link for data_file.py? Thanks. |
Beta Was this translation helpful? Give feedback.
-
https://github.com/ansys/pyfluent/blob/main/src/ansys/fluent/core/filereader/data_file.py Step 5 is not a feature |
Beta Was this translation helpful? Give feedback.
-
@Ramogi254 I have made some comments in an issue here Please refer to my latest suggestion there. |
Beta Was this translation helpful? Give feedback.
-
@Ramogi254 The commands in that installation guide are not Python commands, you need to open a system command shell or terminal to follow those steps, i.e. Windows CMD if you are using Windows. And yes, you are looking at the correct instructions, the commands are:
|
Beta Was this translation helpful? Give feedback.
-
@raph-luc I have successfully run the first 3 lines of code. I was running the second last line of code |
Beta Was this translation helpful? Give feedback.
-
Hello,
I need some assistance regarding how to read a .dat Ansys Fluent simulation data file using an external reader - python. The steps below are the specifics of what I would like to achieve.
Step 1: Getting the solution data in .dat format
Step 2: Read the solution data file using python
Step 3: Modify the solution using Singular Value Decomposition
Step 4: Reconstruct the solution using a few mode coefficients
Step 5: Write the reconstructed solution from python code into another .dat file
Step 6: Read reconstructed solution into CFD post.
Step 7: Visualize the data.
My main concern is how to read and write the ANSYS Fluent solution data whose format is unique (steps 2 and 5). I would appreciate any assistance with regards to this.
Thanks,
Emmanuel
Beta Was this translation helpful? Give feedback.
All reactions