We have an exciting announcement about badges coming in May 2025. Until then, we will temporarily stop issuing new badges for course completions and certifications. However, all completions will be recorded and fulfilled after May 2025.
Ansys Free Student Software

Ansys Free Student Software

Topics cover installation and configuration of our free student products.

Ansys Fluent, Error Opening Meshing in Mechanical

    • jdch232
      Subscriber

      Hello,

      I receive this error anytime I open Mechanical to mesh a project. This only happens on new projects. And I can still interact with and generate an initial mesh for the geometry (created using DesignModeler), I just can't see it. This was happening a few weeks ago and I wasn't sure what to do, but it stopped and I was never sure why. Now it's come back. I'm not sure what I'm doing wrong. Would anyone be able to help?

      I'm using Ansys 2025 R1 Student version and Windows 11 24H2. I've seen a few things saying W11 24H2 isn't yet supported for 2025 R1, but I think they were outdated since I was able to use it just fine previously.

    • CFD_Friend
      Ansys Employee

      Hi,

      This error is due to the latest Windows 11 build 26100. In some places in the code, its allowing a null pointer to be passed to a COM method, which is not allowed any more. The fix is to test the pointer before calling the method from the script. For example:

       

      old code

      var paramset = aqwaApp.Applet.App.ParameterSet;
      aqwaprojmgr.SendUpdateOutputParameters(paramset);

       

      new code

      var paramset = aqwaApp.Applet.App.ParameterSet;
      if (paramset != null) {
         aqwaprojmgr.SendUpdateOutputParameters(paramset);
      }

       

      The workaround is to either rollback to previous build of Windows or look for the string showing in the error message in the scripts under C:\Program Files\ANSYS Inc\v2xx\aisol\DesignSpace\DSPages\scripts folder. For example, in the screenshot attached the string is “g_UIHandler.TreeHandler.RemoveAndFillChildNodes(parentNode);” in the error message. Find this string in the scripts then add the lines highlighted in yellow around it to make sure that the variable value is not null. In this case, the variable is parentNode instead of paramset.

      • jdch232
        Subscriber

        Hello, thank you for your reply. Though I'm still confused by this. Why did it work suddenly a few weeks ago but then not now?

        And regarding adding this line to the script, using Notepad I found these lines in the DSTreeScript.js file. I'm unsure of the exact syntax, but it seems a version of this line is already there?

         

Viewing 1 reply thread
  • You must be logged in to reply to this topic.