News

Solidworks Simulation Benchmarks (for Real Studies) – 2022 Edition

It’s been a while since we ran new benchmarks on simulation problems. It also took Intel a well-documented long time to get a new architecture and process on the market. After many hours checking new processor release dates and rumored specs, while waiting on studies to run, we finally got a new desktop system. We were holding out for a “4th Generation Xeon Scalable” rig, but settled on a “12th Generation Core” system at an attractive price.

High level specs on this new box include an Intel Core i7-12700k processor, 2 TB NVMe main drive, nVidia RTX 3080 graphics, and 128 GB of DDR5 memory. After setup and a quick stress test benchmarks were the first order of business. Again standard Passmark tests were run and then the same sim models we ran in Solidworks 2018 were run in Solidworks 2020.

The old benchmark article, from December 2018, can be found here.

Subject systems still available to bang on are the 6th generation 6700K, a 9th generation 9800X, and of course the new 12700K. The basic specs and synthetic benchmark results are tabulated below.

The 12th generation chip, finally made on a true 10 nm process, shows a great leap in raw performance. Gritty details can be found all over the internet about the details of the new chip. We noted that they took advantage of the smaller process to pack larger local caches into the die. High level Intel documents talk about added cleverness in ordering and streamlining operations. Busses to memory and storage are faster and wider. Then there’s the whole P-core and E-core hybrid design added to the system.

But the real test of all that brute power and cleverness is in performance on real problems. So we return to the same problems as before.

This large solid block with lots of internal detail is used to check mesh speed and solve time with an iterative solver.

This artificial test problem is used to test run time with contacts in a direct solver.

This reach-lift assembly, with an overly fine mesh, gives us the longest run times, with lots of contact and connectors.

The Solidworks Simulation 2020 results are first compared to the available results from 2018.

We note that Solidworks 2020 uses a bit more RAM for each operation, we assume in a trade-off for calculation speed. This is reasonable with memory prices dropping logarithmically through recent years (though at this writing DDR5 is still a bit precious).

The processor models aren’t labeled on that table, but one can readily guess that the bottom line is the 12700K. We are very impressed with the results. Solve times are basically halved, using an inexpensive mainstream processor. To visualize this here are more traditional benchmark charts.

Run times are getting faster, and this is a problem! Our production analyses are getting down to where there isn’t even time to go get a cup of coffee or catch up on important forum posts.

In all seriousness, we’re used to having time to look over new results and integrate them into a running report, possibly discussing updates with a client, before the next iteration runs. We’ll have to work on a new scheme of time management, and throw a bone to the dog who used to get played with more while the computer cranked.

[Notably absent here are results for AMD systems and newer version of Solidworks. We’re still an Intel shop, as other testers have found the AMD architectures poor for Solidworks mechanical sim, though those tests are dated. Solidworks 2021 posed new challenges, with badly documented changes in the interface and some apparent bugs that Dassault has not resolved with us, and we just haven’t tried 2022 yet. If anyone wants to try it, the smaller direct solve study is available here. We’d be happy to see new results.]

Stone Lake Adds Ansys Mechanical

The proven power of the Ansys Mechanical suite of simulation tools has been added to Stone Lake’s toolbox. This investment allows us to add capability for the toughest problem sets and to interface with other high-end engineering tools.

In particular Ansys will help us better to:

  • Work directly with complicated and finely detailed models, with reduced prep work,
  • Import thermal loads and other bulk data from external sources,
  • Improve definition of the details of contact problems,
  • Pull out more detailed reaction force information from contacts, and
  • Better control model precision around key areas.

A new specialties brochure illustrates how Ansys is used in analysis of high pressure die cast tool sets.

Solidworks Simulation for Real Machines

Recently published by Stone Lake Analytics is this example-filled guide to modeling of multi-component machines.

The principles and techniques detailed are not restricted to Solidworks. Users of most contemporary FEA tools can gain insight from this work. Engineering managers will learn what can be accomplished in fundamental linear-static tools.

The book is an illustration of Stone Lake Analytics’ capabilities and expertise.

Case studies progress through a series of mechanical assemblies. Machine elements from simple pins to chains-over-sheaves to pairs of fluid cylinders are represented in different ways.

Human and computer costs are compared for different solutions against trade-offs in accuracy and presentation.

Color paperback and e-book available from Amazon and select retailers.

Models used in the book can be downloaded here,

Mesh Density Challenge 2 of 2

In the previous piece we looked at beam bending with solid and hollow sections, with different numbers of elements across the body or the wall thickness. Here we switch from bending to torsion. In torsion open shapes behave very different from closed sections.

By closed section we mean something like the cylinder below. The section is made “open” by cutting a lengthwise slot through the entire length [the classic example for this is to take a whole toilet paper tube then cutting it once and seeing the difference in twisting stiffness].

The cylinder is fixed on the left end. A pure torque is applied to the right end face. The second shape shows the slot cut and a split which cuts the shape into two bodies.

Again we mesh the body first with linear elements, then second order elements. The body is split to force multiple elements through the thickness at the same mesh settings. Since a closed cylinder is very efficient in torsion displacements are very small and we won’t plot displacement here.

Results on the cut cylinder follow. Even with coarse linear elements the result looks realistic.

But when we use high quality mesh the body is much more flexible. Stress predictions also change significantly. The extremely fine mesh result is our reference.

Tabulation of results shows again that the use of second-order elements goes a long way toward delivering ideal results.

The engineer knows that asymmetric open sections are very poor in torsion, but sometimes that loading has to be borne. A simple C-channel is modeled and split into two or four bodies.

The setup has the left end fully constrained again. The right end has a moment applied by opposing forces along the top and bottom edges.

Stress results follow a now familiar pattern. With a coarse linear mesh the stress pattern is ‘lumpy’ and the deflection is very low.

Viewed end-on the relative deflection is readily compared.

Twist of the high quality meshes is much greater at any density.

The tabulation shows the advantage of the “high-quality” mesh. In this case the mesh density needs more than two elements across the thickness to bring good results.

In conclusion we find that relatively coarse solid meshes with second-order elements usually provide good results in Solidworks Simulation. Relative importance of mesh density varies with local loading conditions. It is advisable to run mesh sensitivity studies, at least on any new class of problem. Our usual practice is to get what we think is a good result, then near then end of the project bump up the mesh density on one study to the maximum practical mesh size. After a long (maybe overnight) run, the results are compared to check that there is not a large divergence.

Mesh Density Challenge 1 of 2

The claim comes up often when a FEA result is presented, “You need to have multiple elements across that wall!” Well, do you? It may be important to good simulation results. We’ll look here at when it matters and how modern tools can put us at ease.

The “when it matters” is a questions of both application and point in history. Some readers will remember the ‘dark ages’ of manually generating finite element meshes in Hypermesh on a 16 megabyte workstation, setting up command line batch runs that ran overnight and took all day to visualize. In those days computer memory and compute cycles were precious. Nodes and elements, usually linear, had to be placed efficiently or human and machine resources were overtaxed or tied up for overly long. Today computer resources are vastly cheaper while human time is ever more precious.

The “when it matters” of application depends on the geometry and loading. The purpose of a dense mesh is to capture important gradients in a solution. In structural problems we’re looking primarily at stress gradients and total displacements. In “boring” areas of nearly constant stress, coarse meshes are adequate. Good displacement results may require finer meshes even over smooth stress fields.

Here we will look at bending problems, starting with a simple solid bar. It is fixed on the left and loaded vertically on the right, a textbook cantilever.

This bar is split two or four times to force mesh refinement across the bending thickness. For reference an extremely fine mesh is also put on the body.

Deformed stress results are shown for meshes with linear elements. Total deflection clearly increases with mesh density, as the stress field becomes smooth.

The same setups are run with Solidworks’ default “high quality” elements. Even with no refinement deflection is near as expected and the stress pattern is reasonable [stress color scales are all auto-scaled].

We can quickly discuss the issues here. With one element across the thickness, each tetrahedral element has one three-node face in tension or compression, and the opposite single-node vertex loaded the opposite direction.

Adjacent elements are loaded in opposite orientations. While the solver author has options in difference calculations (node centered vs. volume centered, etc), linear elements simply cannot resolve the stress gradients here. And if the base of one element is swelling next to the peak of another that is shrinking, that is another conundrum for the solver. It should be clear why tetrahedral elements especially are known for being “too stiff”. Rectangular brick elements would be better, but still cannot truly bend in one layer across the thickness of a beam.

The results are summarized below. “ref vm” is the probed stress; “max dy” is deflection at the cantilever tip. The last stress plots show the typical stress probe location, and illustrate ‘lumpiness’ in the stress result with linear versus second-order elements.

Taking the extremely fine result as reference, the coarse linear mesh badly under predicts stress and deflection. Switching to second-order elements immediately improves the result. Doubling and quadrupling the mesh size barely affects the stress results and just nudges the total deflection. But if we stick with the linear elements progress toward a smooth and flexible solution is painfully slow.

If bending is the primary load, an engineer will consider a shape like an I-beam. Here we have a simple beam with the flanges solid or split. We will repeat the meshing exercise, linear and second-order elements generated at different densities across the flanges.


Right away we should realize a difference from the coarse mesh solid bar. Even with the coarsest mesh, the elements loaded in tension are separate from those loaded in compression.

Now the linear element meshes all perform in a realistic way.

Response of the higher quality meshes can be differentiated in the numbers.

In compound or unknown loading, a closed section is the best choice. For comparison we will stick with a bending load and split the top and bottom faces.

Again the stretched and compressed faces are separated so linear elements give reasonable looking results.

With high quality elements the body is a little more flexible.

The stress results are pretty good even for the coarse draft mesh. The high quality mesh gives good displacement results even from the coarsest version.

What does this mean for the modern user? A mainstream workstation can solve multi-million element structural problems in main memory, and we often use direct solvers in Solidworks to breeze through 800,000 element setups in minutes. User time is much more valuable than computer time. We generally encourage people to stick with solid meshes and let the element count run up.

The challenge remains when long or thin portions of components are included. On high aspect ratio parts the element count can get extreme and Solidworks still does not give us tools to handle these sections efficiently. But we demonstrated here that coarse solid meshes on these “boring” connector sections can give usable results. Solidworks developers did us a huge favor by settling on the second order tetrahedral element, maximizing flexibility while retaining ease of fast automatic meshing. The user should focus mesh refinement on areas of detail and structural interest, like weld joints and contact interfaces.

In these studies we looked only at bending problems. There’s reason to wonder it torsion of long members might work differently. So we look at that in part two.
https://www.stonelakeanalytics.com/2020/11/09/mesh-density-challenge-2-of-2/

Sample Report – Reach Boom

Most of our work is proprietary to Stone Lake clients. It’s rare that we get a chance to share examples of what we’re doing. So we put some time into designing a realistic machine, one which requires some of the best techniques in our tool box, to write a report for public access.

In this study a telescoping crane boom is loaded at extension in several orientations and configurations. The overlap between sections is varied and resultant hardware forces tabulated for each loading.

The published report is meant to be an example for potential clients to know what Stone Lake expects to create as a final deliverable. Go to the sample report page to get a complete copy.

The Pin is Dead – Long Live the Pin!

Previously we wrote about the use of the pin connector in Solidworks simulation. It’s a great aid in fast modeling of machines with connected parts, but we highlighted a shortcoming. The pin connector in Solidworks has always mapped surfaces onto sets of rigid cylinders for simulation. This allows the intended connection and articulation, but hurts accuracy of stress results immediately around the pin.

We also noted that there was a problem in Solidworks 2018; the pin formulation was improved to allow connection of more than two cylinders, but in many cases the connector no longer permitted free rotation where expected, like over a sheave. For Solidworks 2020 improvements to the connector were promised. A fix was delivered, and a whole lot more.

The previous post is at:
https://www.stonelakeanalytics.com/2019/07/07/connector-or-crutch/

In the example model, this bushed joint was modeled in full no-penetration contact, and with the joint considered as one pin connector. When using a pin connector, the stress result did not show a serious concentration at the thin wall of the grease fitting hole.

We found that using full no penetration contact showed a much higher (and realistic, based on real experience with very similar geometry on a broken machine) stress, at a cost of a sixty-fold increase in run time [25 minutes vs 24 seconds].

The first thing we did with Solidworks 2020 was to verify that the pin connector now allows rotation when desired. But now we’ve explored the rest of the new functionality of the joint; the pin connector doesn’t have to be a rigid body any more. In the connector setup there is a new option – the “Distributed” connector type.

We can still pick multiple cylinders, but there’s a new formulation available for how those cylinders become related. A little more detail is available in the Solidworks help files. The real question is how does it affect our results?

Now we can see the distinct stress concentration expected in the thin wall. The surface of the pin bore in the arm is now free to stretch realistically away from the pin diameter.

The next question is how does it affect run times? Remember that running full contact on this model took dozens of times longer. Converting all the pins here to “distributed” increased run time by just 30% [25 seconds versus 19 seconds (fresh runs on a different computer)].

The new pin formulation is used for bolt connectors also. In an example for our forthcoming book we have a welded bracket bolted to a base with four through-bolts with nuts. In one study we modeled the bolts and nuts as solids.

The nut is fixed on the bolt with a pin connector, either with the old rigid pin or the new distributed connector. The pair is in no penetration contact with the bracket and base. This arrangement is the only way to get the most accurate picture of stresses near and through the bolt.

With the legacy pin connector there is no stress shown through most of the solid bolt. With the new formulation a classic stress field is seen through the shank.

Now instead of literal solids we try it with the bolt connector. This won’t show any internal stresses in the bolt, but does allow us to input bolt pre-load and correctly account for bolt stretch during loading. Results are shown with the classic bolt connector and with the new distributed style.

With the old style bolt stresses around the bolt holes are about constant. Using the new distributed bolt more of the expected variation can be seen. We’re going to keep working with this; look for more information in Solidworks Simulation for Real Machines, due out in early 2020.

We have what looks a great new tool for accurate simulation of bolted assemblies and machines. The user is encouraged to experiment within their applications to see what the new bit of kit can do for good and fast results. Stone Lake will continue to work toward quick turnaround of reports that show clients what’s really going on in their products.

Friction Clamping in Simulation

A question was recently posed in the Solidworks user forums about trouble solving a tough problem. A two-piece clamp-on bracket is bolted to itself on a length of pipe. Some live load is mounted to the bracket. The problem is trying to simulate the load on the bracket, which stays on the pipe only by friction.

I do a lot of contact analysis. I have found friction to be a tough thing for static solvers, but it does work. However, where I’ve wanted to use friction, I often realize that the objects staying together is an assumption of the problem in the first place. I’ll usually bond one contact pair, let the others slide, and go back to check resulting forces after getting a good solve.

This post got me thinking and I went ahead and made a couple models to tinker with.
The first question is – Can Solidworks Simulation solve a model with friction as the only restraint on loaded bodies?

Yes is the answer.

Here a bolted pipe clamp is loaded only by gravity. For stability one vertex is constrained in one plane. With a coarse mesh and global no-penetration contact it solves in a few minutes. (It’s better to split surfaces and assign contact manually in discrete pairs; that gives both more control and more information about what’s going on.)

But lets look at it another way – assume that the static friction is sufficient. If it’s not, the design has failed and the static solver cannot give an answer anyway. Remember that coefficient of friction is an input. You make it up, based on something external to the simulation.

So we bond one or more of the mating pairs.

It takes almost an hour to solve, with loads applied in addition to gravity.

The bolt preload may be too much for these shapes (half inch bolts ‘looked’ right, but here is where a series of quick simulations can readily improve a design!). But the stress pattern and deflection are totally reasonable.

Having manually assigned contact pairs, we can check the normal and supposed friction force at each.

There might not be enough friction on the back side (at 0.2 CF). Pre-load is reduced on the front, but friction is not called for there. A similar check on the bottom four contacts shows they probably hold. But all of this depends on how good we think the friction is.

There are other way to look at this. One could put a prescribed displacement at the load, based on a best guess. What displacement? Try a fully bonded solve with live forces then use that resultant displacement.

We don’t yet have a fully ‘loose’ solution, with nothing but pure no-penetration contact. But with an honest approach we can get a much easier solution that does validate the design, if it is actually valid.

Connector or Crutch?

Most FEA tools have a toolbox of handy features one can use to simulate mechanical elements. When not all the hardware in an assembly is modeled, or modeled badly, or modeled such that it makes interferences that must be resolved, these tools are as handy as a big hammer when the manual says “slip fit”.

We use a great many of the “pin” connector in Solidworks Simulation. Where holes (and/or shafts) are meant to be aligned or a body is supposed to have free rotation* it’s just a couple clicks to get the relationship established in Sim. Forces are transmitted cleanly and system response can be predicted well. But there is a catch – nodes on the hole or shaft walls are locked into relative position on the original theoretical cylinder. This has implications, locally at least.

[* in Solidworks 2018 the pin connector tool was improved to allow selection of more than two cylindrical surfaces, but free-rotation of the bodies was broken; a fix is promised for 2020.]

The following story is illustrated on a bespoke model, but inspired by a real story from a client who has some broken parts.

A small lift is modeled. A hydraulic cylinder raises and lowers an A-frame which has a shackle installed on the pointed end. The cylinder shell and the wide ends of the A-frame mount to a solid casting by pins through double-clevis joints. The assembly is about 18 inches tall with a 14 inch reach.

Most of the pin connections are plain bearings, and fairly loose. But it was decided that the rear joints of the A-frame should be tight, have brass bushings, and be greaseable. So the bore through the A-frame arms is larger, and there is a cross-drilled hole for a threaded grease fitting.

The customer wants to lift a two ton load, which is known to swing some. For our studies a 5000 lbf force is used, angled a bit to the right.

All the hardware came in the model, accurate (yay), not-overly-detailed (bonus), centered (wow), and close-fitting (excellent for contact analysis). But the fastest way to set it up is to exclude all the hardware and use the trusty pin connector.

The modeled pins and pin-bushing sets are replaced by single pin connectors. Only the shackle remains, but it also is connected to the A-frame by a pin connector. (Another pin connector holds relative position of the cylinder halves.)

Since everything is connected by rigid “pins”, the FEA solution is practically a static solve of a single solid body. It runs in 24 seconds.

Stresses in the wrought steel frame look pretty good. But what about that grease fitting hole? It left some pretty thin walls. Some mesh refinement was put around here and a closer look taken.

Ok, the thin walls are working hard, but it still looks good enough. Since it runs fast, we can set up runs with the cylinder at all different strokes to see what happens, generate all kinds of force data, and keep the customer happy. …Until something breaks and they want to know why.

Setting up this problem the hard way, i.e. the right way, means ditching most of the pin connectors and using the supplied hardware (or custom modeling simple hardware to do the job in Sim).

Over 40 high-accuracy no-penetration contact pairs are manually defined. At every joint each part is in contact on a cylinder and two lateral faces. Only the cylinder’s pin connector remains.

The stress pattern is very different in the mounting ears. Elevated stress is seen all the way around the joint, whereas on the first run it was only on the load side.

Now the full stress concentration from the drilled hole is captured. Further study can show how the stress might be sensitive to dimensional variance, like the hole being off-center.

At what cost did we get the better answer? It took about 20 minutes to set up all those contacts, and 25 minutes to run the study, versus a few minutes and 24 seconds to run the all-pin study. It beats getting a phone call from an angry end user who’s standing over a hole in the ground, made by some expensive equipment that just got dropped.

Incidentally, while all the setup work was going on, another easy-setup study was running.

Since it looked like the geometry was clean and complete, on starting Sim the simplest possible study was started. A single input of global no-penetration contact is used in place of pretty much everything else. This is almost always worth a try. It can take a lot of computer memory, and sometimes a long run time, but this study can run while all the other human work is being done on the ‘real’ setup.

In this case the quick-and-coarse study found the hot spot. With a couple mesh refinements it should match the answer in the full-manual-contact study. And it ran in under 13 minutes, quick enough that it could have guided all the later work.

Features like pin connectors are great, but the analyst has to understand what effect they have on the local situation.

Solidworks Simulation for Real Weldments

Recently published by Stone Lake Analytics is this brief guide on modeling and simulation of welded structures.

This book outlines how we approach precision modeling and simulation of welded components. The book will prove useful to designers, analysts, and managers to better understand the limitations of common weldment modeling tools and how those limits can be overcome with limited effort.

The reader is shown a progressively more complicated set of examples, showing how and why we model welds accurately and evaluate detailed simulation results.

Color paperback and e-book available from Amazon.

Models used in the book are available here.