General

General

Method to move .res and .out files from temp directory to project directory and have Solution cell be up-to-date.

    • FAQFAQ
      Participant

      Occasionally, CFX in Workbench will not transfer files back to the project directory from the temp folder correctly, showing the run as failed in the Workbench project. This appears as a yellow lightning symbol with an X in the Solution cell. The .out file will show errors similar to the following: “The solver failed with a non-zero exit code of : 2” +——————————————————————–+ | The results from this run of the ANSYS CFX Solver have been | | written to //CLUSTER123/temp/zm5y4g2f.2ln/Fluid Flow CFX_001.res | +——————————————————————–+ The .res, and .out files exist in the temp folder and can be recovered. The following procedure can be used to import the .res, .out file into the project directory and have the solution shown as up-to-date. It is important to follow all the steps exactly. Simply copying the files to the project directory will not work. 1. Move the *CFX_001.out and *CFX_001.res to some other folder(e.g. the user_files folder of the project). 2. Start your CFX run in the same way you did before. After 1 iteration, stop the run. 3. Replace the *CFX_001.out and *CFX_001.res files just created in your project with the files you ran earlier. The solution cell of your project should still show being up-to-date as we didn’t add any new files or edit any files, we just swapped out files with the same name. 4. Save your project.