ANSYS Workbench .wrk Recovery File Retention After Successful Simulations
0 reputation · 24 Apr 2023, 18:01 UTC
The goal is to determine whether the presence of a .wrk recovery file after a simulation run signals a deployment failure or simply reflects Workbench’s retention policy.
ANSYS Workbench creates a temporary .wrk file during execution to allow automatic recovery after crashes. Documentation states the file is removed after a successful run, but it does not specify the exact timing or conditions for deletion.
In some deployments the .wrk file remains in the project directory even after a successful run, which can mislead users reading log entries that reference the file as evidence of a crash.
Because the retention policy is not exposed in the Workbench UI, it is unclear whether a lingering .wrk file indicates a failure or a normal run.
Which conditions trigger the automatic deletion of the .wrk file? Does Workbench keep the file for a configurable period after success? Can the retention behavior be modified or queried through the API or log settings?