Fluent - CAD Configuration Manager GUI Errors out on Startup

AlexT_FSUAlexT_FSU Member Posts: 1
edited October 25 in Ansys Products

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.


Also, these may be simple questions but does ANSYS require that an installation of each CAD format being configured also exist on the same system as ANSYS Fluent? (i.e. does ANSYS Fluent have stand-alone CAD configurations or do they depend on full installs of the corresponding CAD package?)

Lastly, does ANSYS Fluent have a means to import CAD file exchange formats like STEP files?

Thank you!

Sincerely,

Alex

Answers

  • Geo KarnosGeo Karnos Posts: 504Ansys Employee
    edited October 27

    @AlexT_FSU

    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.

    1. Reader - Does not need CAD program installed. (Can only read in parts)
    2. 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_FSUAlexT_FSU Posts: 4Member

    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 <b0c9c29ffb1f4f979343e0ca2f9477c8>:0

    _CADEnvironment not null

    _cadConfig constructed

    Exception caught in CADSetupTabPanel System.DllNotFoundException: Ans.QT.dll assembly:<unknown assembly> type:<unknown 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 <b0c9c29ffb1f4f979343e0ca2f9477c8>: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 <b0c9c29ffb1f4f979343e0ca2f9477c8>:0

    Run Complete


    """

    Alex

  • AlexT_FSUAlexT_FSU Posts: 4Member

    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 <b0c9c29ffb1f4f979343e0ca2f9477c8>:0

    _CADEnvironment not null

    _cadConfig constructed

    Exception caught in CADSetupTabPanel System.DllNotFoundException: Ans.QT.dll assembly:<unknown assembly> type:<unknown 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 <b0c9c29ffb1f4f979343e0ca2f9477c8>: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 <b0c9c29ffb1f4f979343e0ca2f9477c8>:0

    Run Complete


    """

    Alex

  • MangeshANSYSMangeshANSYS Posts: 35Forum Coordinator

    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_FSUAlexT_FSU Posts: 4Member
    edited November 4

    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!

  • RobRob UKPosts: 11,714Forum Coordinator

    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.

Sign In or Register to comment.