Can a mesh be too fine?

Author: Marina

Oct. 07, 2024

0

0

0

What is wrong with too fine mesh?

Robin

For more information, please visit TRM.

Guest


Posts: n/a

Hi Steven,

I think Jonas and Glenn make good points. Based on my experience and given that your mesh quality is reasonable, the problem is most likely related to either round-off, as Glenn suggested, or local flow instability, as suggested by Jonas.

The former is easily solved by running double precision, and I certainly recommmend this as it is easy to do. In the second case, the instability can be removed by increasing your timestep. Even if you mesh is fine enough to resolve turbulent vortices, you can avoid them by specifying a timestep which is larger than the local turbulent lenght scale. This will effectively "wash out" the local fluctuations. The effect of the local turbulence will then appear in the local turbulent kinetic energy and dissipation.

Finally, while these local effects may prevent convergence, it is sometimes reasonable to ignore the effect if it is away from regions of interest. If the MAX residual is more than one order of magnitude higher than the RMS residual, it usually indicated a local effect. What I often do is write the residuals to my backup file (there is option under Output Control>Backup File in Pre). Suppose the U Momentum is giving you grief, you can then create a new variable in Post equal to the absolute value of the U Momentum residual as:

abs(U Momentum.Residual)

and then create an isovolume of elements with residual values greater than your convergence criteria. This will show you elements where fluctualtions are occurring.

If this regions of fine mesh is far away from anything of interest, it may help in the future not to refine the mesh in that area (if possible).

Best regards, Robin

CTYH, Gbeatz and granzer like this.

Element Size In FEA - Does It Matter?

One of the most common questions you&#;ll hear asked in the FEA community is &#;What mesh size should I use?&#;, and for good reason! If your mesh is too coarse, the answers that you generate may not be as accurate as you need them to be. Conversely, if your mesh is too fine, the simulation will take much longer to run without providing any substantial improvement in accuracy. Unfortunately, there is no clear-cut formula for determining the best mesh size to use in every situation.

In this blog, though, we will explore a couple of different strategies that can be used to help determine an appropriate element size that will provide accurate results efficiently.

FEA Mesh Sensitivity Study

The most scientific approach for determining the mesh resolution needed to obtain accurate results is to perform a mesh sensitivity study. To do this, simply run your model with several different mesh sizes and plot the resulting stress or displacement values. Your mesh size is considered to have &#;converged&#; when there is little observed change in stress or displacement value with decreasing mesh size.

To demonstrate a mesh sensitivity analysis, we have simulated a cantilevered steel rod using four different hexahedral (C3D8I) meshes. The predicted values for stress and displacement are provided, along with the required computational time for each simulation.

First, though, hand calculations can be performed to determine the expected values for stress and displacement. Calculation parameters and solutions are shown in the table below:

Analysis Results

The expected displacement based on hand calculations is 0. mm. As we can see from this study, as mesh size decreases, the maximum displacement converges toward the calculated value. However, it should be noted that the run time grows exponentially and provides diminishing marginal returns in terms of solution accuracy, as shown below.

The company is the world’s best Mesh Bolt supplier. We are your one-stop shop for all needs. Our staff are highly-specialized and will help you find the product you need.

Because the maximum stress values displayed above were measured from a node slightly distant (0.16L) from the fixed end of the cantilevered beam, the calculated handbook stress used for comparison must be corrected, which results in a calculated stress value of 213.9 MPa (instead of 254.7 MPa). Stresses were measured at this location to avoid any artificial stress concentration effects imposed by the boundary condition at the fixed end of the beam. As mesh size decreases, the maximum principal stress values converge toward the calculated value. Also worth noting is that hexahedral elements are generally not the most appropriate elements to use in simulations involving bending since they are prone to shear locking. This effect can be somewhat mitigated through mesh refinement, but a better solution is to use C3D8I elements, which use an improved formulation intended to better capture such behavior.

Effect Of Element Type On Mesh Sensitivity

The type of elements used also affects the optimal mesh size. As shown in a previous blog about first- and second-order elements, a linear element like a C3D4 requires a small mesh size in order to produce accurate results, whereas a higher-order element like a C3D10 can still produce trusted results when using coarse mesh.

But how does that affect runtime? In the following example, the cantilevered rod is simulated again, instead using 1 mm C3D4 elements and 2 mm C3D10HS elements.

As we can see from this example, even though the C3D10HS element model has a larger mesh size, it still takes longer to solve since it has many more nodes. The stress values, however, are much more reliable when compared to the C3D4 elements (0.08% error vs. 5.01%).

Choosing Mesh Size Based On Geometry

Because we, as engineers, often have a good idea about how our parts will behave before we analyze them (or we should, at least!), one of the most effective strategies for choosing an efficient mesh size is to employ a hybrid approach based on the details of the part being analyzed (geometry, loading, boundary conditions, etc.). Areas where you don&#;t expect significant stresses can be coarsened to reduce the overall element count. This can help to provide an effective balance between simulation accuracy and the associated computation expense.

In the example below, a steel shaft with a flange is being analyzed in torsion. Because we&#;d expect the inner radius leading up to the flange to have the highest stress, we can locally refine our mesh and coarsen elsewhere.

In the example above, the hybrid model solved nearly 80 times faster than the fine mesh model, yet stress results remained within half a percent of each other, which highlights the stark efficiency improvements that can be gained when employing this approach.

Final Thoughts

As you can see, selecting the right mesh size depends on your desired balance between accuracy and efficiency. Although second-order elements and refined mesh both improve simulation accuracy, they come with increased computational costs. Fortunately, simple mesh sensitivity studies can allow us to quickly understand these implications and employ hybrid meshing strategies that allows us to attain sufficiently-accurate solutions efficiently.

For more modeling, FEA, or CFD help, reach out to the team at Fidelis!

For more information, please visit Friction Bolt.

Comments

Please Join Us to post.

0

0/2000

Guest Posts

If you are interested in sending in a Guest Blogger Submission,welcome to write for us.

Your Name: (required)

Your Email: (required)

Subject:

Your Message: (required)

0/2000