Fluids

Fluids

Topics related to Fluent, CFX, Turbogrid and more.

Execute Workbech on Ubuntu

    • David_SY
      Subscriber

      Hello,
      I have an issue for Workbench with below:
      Ansys: 2022R2 and 2022R1
      Ubuntu: 20.04

      I see many other people had the same issue. I followed the answer in Forum but it did not work.
      The error is as below:

      Unhandled exception caught :
      System.DllNotFoundException: Ans.QT.dll assembly: type: member:(null)
      at (wrapper managed-to-native) Ansys.UI.Toolkit.QTC.Application.ans_qt_Application_setPluginDirectory(intptr,string)
      at Ansys.UI.Toolkit.QT.Application.SetPluginDirectory () [0x000d1] in :0
      at Ansys.UI.Toolkit.QT.Application..ctor () [0x00006] in :0
      at Ansys.UI.Toolkit.QT.UIFactory.newApplication () [0x00000] in :0
      at Ansys.UI.Toolkit.UIFactory.newApplication () [0x0000c] in <3d00ca1c00134e6f8cbdeabb60d40546>:0
      at Ansys.UI.Toolkit.Application.InstantiateIApplication () [0x00000] in <3d00ca1c00134e6f8cbdeabb60d40546>:0
      at Ansys.UI.Toolkit.Application..cctor () [0x0000a] in <3d00ca1c00134e6f8cbdeabb60d40546>:0
      --- System.TypeInitializationException: The type initializer for 'Ansys.UI.Toolkit.Application' threw an exception.
      at Ansys.UI.UIManager..ctor () [0x00055] in :0
      at Ansys.UI.UIManager.get_Instance () [0x00023] in :0
      at Ans.Program.Runtime.InitializeSplashScreen () [0x00057] in <533ef4cf2ec54545830ecf48d3de026d>:0
      at Ans.Program.Runtime.Initialize (Ans.Program.RuntimeSettings settings) [0x0021a] in <533ef4cf2ec54545830ecf48d3de026d>:0
      at Ans.Program.ExecutableBase.Run (Ans.Program.CommandLineParse parser) [0x0000d] in :0
      at Ans.Program.ExecutableBase.DoMain (System.String[] args) [0x000be] in :0

    • DrAmine
      Ansys Employee

       

       

      Ansys is not supported on all Ubuntu versions: Platform Support and Recommendations | Ansys

      Can you please provide more details on the Ubuntu versions and the kernels installed?

       

       

    • David_SY
      Subscriber

      Hello,

      Ubuntu: Ubuntu 20.04.4 LTS

      Kernel: Linux 5.14.0-1049-oem

      According to the Platform Support document, Workbench (I am trying to mesh) is supposed to be supported on Ubuntu LTS 20.04.

      Thanks.

       

       

       

    • George Karnos
      Ansys Employee

       

      I believe this to be a problem with prerequisites…
      Please check the Linux Installation Guide, Chapter 2. section 2.1. for Required Libraries.
      There are tables that list the reuired library packages for Ubuntu (Last column)

      Verify that they have all been installed.

      Hope this helps!

       

    • David_SY
      Subscriber

      Hello,

      I installed all prerequisite libraries in the list of Ansys Document, but it still does not work.

      Any idea?

    • DrAmine
      Ansys Employee

      Are you able to launch Fluent or CFX outside the Workbench? Any error messages in the in the installaiton log file?

    • David_SY
      Subscriber

      I installed the following libraries and now the issue seems to have been resolved:

      sudo apt install lsb

      sudo apt install alien

       

      Thank you for your time and help!

    • DrAmine
      Ansys Employee

      lsb is always mandatory and thanks for updating the thread! That is very useful!

Viewing 7 reply threads
  • The topic ‘Execute Workbech on Ubuntu’ is closed to new replies.