Direct Sparse Problem Size Limit

I often push up against the size limit for the direct solvers. I already find that the limit in Solidworks 2020 is higher than in 2018, but I don't know what it is without iterating mesh size.

Is the problem size limit documented anywhere?

Also, RAM is relatively cheap today. Can't the limit be pushed up in the compiled code dramatically, or made a run-time flag set by the user (with understood trade-offs)? I remember at my first job often going back to the lead developer to ask for custom compiled builds, pre-allocating more fixed space to one matrix over another - but that code was in FORTRAN 77 and our workstations had a 'generous' 32 MB of RAM.

SolidworksSimulation
Answers 6
RN
RN 2021-04-09 Best Answer

I wasn't aware of a hard cap on size so this would be interesting to find out

How much RAM does your system have? Are you sure it isn't all being used?

Task Manager doesn't always do an adequate job tracking RAM allocation so I would check the Commit and Working Set in Resource Monitor to see what is going on. Or try allocating a larger page file and see if that helps.

Have you had your VAR submit an SR for this? I can't imagine that would be intended behavior if it is failing before coming close to saturating your RAM

JS
JS 2021-04-09

As a side note to the existing replies, the SOLIDWORKS Simulation R&D team has indeed recently improved various parts of the code to allow the Intel Direct Sparse solver to handle larger problems efficiently. This is major undertaking and an ongoing effort. The status of the following SPR in the SOLIDWORKS Knowledge Base (KB) will be updated along with a 'Fixed in' release (Version & Service Pack) once this effort is complete:

SPR 993767 - "Improve Intel Direct Sparse (IDS) solver to solve problems with more than 6 million DOFs (currently 'The solver is currently running out of memory during phase-1 of static analysis' or 'Not enough memory to run model' error)"

You can select the 'Yes, but notify me when this is fixed. (SPR only)' option under 'Find what you were looking for?' to subscribe to SPR status update email notifications.

SM
SM 2021-04-09

Ah, there it is!
Had not occurred to me that any one matrix dimension might actually get that high, but I do remember staying awake through at least one lecture on the efficiency of one-dimensional matricies for some problems.

Anyway, I just ran the current problem (long slender members, lots of contact, many connectors) in the FFEPlus solver and it gave overall deflections within .1% of the 'Intel direct sparse' result which had a coarser mesh.

JS
JS 2021-04-09

It has nothing to do with RAM.  The number of rows and columns allowed in an array is limited by the maximum size of an integer that the operating system allows.  This is typically 2^31-1, which is 2147483647

From the Knowledge Base:

S-062259

Question:  Why do I receive a "Problem is too large for Direct Sparse solver. Use the Iterative Solver" error message despite having sufficient RAM?

Answer:

If the problem becomes too large, the Direct Sparse solver may overflow some integer limits while performing its calculations. Therefore, even if you have enough RAM you may not be able to run your simulation using the Direct Sparse solver.

The number of degrees of freedom that triggers the error is not a fixed number.
This number depends on many factors. For instance, the type of elements, whether the structure is bulky or slender, and the version of SOLIDWORKS you are using.
The error can happen when a problem becomes larger than 1.5 to 6 million Degrees of Freedom.

Possible solutions to this problem are:
1. using a different solver, like the FFEPlus or the Large Problem Direct Sparse solver.
2. reducing the number of degrees of freedom in the model

RN
RN 2021-04-09

It looks like this is a known issue, documented in SOLIDWORKS Knowledge Base S-073313

Summary is: High DOF problems may trigger this warning before RAM is actually saturated. No specific hard cap internally and difficult to predict what size would trigger it.