{"id":161519,"date":"2023-01-25T07:16:12","date_gmt":"2023-01-25T07:16:12","guid":{"rendered":"\/knowledge\/forums\/topic\/how-to-fix-a-corrupted-file-index-table-in-a-cfx-res-file\/"},"modified":"2023-07-31T12:35:26","modified_gmt":"2023-07-31T12:35:26","slug":"how-to-fix-a-corrupted-file-index-table-in-a-cfx-res-file","status":"publish","type":"topic","link":"https:\/\/innovationspace.ansys.com\/knowledge\/forums\/topic\/how-to-fix-a-corrupted-file-index-table-in-a-cfx-res-file\/","title":{"rendered":"How to fix a corrupted file index table in a CFX res-file?"},"content":{"rendered":"<p>The following error message of the solver indicates a corrupted file index table: Error reported by IO module: write_index: fwrite failed writing format: Bad file descriptor     An error has occurred in cfx5solve:     Error reported by IO module: iif_flush: write_index failed     An error has occurred in cfx5solve:     Error reported by IO module: cfxwriteString @ 734: (fputs failed) systerr::     Bad file descriptor  This can be fixed by extracting and writing back the CCL with the following commands:     cfx5cmds -def name.res -read -ccl ccl.dat     cfx5cmds -def name.res -write -ccl ccl.dat  Keywords: CFX, solver, restart, initialization, res, CCL, stop<\/p>\n","protected":false},"template":"","class_list":["post-161519","topic","type-topic","status-publish","hentry","topic-tag-2020-r2","topic-tag-ccl","topic-tag-cfx","topic-tag-fluid-dynamics","topic-tag-general","topic-tag-general-cfx","topic-tag-initialization","topic-tag-res","topic-tag-restart","topic-tag-solver","topic-tag-stop"],"aioseo_notices":[],"acf":[],"custom_fields":[{"0":{"_wp_page_template":["default"],"_bbp_forum_id":["27796"],"_bbp_author_ip":["23.56.168.180"],"_bbp_last_active_time":["1-24-2023  20:20:08"],"_btv_view_count":["1533"],"siebel_km_number":["2063300"],"product_version":["2020 R2"],"km_published_date":["2020-09-11T13:53:30.000Z"],"family":["Fluid Dynamics"],"application_name":["CFX"]},"test":"articlesansys-com"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/knowledge\/wp-json\/wp\/v2\/topics\/161519","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/innovationspace.ansys.com\/knowledge\/wp-json\/wp\/v2\/topics"}],"about":[{"href":"https:\/\/innovationspace.ansys.com\/knowledge\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/innovationspace.ansys.com\/knowledge\/wp-json\/wp\/v2\/topics\/161519\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/knowledge\/wp-json\/wp\/v2\/media?parent=161519"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}