Fluids

Fluids

CFX: ERROR #001100279 – (malloc) Not enough space

    • Leonardo Melo
      Subscriber

      running ansys student 2023/r2 on windows 10 64:

      hi everyone, can someone point to how do i fix this error? solver is giving me this after a few hours running. already tried running as "double precision", "large problem", and putting either higher and lower memory allocation factor on partitioner, solver and interpolator settings. also tried a different machine with more ram and hdd.

      +--------------------------------------------------------------------+
       | Writing transient file 185_full.trn                                |
       |   Name   : Transient Results 1                                     |
       |   Type   : Standard                                                |
       |   Option : Timestep Interval                                       |
       +--------------------------------------------------------------------+
       
       +--------------------------------------------------------------------+
       | ERROR #001100279 has occurred in subroutine ErrAction.             |
       | Message:                                                           |
       | insert_index: (malloc failed) syserr:: Not enough space            |
       |                                                                    |
       |                                                                    |
       |                                                                    |
       |                                                                    |
       |                                                                    |
       +--------------------------------------------------------------------+
       
       +--------------------------------------------------------------------+
       | ERROR #001100279 has occurred in subroutine ErrAction.             |
       | Message:                                                           |
       | iocnt: can't insert index without sorting                          |
       |                                                                    |
       |                                                                    |
       |                                                                    |
       |                                                                    |
       |                                                                    |
       +--------------------------------------------------------------------+
       
       +--------------------------------------------------------------------+
       | ERROR #001100279 has occurred in subroutine ErrAction.             |
       | Message:                                                           |
       | WriteLong: insert index failed: what=G/FLOWS/MOM_FL1 where=ZN1/FS- |
       | 23416                                                              |
       |                                                                    |
       |                                                                    |
       |                                                                    |
       |                                                                    |
       +--------------------------------------------------------------------+
       
       +--------------------------------------------------------------------+
       | ERROR #001100279 has occurred in subroutine ErrAction.             |
       | Message:                                                           |
       | iif_create_empty: error allocating new index: malloc of 2560256 b- |
       | ytes failed                                                        |
       |                                                                    |
       |                                                                    |
       |                                                                    |
       |                                                                    |
       +--------------------------------------------------------------------+
       
       +--------------------------------------------------------------------+
       | ERROR #001100279 has occurred in subroutine ErrAction.             |
       | Message:                                                           |
       | iocnt: open the primary file failed                                |
       |                                                                    |
       |                                                                    |
       |                                                                    |
       |                                                                    |
       |                                                                    |
       +--------------------------------------------------------------------+
       
       +--------------------------------------------------------------------+
       | ERROR #001100279 has occurred in subroutine ErrAction.             |
       | Message:                                                           |
       | OpenFile: open primary file failed                                 |
       |                                                                    |
       |                                                                    |
       |                                                                    |
       |                                                                    |
       |                                                                    |
       +--------------------------------------------------------------------+
      
       +--------------------------------------------------------------------+
       |                An error has occurred in cfx5solve:                 |
       |                                                                    |
       | The ANSYS CFX solver exited with return code 1.   No results file  |
       | has been created.                                                  |
       +--------------------------------------------------------------------+
      
      End of solution stage.

      never had this happen before so im kind of lost.

      thanks in advance

    • NickFL
      Subscriber

      Very strange error at this part of the solution. You don’t have to increase the memory allocation for the partitioner or the interpolator stages as you are solving here. What did you put for a factor for the solver stage (you want higher, maybe 2 or even 5 if your machine allows it)? Do you have a large number of interfaces?

      Did it complete writing the transient results file 185_full.trn? Is there anything fishy in that results file?

      The line: “OpenFile: open primary file failed” makes me think there is potentially something wrong with ability to write to disk. You mentioned that you tried on two machines, so it is not HD space. You do not have any “funny” characters in the path like ößµ or anything, right? But if it was writing transient results until 185 that wouldn’t make sense.

      Conclusion, I would just increase the memory factor for the solver until my computer doesn’t have any more memory. Why it worked for the earlier transient results and not now, I cannot speculate without knowing more about the model.

      You don’t have any mesh adaptation on by chance?

      • Leonardo Melo
        Subscriber

        hi, thanks for the answer. i tried making it 5, and nothing changed. i have a large number of faces, its a complex 3d geometry that acts as a barrier to water in a tube. when I run the model with 1 of the geometry, it works fine. this problem began when I put a second geometry in series with the first one. each solid has ~18k faces. its heavy, but i see no problem.

         

        here is my last output.txt, if that helps: https://we.tl/t-tQpV8f4hDt

         

        i tried two machines, 1tb hdd space, 16 and 32gb ram respectively, and nothing changes. tried maximizin memory alocation factor up to 5 and still have the error. 

         

        i dont have any mesh adaptation, not sure but i think this is used in fluent only? im using cfx.

         

        thanks!

    • NickFL
      Subscriber

      My guess is that it has to do with the particles. You keep adding them to your domain and they aren't finding the exit. You are also using a student license near the max cell limit. Maybe there is a limit to how much memory allocation is allowed with the student version and with the mesh and particles you exceed it. This is not definite, maybe an ANSYS Support can answer here.

      Do you have access to an Research license? Maybe try it there where you don't have these restrictions. 

      One more (lesser) possiblity, it could be the adaptive timstep. Try using a fixed value. 

Viewing 2 reply threads
  • You must be logged in to reply to this topic.