Ansys Products

Ansys Products

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

Fluent – CAD Configuration Manager GUI Errors out on Startup

    • AlexT_FSU
      Subscriber

      Hello,

      I'm an Applications Specialist working with a group of researchers here at my university who are trying to get ANSYS Fluent installed with CAD imports set up. Whenever I try to run the CAD Utility using the built in Mono installation, the attached errors occur. Do you all know what might be happening? For reference, I am running the following tool:

      /.../ansys_inc/v212/Tools/mono/Linux64/bin/mono

      /..//ansys_inc/v212/commonfiles/CAD/bin/linx64/ Ans.CadInt.CADConfigUtilityGUI.exe

      I've seen references to an "ansmono" program but that did not seem to be installed with the Academic package that our users have.

    • George Karnos
      Ansys Employee
      Could you please post the contents of the errorLog.txt as we are not permitted to open files.
      There are 2 ways to configure CAD.
      Reader - Does not need CAD program installed. (Can only read in parts)
      Associative/Plugin - CAD Program will need to be installed. (Changes can be made to part and seen by program)
      See the following link for CAD Platform Support:
      https://www.ansys.com/content/dam/it-solutions/platform-support/cad-support-2021-r2.pdf
      Best Regards Geo
    • AlexT_FSU
      Subscriber
      Hi Geo Certainly. I'll post the contents here between triple quotes. Thank you for the CAD Support document too, that helps a lot. We're running CentOS 8 here.
      """
      Log files is/top/level/path/redacted/ansys_inc/v212/CADConfigLogs/Latest/CADConfigurationMgr.log
      MessageLogger.logFilePath is/top/level/path/redacted/ansys_inc/v212/CADConfigLogs/Latest/CADConfigurationMgr.log
      ErrorLogger.errorFilePath is/top/level/path/redacted/ansys_inc/v212/CADConfigLogs/CADConfigurationMgr.err
      System.TypeInitializationException: The type initializer for 'Ansys.UI.Toolkit.Application' threw an exception. ---> System.ArgumentNullException: Value cannot be null.
      Parameter name: path1
      at System.IO.Path.Combine (System.String path1, System.String path2, System.String path3) [0x00003] in <99e7772254e64ba29201f69df54e9889>:0
      at Ansys.UI.Toolkit.QT.Application.SetPluginDirectory () [0x0000a] in <9f4c5c2f3917409682bcd57d61351152>:0
      at Ansys.UI.Toolkit.QT.Application..ctor () [0x00006] in <9f4c5c2f3917409682bcd57d61351152>:0
      at Ansys.UI.Toolkit.QT.UIFactory.newApplication () [0x00000] in <9f4c5c2f3917409682bcd57d61351152>:0
      at Ansys.UI.Toolkit.UIFactory.newApplication () [0x0000c] in <3b1aa900de3e4d84a0c61b9093900a45>:0
      at Ansys.UI.Toolkit.Application.InstantiateIApplication () [0x00000] in <3b1aa900de3e4d84a0c61b9093900a45>:0
      at Ansys.UI.Toolkit.Application..cctor () [0x0000a] in <3b1aa900de3e4d84a0c61b9093900a45>:0
      --- End of inner exception stack trace ---
      at CADConfigUtilityGUI.CADUtilityApp.proxyMain (System.String[] args) [0x00113] in :0
      _CADEnvironment not null
      _cadConfig constructed
      Exception caught in CADSetupTabPanel System.DllNotFoundException: Ans.QT.dll assembly: type: member:(null)
      at (wrapper managed-to-native) Ansys.UI.Toolkit.QTC.TabControl.new_ans_qt_TabControl(intptr&,Ansys.UI.Toolkit.QTC.DisposableObject/ans_qt_DisposableObject_deleted)
      at Ansys.UI.Toolkit.QT.TabControl..ctor () [0x00006] in <9f4c5c2f3917409682bcd57d61351152>:0
      at Ansys.UI.Toolkit.QT.UIFactory.newTabControl () [0x00000] in <9f4c5c2f3917409682bcd57d61351152>:0
      at Ansys.UI.Toolkit.UIFactory.newTabControl () [0x0000c] in <3b1aa900de3e4d84a0c61b9093900a45>:0
      at Ansys.UI.Toolkit.TabControl..ctor () [0x00006] in <3b1aa900de3e4d84a0c61b9093900a45>:0
      at Ansys.CadInt.CADConfigUtilityGUI.CADSetupTabPanel..ctor (CADConfigurationUtility.CadEnvironment cadEnvironment) [0x001bf] in :0 :
      Done creating new CadEnvironment
      Problem diplaying GUI System.TypeInitializationException: The type initializer for 'Ansys.UI.Toolkit.Application' threw an exception. ---> System.ArgumentNullException: Value cannot be null.
      Parameter name: path1
      at System.IO.Path.Combine (System.String path1, System.String path2, System.String path3) [0x00003] in <99e7772254e64ba29201f69df54e9889>:0
      at Ansys.UI.Toolkit.QT.Application.SetPluginDirectory () [0x0000a] in <9f4c5c2f3917409682bcd57d61351152>:0
      at Ansys.UI.Toolkit.QT.Application..ctor () [0x00006] in <9f4c5c2f3917409682bcd57d61351152>:0
      at Ansys.UI.Toolkit.QT.UIFactory.newApplication () [0x00000] in <9f4c5c2f3917409682bcd57d61351152>:0
      at Ansys.UI.Toolkit.UIFactory.newApplication () [0x0000c] in <3b1aa900de3e4d84a0c61b9093900a45>:0
      at Ansys.UI.Toolkit.Application.InstantiateIApplication () [0x00000] in <3b1aa900de3e4d84a0c61b9093900a45>:0
      at Ansys.UI.Toolkit.Application..cctor () [0x0000a] in <3b1aa900de3e4d84a0c61b9093900a45>:0
      --- End of inner exception stack trace ---
      at Ansys.CadInt.CADConfigUtilityGUI.CADSetupTabPanel.Run () [0x00000] in :0
      Run Complete

      """
      Alex
    • AlexT_FSU
      Subscriber
      Hi Geo Certainly. I'll post the contents here between triple quotes. Thank you for the CAD Support document too, that helps a lot. We're running CentOS 8 here.
      """
      Log files is/top/level/path/redacted/ansys_inc/v212/CADConfigLogs/Latest/CADConfigurationMgr.log
      MessageLogger.logFilePath is/top/level/path/redacted/ansys_inc/v212/CADConfigLogs/Latest/CADConfigurationMgr.log
      ErrorLogger.errorFilePath is/top/level/path/redacted/ansys_inc/v212/CADConfigLogs/CADConfigurationMgr.err
      System.TypeInitializationException: The type initializer for 'Ansys.UI.Toolkit.Application' threw an exception. ---> System.ArgumentNullException: Value cannot be null.
      Parameter name: path1
      at System.IO.Path.Combine (System.String path1, System.String path2, System.String path3) [0x00003] in <99e7772254e64ba29201f69df54e9889>:0
      at Ansys.UI.Toolkit.QT.Application.SetPluginDirectory () [0x0000a] in <9f4c5c2f3917409682bcd57d61351152>:0
      at Ansys.UI.Toolkit.QT.Application..ctor () [0x00006] in <9f4c5c2f3917409682bcd57d61351152>:0
      at Ansys.UI.Toolkit.QT.UIFactory.newApplication () [0x00000] in <9f4c5c2f3917409682bcd57d61351152>:0
      at Ansys.UI.Toolkit.UIFactory.newApplication () [0x0000c] in <3b1aa900de3e4d84a0c61b9093900a45>:0
      at Ansys.UI.Toolkit.Application.InstantiateIApplication () [0x00000] in <3b1aa900de3e4d84a0c61b9093900a45>:0
      at Ansys.UI.Toolkit.Application..cctor () [0x0000a] in <3b1aa900de3e4d84a0c61b9093900a45>:0
      --- End of inner exception stack trace ---
      at CADConfigUtilityGUI.CADUtilityApp.proxyMain (System.String[] args) [0x00113] in :0
      _CADEnvironment not null
      _cadConfig constructed
      Exception caught in CADSetupTabPanel System.DllNotFoundException: Ans.QT.dll assembly: type: member:(null)
      at (wrapper managed-to-native) Ansys.UI.Toolkit.QTC.TabControl.new_ans_qt_TabControl(intptr&,Ansys.UI.Toolkit.QTC.DisposableObject/ans_qt_DisposableObject_deleted)
      at Ansys.UI.Toolkit.QT.TabControl..ctor () [0x00006] in <9f4c5c2f3917409682bcd57d61351152>:0
      at Ansys.UI.Toolkit.QT.UIFactory.newTabControl () [0x00000] in <9f4c5c2f3917409682bcd57d61351152>:0
      at Ansys.UI.Toolkit.UIFactory.newTabControl () [0x0000c] in <3b1aa900de3e4d84a0c61b9093900a45>:0
      at Ansys.UI.Toolkit.TabControl..ctor () [0x00006] in <3b1aa900de3e4d84a0c61b9093900a45>:0
      at Ansys.CadInt.CADConfigUtilityGUI.CADSetupTabPanel..ctor (CADConfigurationUtility.CadEnvironment cadEnvironment) [0x001bf] in :0 :
      Done creating new CadEnvironment
      Problem diplaying GUI System.TypeInitializationException: The type initializer for 'Ansys.UI.Toolkit.Application' threw an exception. ---> System.ArgumentNullException: Value cannot be null.
      Parameter name: path1
      at System.IO.Path.Combine (System.String path1, System.String path2, System.String path3) [0x00003] in <99e7772254e64ba29201f69df54e9889>:0
      at Ansys.UI.Toolkit.QT.Application.SetPluginDirectory () [0x0000a] in <9f4c5c2f3917409682bcd57d61351152>:0
      at Ansys.UI.Toolkit.QT.Application..ctor () [0x00006] in <9f4c5c2f3917409682bcd57d61351152>:0
      at Ansys.UI.Toolkit.QT.UIFactory.newApplication () [0x00000] in <9f4c5c2f3917409682bcd57d61351152>:0
      at Ansys.UI.Toolkit.UIFactory.newApplication () [0x0000c] in <3b1aa900de3e4d84a0c61b9093900a45>:0
      at Ansys.UI.Toolkit.Application.InstantiateIApplication () [0x00000] in <3b1aa900de3e4d84a0c61b9093900a45>:0
      at Ansys.UI.Toolkit.Application..cctor () [0x0000a] in <3b1aa900de3e4d84a0c61b9093900a45>:0
      --- End of inner exception stack trace ---
      at Ansys.CadInt.CADConfigUtilityGUI.CADSetupTabPanel.Run () [0x00000] in :0
      Run Complete

      """
      Alex

    • ANSYS_MMadore
      Ansys Employee
    • MangeshANSYS
      Ansys Employee
      Error
      Please configure CAD interface in Reader mode
      "System.TypeInitializationException: The type initializer for 'Ansys.UI.Toolkit.Application' threw an exception. ---> System.ArgumentNullException: Value cannot be null." It appears you did not provide any path for CAD installation which is required for plugin mode.

      if still running into errors, then please check OS version
      cat /etc/*release
      which should show the exact patch level of CentOS 8 in use. please check if the patch level is supported in platform support document "https://www.ansys.com/content/dam/it-solutions/platform-support/ansys-platform-support-strategy-plans-sept-2021.pdf"

    • AlexT_FSU
      Subscriber
      Hello Thank you for your responses however, I think I need to clarify some things.
      1) Whenever I start the CAD Manager, the program claims that STEP file readers are configured automatically (I figured out how to do this recently...thank you for the link to the docs, that really helped), however, this error occurs in Fluent whenever I try to import the example STEP file our users gave me. For reference, I am able to import this file into an STP/STEP viewer without error:
      Error: Error occurred during import.
      Error Object: #f
      Error: Importing the selected file could not be completed. Check to make sure that the selected file format is supported. In addition, check to make sure the CAD Readers are properly configured for the format using the CAD Configuration Manager utility.
      Error Object: #f

      2) We have checked the OS version, it's 8.3.2011 which should (if I'm reading the document correctly) be supported.

      3) We should have all of the dependencies because the ANSYS Fluent GUI launches and runs without any problem and ANSYS Fluent itself works fine, it's JUST the CAD Manager that has the problem. I will go through that list and confirm though.
      Is there any documentation anywhere on the CLI for the CAD Configuration Manager and the options needed to configure ALL the possible CAD readers? I could not find any in any of the documents I've looked through. All I found was some documentation for CATIA and NX, nothing for reader versions of STEP or SolidWorks files. If I can just configure everything in reader mode, through the CLI version of the CAD Configuration manager, that would be useful.
      Thanks!
    • Rob
      Forum Moderator
      https://ansyshelp.ansys.com/account/secured?returnurl=/Views/Secured/corp/v212/en/installation/unix_cadconfigmgr.html It ought to work, and here's the link to the guide. We often switch to Fluent Meshing on Windows to get the pmdb and then copy that over to the cluster for big meshes.
Viewing 7 reply threads
  • The topic ‘Fluent – CAD Configuration Manager GUI Errors out on Startup’ is closed to new replies.