


{"id":369679,"date":"2024-06-03T22:04:17","date_gmt":"2024-06-03T22:04:17","guid":{"rendered":"\/forum\/forums\/topic\/having-trouble-importing-csv-to-cfd-post\/"},"modified":"2024-06-03T22:04:17","modified_gmt":"2024-06-03T22:04:17","slug":"having-trouble-importing-csv-to-cfd-post","status":"closed","type":"topic","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/having-trouble-importing-csv-to-cfd-post\/","title":{"rendered":"Having trouble importing CSV to CFD Post"},"content":{"rendered":"<p>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.<\/p>\n<p>I exported myheat flux and temperature distribution on the airfoil to a csv file. I selected &#8220;Line and face connectivity&#8221; 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&#8217;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.<\/p>\n<p>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 &#8220;ERROR: Invalid number of data elements supplied on line 9: expecting 8, received 4&#8221;<\/p>\n<p>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?<\/p>\n<p>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&#8217;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<\/p>\n","protected":false},"template":"","class_list":["post-369679","topic","type-topic","status-closed","hentry","topic-tag-csv-1","topic-tag-ansys-cfd-post-1","topic-tag-cfd-post","topic-tag-fluent","topic-tag-importdata-1"],"aioseo_notices":[],"acf":[],"custom_fields":[{"0":{"_bbp_subscription":["59720","39507"],"_bbp_author_ip":["184.24.96.207"]," _bbp_last_reply_id":["0"]," _bbp_likes_count":["0"],"_btv_view_count":["555"],"_bbp_topic_status":["unanswered"],"_bbp_topic_id":["369679"],"_bbp_forum_id":["27792"],"_bbp_engagement":["39507","59720"],"_bbp_voice_count":["2"],"_bbp_reply_count":["1"],"_bbp_last_reply_id":["372071"],"_bbp_last_active_id":["372071"],"_bbp_last_active_time":["2024-07-16 09:14:33"]},"test":"gregory-harringtonkratosdefense-com"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/369679","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics"}],"about":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/369679\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=369679"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}