Ansys Products

Ansys Products

Discuss installation & licensing of our Ansys Teaching and Research products.

ANSYS Fluent not opening from Workbench

    • Junya Ogawa
      Subscriber

      Hi,

      I recently moved my temp folder from my C to D drive, as well as changing the temp file directory on Workbench. However, when I tried opening Fluent 2023 R2 from my Workbench, the app opens then closes itself immediately. I am not so sure how to solve this problem, or how it started in the first place.

    • Rajeshwari Jadhav
      Ansys Employee

      Hi Junya,

      Can you verify if standalone fluent is working as expected?

    • Junya Ogawa
      Subscriber

      I have tried running FLUENT by itself as an administrator, but it still experiences the same problem. I have also tried uninstalling and reinstalling ANSYS, but that does not work too.

      To add on to this, I have also ran the following commands on Command Prompt, based on a similar post made on the forum:

      set HOOPS_PICTURE=dx11
      "D:\Program Files\ANSYS Inc\ANSYS Student\v232\fluent\ntbin\win64\fluent.exe" 3d -t2

      To which Fluent did open but with the following error message:

      Auto-Transcript Start Time:  12:37:02, 20 Nov 2023 GMT Standard Time 
      Current Directory: "C:\WINDOWS\system32"

                    Welcome to ANSYS Fluent 2023 R2

                    Copyright 1987-2023 ANSYS, Inc. All Rights Reserved.
                    Unauthorized use, distribution or duplication is prohibited.
                    This product is subject to U.S. laws governing export and re-export.
                    For full Legal Notice, see documentation.

      Build Time: May 29 2023 07:58:23 EDT  Build Id: 10212  
       
      Connected License Server List:    

      *********************************************
      Info: Your license enables 4-way parallel execution.
      For faster simulations, please start the application with the appropriate parallel options.
      *********************************************


           --------------------------------------------------------------
           This is a student version of ANSYS FLUENT. Usage of this product
           license is limited to the terms and conditions specified in your ANSYS
           license form, additional terms section.
           --------------------------------------------------------------
      Host spawning Node 0 on machine "DESKTOP-91FAOKK" (win64).
      Unable to execute (null) D:\\Program Files\\ANSYS Inc\\ANSYS Student\\v232\\fluent\\fluent23.2.0\\multiport\\mpi\\win64\\intel2021\\bin\\mpiexec.exe  -n 2  -localroot -localonly -genv I_MPI_FABRICS shm -genv PYTHONHOME "D:\\Program Files\\ANSYS Inc\\ANSYS Student\\v232\\fluent\\fluent23.2.0\\..\\..\\commonfiles\\CPython\\3_10\\winx64\\Release\\python" -genv FLUENT_PROD_DIR "D:\\Program Files\\ANSYS Inc\\ANSYS Student\\v232\\fluent\\fluent23.2.0" -genv I_MPI_PIN disable   "D:\\Program Files\\ANSYS Inc\\ANSYS Student\\v232\\fluent\\fluent23.2.0\\win64\\3d_node\\fl_mpi2320.exe" -mport 127.0.0.1:127.0.0.1:52886:0 node -mpiw intel -pic default
      (null)

      I have tried to set HOOPS_PICTURE to opengl2, msw/win and opengl but to no avail. I have also updated the graphics driver to the newest NVIDA Studio and Game Driver but am still unable to open Fluent properly.

    • Rajeshwari Jadhav
      Ansys Employee

      Hi Junya,

      1. Clear the cache of the Fluent application by renaming the Ansys folder to Ansys.old (type in windows search bar %appdata% or C:\Users\username\AppData\Roaming\Ansys), rename .cfx and fluent.conf folder(C:/Users/username), relaunch the application to check if you can launch it successfully.
      2. Screenshot of the error if any?
      3. Is this issue occurring only for the CFD application, can you please check if you can successfully launch other Ansys applications too?
      4. When you launch fluent application (fluent utility) can you click on reset to default?
      5. Can you please check if any security software/ antivirus is blocking the Ansys CFD application?
      6. Can you please check if any av/security s/w is blocking it?

      >> Launch the application then, Go to Start Menu àEvent Viewer àWindows logs àApplications. Check for Error in it, send screenshot if possible.

       

    • Junya Ogawa
      Subscriber

      1) I have renamed the folders and the same error occurs (i.e., the window opens then closes itself immediately). Using Command prompt, I get the following window on Fluent:

      3) It would seem I am able to open other apps such as Discovery, Design Modeler or CFD Post, so it would seem that the problem is restricted to Fluent only.

      4) When I open the window above I can click on tabs such as Physics, User Defined etc. but not File. 

      5) The app has been allowed through Windows firewall and other antiviruses.

    • Rajeshwari Jadhav
      Ansys Employee

      Hi Junya,

      When you launch fluent, can you click on reset?

    • Junya Ogawa
      Subscriber

      As I mentioned, when I open Fluent directly the window opens then closes immediately and so I was not directed to the launcher. The screenshot in my reply was taken when I ran the following commands:

      set HOOPS_PICTURE=dx11
      "D:\Program Files\ANSYS Inc\ANSYS Student\v232\fluent\ntbin\win64\fluent.exe" 3d -t2

      I was directed to the window where I took the screenshot earlier.

    • Rajeshwari Jadhav
      Ansys Employee

      I see, can you check your event logs too?

    • Junya Ogawa
      Subscriber

      How do I access the event logs?

    • Rajeshwari Jadhav
      Ansys Employee

      Go to Start Menu -->Event Viewer -->Windows logs -->Applications. Check for Error in it, send screenshot if possible.

    • Rajeshwari Jadhav
      Ansys Employee

      run below in Command Prompt to set HOOPS_PICTURE to opengl2 or dx11 as permanent user enviornment variable: 

      setx HOOPS_PICTURE dx11

      Launch Fluent from Start. Hope it works. 

    • Junya Ogawa
      Subscriber

    • Rajeshwari Jadhav
      Ansys Employee

      try the setx command and let me know.

       

    • Junya Ogawa
      Subscriber

      I have tried running the commands:

      setx HOOPS_PICTURE dx11

      "D:\Program Files\ANSYS Inc\ANSYS Student\v232\fluent\ntbin\win64\fluent.exe" 3d -t2

       

      The same error as shown in the screenshot I send earlier occured again.

       

    • Rajeshwari Jadhav
      Ansys Employee

      Just run setx HOOPS_PICTURE dx11 in the command prompt and launch the fluent application through the start menu.

    • Junya Ogawa
      Subscriber

      I have tried that and the same error happens again; the Fluent window opens then closes immediately.

    • Rajeshwari Jadhav
      Ansys Employee

      Hi Junya,

      In C:\Users\[your user] is a folder called ‘.fluentconf/22.2.0’. There is a file called ‘preferences’. Can you delete that file? see to it that the hidden item box is checked. Also if there are any pending updates of Windows try to update them.

    • Junya Ogawa
      Subscriber

      I have deleted that file, Fluent still does not open properly.

    • Junya Ogawa
      Subscriber

      My Windows is also updated to the latest version of Windows 10.

    • Rajeshwari Jadhav
      Ansys Employee

      Can you go to .ansys folder (type %temp% in start menu) and open a file ending with the name *.FLUENT.232.out, send the screenshots of that file.

      Also, search on Google regarding your ucrtbase.dll error (event logs) that you are facing while launching the fluent application.

    • Junya Ogawa
      Subscriber

    • Junya Ogawa
      Subscriber

      Also, I have googled the ucrtbase.dll error and it says to rename the Ansys cache files in %AppData\Roaming%, would this work? Fluent still does not open.

    • Rajeshwari Jadhav
      Ansys Employee

      Hi Junya,

      Please have a fresh uninstall and reinstall. Also shorten PATH environment to just the C: Windows values.

      Once you uninstall the application delete Ansys, SpaceClaim folder (%appdata%), .ansys (%temp%) and .cfx, .fluentconfig (C/Users/username) and then reinstall the application.

Viewing 22 reply threads
  • The topic ‘ANSYS Fluent not opening from Workbench’ is closed to new replies.