Ansys Assistant will be unavailable on the Learning Forum starting January 30. An upgraded version is coming soon. We apologize for any inconvenience and appreciate your patience. Stay tuned for updates.
General Mechanical

General Mechanical

Topics related to Mechanical Enterprise, Motion, Additive Print and more.

ANSYS Mechanical:What does Error code=5 represent

TAGGED: ,

    • 2388862483
      Subscriber

      An error has occurred in the Distributed Sparse Matrix Solver while factoring the matrix.  Error code = 5.  Please send the data leading to this operation to your technical support provider, as this will allow ANSYS, Inc to improve the program. 

      I think my example should be fine, because just a day ago it was running smoothly, but it stopped calculating without warning and reported an error as above

      Can someone tell me what error code=5 represents so that I can make the corresponding adjustments? Thank you very much

    • Gary_S
      Ansys Employee

      Error code = 5 does not have a single cause, but a guess is that the input has a NaN or divide by zero. 
      Did this model solve successfully in the past?


      • 2388862483
        Subscriber

        Thank you for your reply!

        Firstly, this model has been successfully run before,This is where I am puzzled

        What I am doing is elastic-plastic large deformation finite element analysis. The model has a large number of contact pairs and a large number of grids

        Just last Saturday, the same model ran completely, but suddenly disconnected in the middle and reported an error

         ERROR: Worker process(es) with rank(s) 47 have encountered a FATAL error.
         The information below was gathered from the file*.out output file(s).
         Please review the worker process output file(s) listed below for more
         details on this error.

         Worker Process Output File .\file47.out:
         
         *** FATAL ***                           CP =  432666.188   TIME= 17:19:15
         This model requires more scratch space than available.  The program has 
         currently allocated 45704 MB and was not able to allocate enough        
         additional memory in order to proceed.  Please increase the virtual     
         memory on your system and/or increase the work space memory and rerun   
         the program.  Problem terminated.

        I can not restart it, So I cleared the data and ran it again.After running for about 4 hours and 3 load steps, the program seemed to stop running without any other signs,the error is what i showed above

        An error has occurred in the Distributed Sparse Matrix Solver while factoring the matrix.  Error code = 5.  Please send the data leading to this operation to your technical support provider, as this will allow ANSYS, Inc to improve the program. 

        Actually, a week ago, I also encountered this error code=5 error. I searched for a lot of information but didn't have a similar problem. After encountering this error, I cleared the generated data and ran it again. It miraculously ran successfully, so I don't know if it's a problem with my model or if there are other reasons

        I have experienced this error (errror code=5)several times and cannot find the reason, so I came to the forum to inquire

        If any suggestions can be provided, I would greatly appreciate them!

    • Gary_S
      Ansys Employee

      When you see this sort of error where it tries to request an unreasonable amount of scratch space, it indicates the model has become unconstrianted.
      Also, if it solves one time but not the next, it indicates instability.  

      Try using Distributed with 4 cores only. If still no go, try non-Distributed. 

       

      • 2388862483
        Subscriber

        If only 4 cores are used for solving, will it significantly reduce the solving speed?

        As for distributed computing, what I know is that turning off distributed computing will significantly reduce the solving speed, which I cannot accept.

        Therefore, based on your advice, the measure I am taking now is to enhance the constraints,I will see if this is helpful

        Thank you!

    • Gary_S
      Ansys Employee

      Yes, the suggestion use fewer cores or SMP is just a troubleshooting step for now. 
      Another thought is to confirm the solve unit systems. 

    • 2388862483
      Subscriber

      I encountered this problem again, and I don't think it's a problem with the unit system

       

       *** ERROR ***                           CP =   68647.062   TIME= 13:47:00
       An error has occurred in the Distributed Sparse Matrix Solver while    
       factoring the matrix.  Error code = 5.  Please send the data leading   
       to this operation to your technical support provider, as this will     
       allow ANSYS, Inc to improve the program.                               


       NUMBER OF WARNING MESSAGES ENCOUNTERED=          5
       NUMBER OF ERROR   MESSAGES ENCOUNTERED=          1



       ***** PROBLEM TERMINATED BY INDICATED ERROR(S) OR BY END OF INPUT DATA *****

       *** WARNING ***                         CP =   68676.859   TIME= 13:47:31
       During this session the elapsed time exceeds the CPU time by 35%.  This
       often indicates either a lack of physical memory (RAM) required to     
       efficiently handle this simulation or a particularly slow hard drive   
       configuration.  This simulation can be expected to run faster on       
       identical hardware if additional RAM or a faster hard drive            
       configuration is made available.  For more details, please see the     
       Mechanical APDL Performance Guide which is part of the Ansys Help      
       system.         

Viewing 4 reply threads
  • You must be logged in to reply to this topic.
[bingo_chatbox]