TAGGED: .csv, ansys-cfd-post, cfd-post, fluent, importdata
-
-
June 3, 2024 at 10:04 pmGregory HarringtonSubscriber
I am trying to calculate heat transfer coefficient (HTC) distribution of an airfoil but I dont want to use the pre-defined HTC functions in fluent/cfd-post.
I exported myheat flux and temperature distribution on the airfoil to a csv file. I selected "Line and face connectivity" so I could re-import this data as a surface later on. I then added a column to my csv file calculating the HTC at each point. The csv that I want to import back into CFD-post has 4 data columns for the spatial data: X, Y, Z, HTC. Under the dataset, there is a line that says [faces] followed by rows with 8 columns of data. I'm assuming this part is for the face connectivity so I could re-import as a surface instead of as lines or a point cloud.
Once I try to re-import back into CFD post so I could do further post-processing with my new HTC data, I get an error that says "ERROR: Invalid number of data elements supplied on line 9: expecting 8, received 4"
Of course it only received 4 because I only have 4 columns of data to create the distribution, but is it expecting 8 because of the face connectivity portion of the datasheet? How would I fix this?Also, the weird thing is if I export the csv file from cfd-post, and then reimport it without making any changes at all then it works just fine (but without the data I need). I receive the above error the second I make any changes at all to the csv. Even if it's just taking the existing data and editing 1 cell, such as adding/subtracting 1 to/from it. So if I make ZERO changes the it
-
July 16, 2024 at 9:14 amVivek PraveenAnsys Employee
Hi Gregory ,
Once you edited the file, did you make sure you saved it as csv? CSV file requires comma-separated values instead of spaces or tabs.Â
-
- The topic ‘Having trouble importing CSV to CFD Post’ is closed to new replies.
- Non-Intersected faces found for matching interface periodic-walls
- Unburnt Hydrocarbons contour in ANSYS FORTE for sector mesh
- Help: About the expression of turbulent viscosity in Realizable k-e model
- Script error Code: 800a000d
- Cyclone (Stairmand) simulation using RSM
- Fluent fails with Intel MPI protocol on 2 nodes
- error udf
- Diesel with Ammonia/Hydrogen blend combustion
- Mass Conservation Issue in Methane Pyrolysis Shock Tube Simulation
- Script Error
-
1236
-
543
-
523
-
225
-
209
© 2024 Copyright ANSYS, Inc. All rights reserved.