Auto Connectors Macro

The Auto Connectors macro automates the importation and FE realization of connectors from either a Master Connectors File or an older Master Weld File.

Virtually every option available for FE realization in the connectors module is also available in the Auto Connectors macro.

Input requirements for connector entity creation and FE realization are:
  • Master connector/weld file
  • FE config
  • Projection tolerance
Note: In the case of a custom FE config, the custom FE type-to-realize is required. The custom FE type definitions can be found in the appropriate feconfig.cfg file. This script automatically reads the default feconfig.cfg file and displays a list of all the appropriate user-defined FE types (found in the feconfig.cfg file) in the Fe type field.

The property and diameter can be specified, if necessary.

Additional options are:
  • Build systems
  • Snap to node
  • Attach to shells

Master Weld Files

The Master Weld File provides the weld location and parts to be connected.

A format example is shown below.
PointID 1t/2t/3t X Y Z PartID1 PartID2 PartID3
12:: 2:: 2.25:: 2.25:: 1.0:: 2:: 3::  
23:: 3:: 3.05:: 3.25:: 0.25:: 2:: 3:: 5::

Diameter vs. Thickness Files

The Diameter Table associates the thickness of flanges with spot weld diameters.

The equivalent area is taken to determine the side of the hexa. The table includes flange thickness ranges and corresponding spot weld diameters.

The table below is an example of the values assigned in the Diameter Table. If the main flange thickness is between 1.02 to 1.77, the spot weld diameter will be 4.0.
Table 1.
Flange Thickness Range Spot Weld Diameter
1.02 4.0
1.78 5.0
The Diameter Table as well as the settings that determine the main flange thickness are available in the Diameter Mapping dialog. You can import or manually define flange thickness ranges and spot weld diameters in the Diameter Table.
Note: If you import a .dvst file from HyperMesh v13.0 or earlier, the data will be converted to the new file format.

You can save the information defined in the Diameter Mapping dialog to a diameter mapping.txt file, which can be reused in the future.

Example: Assign Flange Thickness Ranges and Spot Weld Diameters and Define Main Flange Thickness Settings

  1. Open the Spot panel.
  2. Set the diameter/use diameter mapping toggle to use diameter mapping.
  3. Click .
    The Diameter Mapping dialog opens.
  4. Import or manually define flange thickness ranges and spot weld diameters in the Diameter Table.
    • To import predefined values, click File > Open from the menu bar.
    • To manually define values, click to add a row to the table. Default flange thickness ranges and spot weld diameter values will be automatically interpolated. Edit these values accordingly. To remove a range from the table, click .



      Figure 1.
  5. For all flanges, define which flange thicknesses to consider when assigning diameter values.


    Figure 2.
    1. From the first pull-down menu, select which flanges to consider.
      • Choose All to consider all flanges.
      • Choose Inner to consider all of the inside flanges.
      • Choose Outer to consider the two outside flanges.
      • Choose Middle to consider the middle flanges. If there is an odd number of flanges, the very middle flange is considered. If there is an even amount of flanges, the two middle flanges are considered.
    2. From the second pull-down menu, select whether to consider the 1st, 2nd, 3rd, or 4th flange the meets the criteria in the third pull-down menu.
    3. From the third pull-down menu, select whether to consider the thinnest, thickest, or average (average of all considered flanges, not only the thinnest and thickest) flange.
  6. Optional: If you are connecting 2T, 3T, or 4T thicknesses, you can specify specific flange thicknesses to consider when assigning diameter values to each layer.


    Figure 3.
  7. Click Apply.
  8. To save the diameter mapping table, as well as the settings on how to determine the main flange thickness to a diameter mapping.txt file, click File > Save from the menu bar.
    When the connector is realized, only the flanges that meet the criteria defined in the Diameter Mapping dialog will be assigned a diameter value. The flange thickness ranges and spot weld diameter values defined in the Diameter Table will determine the diameter value that is automatically assigned to the spot weld diameter upon realization.

Example

Consider there are five flanges with the following thicknesses:

Flange 1 = 3.0

Flange 2 = 1.5

Flange 3 = 1.0

Flange 4 = 2.0

Flange 5 = 2.5

In the Diameter Table below, four sets of flange thickness ranges and spot weld diameter values have been defined. Below the table, the options have been set to only consider and assign a spot weld diameter to the inner flange with the 2nd thinnest thickness. If there is two layer thicknesses, all of the flanges will be considered, but only the 1st thickest flange will be assigned a spot weld diameter. In this example, there is only one layer.

When the connector is realized, flange 2 will be assigned a spot weld diameter of 4.0.


Figure 4.

ACM Welds

An ACM (Area Contact Method) weld is a special representation of a spot weld.

The weld is defined using a solid (HEXA) element whose cross-sectional area is equivalent to the area of the weld nugget. The solid element is created at the exact weld location independent of the shell elements that represent the sheet metal parts. These solid elements are connected to the corresponding components using RBE3 elements. The size of the solid element is determined using the Diameter Table or using a specific value that you specify in the Spot panel. The spot weld diameter corresponding to the thickness ranges of the connecting flanges is obtained from the Diameter Table. The size of the hexa is calculated to match the cross-sectional area of the weld nugget.

The length of the weld element is calculated using one of the following methods:
(T1 + T2)/2
This creates the hexa elements with a length equal to the average component thickness it is connecting. T1 and T2 are the component thicknesses. The first figure below shows the ACM weld created using this method.
Project to shell
This creates the hexa elements between the component/element shell surface. The length of the hexa element will be equal to the actual distance between the two connecting components/elements. The second figure below shows the ACM weld created using this method.
The figures below show ACM created using the two currently available methods.


Figure 5. ACM Creation using (T1+T2)/2.0


Figure 6. ACM Creation using Project to Shell

The weights of the RBE3 elements are calculated based on the projection of the dependent node on the shell element. The nodes of the shell element closest to the dependent node are assigned a greater weight relative to the node that is farther away.

Realize ACM Spotwelds

ACM welds can be created and managed using connectors. Once a connector is created, they can be realized as ACM spotwelds.

  1. Make sure that the connectors are created at each of the weld locations along with connecting parts information.
  2. Make sure all the connecting parts have PSHELL cards with correct thicknesses.
  3. Select the connectors to be realized as ACMs in the FE Realize panel of the Connectors module.
  4. Choose custom element config and select type = Nastran 70 ACM((T1+T2)/2) or type = Nastran 71 ACM (Shell Gap) per your requirements.

    The appropriate property script is automatically loaded for the selected type.

  5. Set the appropriate tolerance (proj tol=) value.
  6. Make sure the attach to shell and snap to node options are turned off in fe options.
  7. Select a DvsT file, which determines the size of the hexa based on the thicknesses of the components being connected.
    If a DvsT file is not selected, hexas are created with weld nugget diameter =1.0.
  8. Click realize.

CWELD Elements

CWELD elements are created as patch-patch, meshless elements.

The 1D element is not connected to the shell element. For details regarding connected shell elements or nodal information see the element card.

For CWELD elements, the diameter is determined from a DvsT file based on the component thickness. In addition to the creation of CWELD elements, a corresponding property card (PWELD) is created with an updated diameter ‘D’ attribute value.


Figure 7.