Ansys Free Student Software

Ansys Free Student Software

Topics cover installation and configuration of our free student products.

JavaScript Runtime Error in AQWA Pre on Windows 11 (Version 24H2)

    • upendar.bobba
      Subscriber

      Hello,

      I'm encountering a JavaScript runtime error when trying to open AQWA through Workbench on a Windows 11 machine (version 24H2). The issue occurs after importing or creating geometry within the Hydrodynamic Diffraction system and then double-clicking on the model in the project schematic to open AQWA Pre. After this, I'm unable to proceed with several tasks in AQWA Pre, including:

             Adding mass
             Meshing
             Viewing the details window
      Interestingly, I’ve tested the same geometry on a different PC running Windows 10, and everything works fine without any issues.

      I’ve already attempted the following troubleshooting steps:

      Renaming the V242 folder to V242.old in the %appdata% folder, but the issue persists.
      Checked for updates to both Windows and AQWA/Workbench, with no resolution.
      Has anyone encountered a similar issue on Windows 11, and can anyone suggest any further troubleshooting steps or potential solutions?

      Thanks in advance for any guidance!

       

       

       

       

       

       

    • 21103072
      Subscriber

      I have the same issue as well have you found a way to fix it?

       

    • upendar.bobba
      Subscriber

      I haven't found a solution to fix it yet. I'll keep looking into it and let you know if I come across anything.

    • Mike Pettit
      Ansys Employee

      Hello,

      We have had a few customers reporting this issue - it seems to be related to the Windows 11 24H2 update, where the default JavaScript library version has been changed. The problems that this has caused are not limited to Ansys products! We are not sure if this was intentional, or if it is a bug in Win11, so it may or may not be resolved by a subsequent Windows update.

      Strictly, Ansys does not support Release 2024 R2 on this newest version of Windows. However, you can fix the problem for yourself (in Aqwa Workbench, at least) by following the instructions below. You will need to edit two files in the Ansys installation, and I strongly recommend that you create copies of these files before you start.

      • Close the Aqwa Workbench editor, if it is still open
      • Navigate to C:\Program Files\ANSYS Inc\v242\aisol\aqwa\AQWAPages\scripts
      • Open context_functions.js with a text editor
      • Search for the string "paramset = ", without quotes; there should be 2 places in this file
      • After each line which starts "var paramset = ..." add a new line and type "if (paramset != null)", without quotes (don't worry about adding spaces at the start of the line, javascript doesn't care about whitespace)
      • Save the file.

      Repeat these steps for ListView.js, in the same folder. There should also be 2 places. Here's the change applied for the second location in ListView.js:

      After you have made these changes, you should be able to open the Aqwa Workbench editor without any problems. Please let me know if this works for you, or if you encounter any other issues.

      Mike

Viewing 3 reply threads
  • You must be logged in to reply to this topic.