*By: PAUL KUROWSKI*

President, Acom Consulting,Toronto, Ontario, Canada

President, Acom Consulting,Toronto, Ontario, Canada

Solid modeling is great for visualizing ideas but it's often misapplied in finite-element analysis.

One of the latest methods of slashing development time is to use the 3D models that CAD users create as a basis for finite-element analysis. In a perfect world, performing finite-element analysis on these models directly, rather than recreating data for this purpose, lets analysts concentrate more on analysis and less on syntax.

Solids appear to be a wise choice as a basis for FEA because FE meshing can sometimes take place directly on CAD geometry without modifications. The literature abounds with examples of engineers doing exactly this.

In real life, however, the interface between 3D CAD and FEA is seldom that simple. Solid CAD geometry almost always requires extensive modifications before it is suitable for meshing with finite elements. There also are occasions when solid CAD geometry is completely inappropriate for finite-element models.

Successful interfacing requires time, care, and an understanding of inherent limitations. A few practical examples demonstrate why using unmodified CAD geometry for FEA can lead to erroneous results.

**Part 2: A Cooling Fin**

Consider the task of examining stresses at the vertical base of a horizontal cooling fin after applying bending loads to its edge. The CAD geometry for the fin and a portion of the base plate are exported to an FEA program as a solid and meshed using default parameters in the automesher. An accompanying illustration shows the meshed model and resulting contour plot. But the mesh is not suitable for analysis and results are erroneous. What went wrong?

Automeshing is a purely geometric function. The mesh generator simply fills up the available space with elements because it knows nothing about the expected stress pattern. As a result, it places one or two elements across the fin thickness, many of them poorly shaped by a lack of depth. Considering the kind of elements used (second-order subparametric h-elements), one or even two elements are insufficient to model stress distribution where the fin meets the base. The mesh is incapable of modeling the stress pattern that will develop in the real structure.

This is not a fault of the automesher. Even the best automatic mesh generators provide no assurance of a good mesh. It's the analyst's responsibility to make sure the mesh can model a stress pattern according to the laws of mechanics. Several elements are required across the thickness to accurately model bending. However, meshing with greater density would call for a large number of small elements making a prohibitively large FE model. This means the solid CAD geometry is practically unsuitable for meshing with solid h-elements.

Furthermore, insisting on solid CAD geometry locks analysts into using solid elements. The only choice short of running a huge model is to use p-elements which can model bending even with only one element across the fin thickness.

However, p-elements produce a problem which was masked before by the low density of h-elements. The CAD-produced geometry contains reentrant corners, those with more than 180° internal angles, without fillets. A theoretically infinite stress occurs at the corners. P-elements try to model these stresses by increasing the polynomial order of their shape functions. The results reported by a p-element model with singularity depends on the user-required accuracy. As users request greater solution accuracy, the solver responds by increasing the p-order used by elements around the corner. The model reports higher stresses with each increase in p-order. This continues until the solver assigns the highest p-order allowed. Should the user reduce the element size, the situation still repeats itself. Stress in reentrant corners will never converge to a finite value.

In fact, results reported by the model in the illustration are close to results from a shell model discussed later only by coincidence. Had the user employed smaller p-elements or requested a lower convergence error, or both, the model would have reported much higher stresses.

Users must modify CAD-supplied geometry to deal with the inherent sensitivity of p-elements to singularities. For example, users may decide to add small fillets which would always exist in the real structure. The illustration Fin with fillets shows results from a p-element model with added fillets. Alternatively, when looking only for the highest stress, one might analyze a 2D plane strain slice from the middle of the fin, as it appears in the close-up. Of course, this requires modifying the CAD geometry. Another way around the problem of singularities is to recreate the geometry in the FEA program for use with shell elements as in the illustration Fins from shells. Let the geometry consist of planes located in the mid thickness of the original solids. Planes are easily meshed with shell elements which model bending well.

**Part 3: Building Better FEA Models**

Experienced practitioners suggest following several guidelines when using a CAD-FEA interface.

Decide whether solid elements are the right approach. Solution times may be prohibitively long when models contain enough solid element to generate an adequate solution. Solids should not be the first modeling choice just because they are automatically generated. Avoid the approach when solid elements produce overly large models or ones violating laws of mechanics. A better choice is to use finite-element geometry designed for shell elements.

Delete features of no structural significance. These features unnecessarily complicate the model. Defeaturing can take place either in a CAD package by producing FEA-oriented geometry or in FEA software by modifying the original CAD part. Deciding which details can be deleted or simplified requires careful engineering judgment.

Use structure symmetry when possible. Models can be significantly simplified when structure, loads, and boundary conditions show symmetry. The simplification requires modifying the original CAD geometry. Nevertheless, a simplified model is usually well worth the effort.

Estimate where to refine the mesh. An automatic mesh generator does not know where the mesh should be dense to account for expected stress concentrations. When left alone, it generates a mesh with element size dictated only by the characteristic dimensions of CAD geometry or by an automesher's default settings. A default mesh can produce misleading or dangerous results when, for example, a wall in bending is modeled with one solid element. The situation is less dramatic with self-adaptive p-elements because a single p-element is capable of modeling higher-order stress distributions.

Always check the mesh. Don't accept degenerated elements. Closely inspect automatically generated meshes and the default settings of your mesh generator. Automatic mesh generators tend to produce poor meshes when users request too few elements. Unfortunately, this is a common situation when users select an element size that is too large or when users struggle to limit model size. A good h-element mesh commonly requires many elements.

Consider p-elements for automatic mesh generators. P-elements have adaptability built in and need less judgment for sizing elements. An automatic mesh generator makes no judgments. It is more likely to generate an acceptable p-element mesh than one of h-elements. Experience indicates that a good h-element mesh comes from "fiddling" with generator settings and requires several trials. Often, creation of a good p-element mesh can take place with little need for user input. Also, an effective p-element mesh can be created manually without a mesh generator.

Create models with convergence analysis in mind. You can't estimate the accuracy of results without convergence analysis. Meaningful results should also include an error analysis. H-element mesh should be designed with regard to further refinement. P-elements tend to be easier on users because convergence comes automatically in the process of iterative solutions. When following the above recommendations, one may find it is still advantageous to create FEA-oriented geometry in CAD or to recreate the geometry in the FEA software.