Quality Control – Using the Right Type of Mesh in SolidWorks Simulation

Quality Control – Using the Right Type of Mesh in SolidWorks Simulation

Table of Contents


One of my usual tasks here at Hawk Ridge Systems is conducting our
SolidWorks Simulation training classes, which hopefully most readers out there using Simulation have had a chance to
attend. Not only do students learn valuable information from the “where’s that
button” category, it’s a chance to have a discussion about some mechanical and
FEA theory, and what Simulation settings will give you the best results (the
latter probably being a lot more interesting). An option that anybody who has
taken this class should be familiar with is the Draft Quality Mesh option
underneath the Create Mesh property manager. Enabling this checkbox switches the
mesh element type from the default high-quality tetrahedron to a simpler
draft-quality version. The main difference between these two element types is
the number of nodes that are present; high quality tetrahedrons each have 10
nodes (one per corner and one in the middle of each side), whereas draft quality
has 4 nodes (at the corners only). This also means that a high-quality element
has more total degrees of freedom (DOF) than a draft version.

As expected, this means that high quality elements are more accurate, while
draft quality elements solve more quickly. However, a common misconception is
that high-quality elements are only more accurate because of these
extra nodes. In reality, the high-quality element is inherently more accurate
because the equations run inside the element are different; these equations are
known as the shape functions. As an example, let’s look at a simple 10cmx10cm
square beam of AISI 304 steel, which is 1m in length, loaded with 10,000 N at
the end.

            10cmx10cm square beam of AISI 304 steel, which is 1m in length, loaded with 10,000 N

We’ll use a very coarse mesh for this model (0.1m) to highlight the differences
between running the study with the Draft Quality Mesh checkbox enabled (top) and
the default high-quality mesh (bottom).

Using the Right Type of Mesh In SolidWorks Simulation

When we run the study using both element types and compare the results, we see
a difference in accuracy as expected. The high quality elements show a maximum
displacement of about 2.1mm, whereas the draft quality is off by 50%, (showing
a maximum of 1mm). Now, we’re all well aware that using a finer mesh will
generally yield more accurate results in simulation due to the extra nodes,
and as we’ve discussed, the high quality mesh has more nodes than draft
quality. But, is this the whole story?

To get a better idea, we can refine the mesh in the draft quality version so
that the two meshes have a similar number of nodes (and also a similar number of
DOF). If the accuracy is related to the nodes only, we should see similar
results. This time, we’ll use an element size of 0.04m for the draft quality
mesh, which results in 404 nodes and 1170 DOF (compared to 401 and 1176 for the
high quality mesh).

Quality Control – Using the right type of mesh in SolidWorks Simulation-4

Contrary to what you might expect, even after refining the draft quality mesh so
that it has the same number of DOF as the high-quality mesh, the results still
don’t match. The high quality element is still more accurate because it uses a
more advanced shape function than its poor simple cousin. We can confirm that
the high quality mesh is more accurate by doing a hand calculation for the
displacement using the beam equation derived from
Castigliano’s method:

… where P is the load, L is the beam’s length, E is the young’s modulus, and I
is the 2nd moment of area.

This pattern of consistently under-estimating displacements, and thus
over-estimating the stiffness of a structure, is a known drawback of a basic,
first-order tetrahedral mesh in the FEA world, and is particularly noticeable in
bending problems like this. Luckily, using the default high-quality version in
SolidWorks (also known elsewhere as a quadratic tetrahedron) does not exhibit
this issue. The effect can even be seen in real-world models, such as the handle
assembly below from a Holmatro Spreader rescue device. The draft quality mesh,
despite being more refined, still under-reports the displacement from this 100
lb load.

So, the moral of the story is this: the draft quality checkbox should be used
exactly like it’s named. Always set up your study and do a quicker “draft” run
with the Draft Quality Mesh checkbox on to verify your loads, fixtures, and
contact. Then, always switch back to the default high quality mesh for your
final results. You’ll be getting the right results and saving
precious CPU cycles for that Minesweeper window running in the background.

Picture of Damon Tordini

Damon Tordini

Damon Tordini is the Product Manager for Plastics and Flow Simulation out of Hawk Ridge Systems’ Costa Mesa, California office. Damon received the SOLIDWORKS Elite Applications Engineer award in 2012 and is a two-time presenter at SOLIDWORKS World. When he's not waiting for his last simulation to finish, you can probably find him making some kind of noise, which he claims is music.
0 0 votes
Article Rating
Subscribe
Notify of
guest

2 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
Olle Hjelmåker
Olle Hjelmåker
3 years ago

Thanks for the information, it explained alot!

But I still got some problems with simulation in some scenarios, for example in my current mission I can run the simulation with draft quality mesh but when I switch back I get error messages in the calculation. Is it to heavy for my computer to handle?

Damon Tordini
Damon Tordini
3 years ago

Hi Olle, I’m glad that this was informative for you. It’s definitely true that in some cases, a simulation will only run when you have meshed it with the draft quality box checked. It is possible that your computer is having an issue with resources when trying to run the problem with the more complex mesh (no draft quality). It is also possible that the simulation may be running into larger displacement conditions that the solver is having trouble with, which don’t occur with draft quality checked since that type of mesh underestimates displacements. If you’re a Hawk Ridge Systems customer, the best course of action would be to contact the technical support team who can look into the issue more deeply. Just click Support at the top of this page.