General Mechanical

General Mechanical

Topics related to Mechanical Enterprise, Motion, Additive Print and more.

Lock file-ANSYS

    • k2.karimi740
      Subscriber

      Hi there,

      I'm trying to couple ANSYS and MATLAB, but every once in a while ANSYS creates a lock file, stops everything. How can I deactivate this feature of ANSYS?

      THANKS A LOT

      Kind regards,

      K

    • George Karnos
      Ansys Employee

      Workbench implements a project locking mechanism in order to help prevent the project from being loaded into more than one session at a time. When the project is opened, a .lock file is created in the project files directory. The project is unlocked by deleting the .lock file.

      An improperly unlocked project can occur in situations such as program crash where the .lock file is not deleted, or if the project files directory is duplicated and the .lock file is copied with it.

      If you open a locked project, you are asked how to proceed:

      • If the file is locked because of an abnormal termination, such as a program crash, click Unlock.

      • If the file is locked because the project is already open in another Workbench session, click Cancel.

        Opening the same project in multiple sessions can result in corrupted project files.

    • k2.karimi740
      Subscriber

      Hi again,

      I did so, but because I’m getting automatic runs using MATLAB, I can’t delete lock file for every ANSYS file. Is there any way to deactivate this feature of ANSYS?

      Thanks a million

      Kind regards,

      K

Viewing 2 reply threads
  • The topic ‘Lock file-ANSYS’ is closed to new replies.