Create the Finite Element Model

Create a finite element model (FEM) of the pipe junction assembly, and then create a custom mesh for each part within the assembly.

A FEM is a collection of one or more meshes, where each mesh serves as an alternative representation of a particular part from a given product. Each mesh is composed of many finite elements that can have different shapes and sizes. Depending on a part's geometry, some elements might be better suited than others to represent it. If desired, you can change both the size and type of elements within a mesh. Typically, a smaller element size yields more accurate results but increases the simulation's run time.

In this example, you create a FEM, and you subsequently create a mesh for each contributing part in the pipe junction assembly. Based on the geometry of the parts, you decide to create a sweep 3D mesh for the gasket and pipe segments, and you decide to create a tetrahedron mesh for the clamp parts. Then, you review the mesh information for all of the parts to confirm its accuracy.

This task shows you how to:

Initialize the Finite Element Model

  1. In the Automated FEM dialog box, expand General Purpose, and click Empty FEM.
    The app creates a FEM container in the tree, but the app does not create meshes for the parts. Instead, you define the meshes using your own specifications such that they are suitable for your simulation.

    The Contributing Shapes Manager appears.

  2. In the Shapes section of the Contributing Shapes Manager, select the pipe junction assembly, and close the window.
    All parts of the assembly now contribute to the simulation.
  3. In the tree, right-click the FEM, select Properties, rename it Pipe Junction FEM, and click OK.
  4. In the top bar, click Share , and select Save > Save All to save your work.

    Tip: You can also press Ctrl+S to save your work. Save your work often.

Create a Mesh for Each Contributing Part

  1. Mesh the gasket.
    1. From the Mesh section of the action bar, click Sweep 3D Mesh .
    2. Name the mesh Gasket Mesh.
    3. In the 3D area, select any surface of the gasket as the support.
    4. Enter 0.5 mm for the Mesh size.
    5. Expand the Distribution section, select Number of layers, and enter 50.

      Increasing the number of element layers adds more elements in the direction of the circumference. If you decrease the number of layers, the mesh appears less circular.

    6. Click Edit all parameters.
      The All Parameters dialog box appears.
    7. Expand the Mesh section.
    8. From the Element shape options, click Hex Only to generate only hexahedral elements.

      Hexahedral elements are suited for rectangular volumes and are much more accurate than wedge elements. Therefore, using only hexahedral elements improves the accuracy of the simulation for the gasket.

    9. Click OK.
      The app returns to the Sweep 3D Mesh dialog box.
    10. Click Mesh to mesh the gasket immediately, and then click OK.


  2. Mesh one of the pipe segments.
    1. From the Mesh section of the action bar, click Sweep 3D Mesh .
    2. Name the mesh Pipe Segment 1 Mesh.
    3. In the 3D area, select any surface of either pipe segment.
    4. Enter 0.55 mm for the Mesh size.
    5. Expand the Distribution section, select Number of layers, and enter 50.

      Increasing the number of element layers adds more elements in the direction of the circumference. If you decrease the number of layers, the mesh appears less circular.

    6. Click Edit all parameters.
    7. From the Element shape options, click Hex Only .
    8. Click OK.
      The app returns to the Sweep 3D Mesh dialog box.
    9. Click Mesh, and then click OK.


  3. Similarly, mesh the other pipe segment.    
    1. From the Mesh section of the action bar, click Sweep 3D Mesh .
    2. Name the mesh Pipe Segment 2 Mesh.
    3. In the 3D area, select any surface of the other pipe segment.
    4. Enter 0.55 mm for the Mesh size.
    5. Expand the Distribution section, select Number of layers, and enter 50.
    6. Click Edit all parameters.
    7. From the Element shape options, click Hex Only .
    8. Click OK.
    9. Click Mesh, and then click OK.


  4. Mesh one of the clamp parts.
    1. From the Mesh section of the action bar, click Tetrahedron Mesh .

      Tetrahedron meshes generate relatively quicker than others.

    2. Name the mesh Clamp 1 Mesh.
    3. In the 3D area, select any surface of either clamp part.
    4. From the Element order options, click Quadratic.

      Linear tetrahedral elements have four nodes and four triangular surfaces, while quadratic tetrahedral elements have ten nodes, including midside nodes halfway along each edge.

    5. Select Midside nodes on geometry to constrain the midside nodes of the quadratic elements to the support.
    6. Enter 1.2 mm for the Mesh size.
    7. Enter 0.15 mm for the Absolute sag.
    8. Click Mesh to mesh the clamp part immediately, and then click OK.


  5. Similarly, mesh the other clamp part.    
    1. From the Mesh section of the action bar, click Tetrahedron Mesh .
    2. Name the mesh Clamp 2 Mesh.
    3. In the 3D area, select any surface of the other clamp part.
    4. From the Element order options, click Quadratic.
    5. Select Midside nodes on geometry.
    6. Enter 1.2 mm for the Mesh size.
    7. Enter 0.15 mm for the Absolute sag.
    8. Click Mesh, and then click OK.


Review the Mesh Information for All Parts

  1. From the Mesh section of the action bar, click Mesh Part Manager .

    The Mesh Part Manager displays a summary of each mesh within the FEM, in tabular format. The columns for the number of elements and the number of nodes provide some indication of the computational expense of your simulation. For more information about the Mesh Part Manager, see Simulation | Multidiscipline and Multiscale | Mesh Creation | Mesh Creation | Meshing Geometries | Mesh Part Manager.

    There are fewer than 100,000 elements in the FEM; therefore, the simulation's run time will be relatively short.
  2. Close the Mesh Part Manager.
  3. Hide the FEM to make it easier for you to select the proper supports in your model later in this example.
    1. From the Display section of the action bar, click Visibility Manager .
    2. From the FE Model options, click Hide .
    3. Close the Visibility Manager.