This script was user contributed, and then further modified by Ian Rivard

 

Description:

This script calculates and organizes elements based on their strain energy participation. The user is prompted to select a set of elements and specify a strain energy percentage. The script then divides the elements into two groups:

  • one containing the elements that make up the upper specified percentage of the total strain energy,
  • the other containing the remaining elements.

These groups are saved and displayed within the FEMAP model.

This is in family with functionality in Mode ID, if you like this tool, you might also like it. Also, I use color by group often after using this tool.

Use Instructions:

Run the tool, and follow the prompts.

 

Requirements:

1. This script should only be performed on strain energy output for normal modes analysis.
2. The user needs to request strain energy output ESE(THRESH=0.0)=ALL; otherwise, the API will not work.

Notes & Example:

This API performs the following tasks:
1. Prompts the user to select a set of elements for strain energy calculation.
2. Prompts the user to enter a strain energy percentage value.
3. Prompts the user to select output sets for strain energy analysis.
4. Prompts the user to provide a description of the component.
5. Calculates the total strain energy for the selected elements within the chosen output sets.
6. Sorts elements by strain energy in descending order.
7. Divides elements into two groups based on the entered strain energy percentage:
a. Elements constituting the upper percentage of the total strain energy.
b. Elements constituting the lower percentage of the total strain energy.
8. Adds the upper percentage elements to a new group named "<Component Description>, Upper Strain Energy Group".
9. Adds the lower percentage elements to a new group named "<Component Description>, Lower Strain Energy Group".
10. Outputs messages indicating the creation of new groups based on the entered percentage.
11. Saves the newly created groups and regenerates the view to reflect these changes.

 

To change the structural mode, the group with high strain energy will have the largest impact on the frequency. Consider the following example. The tool was used on the first structural mode (mode 7) and the green elements are the high strain energy, while the blue are low.

Plate.dat

 

 

 

 In this upgraded version, if the user selects multiple modes, after creating groups for each mode, it will create a boolean group that contains all elements for the upper and lower groups.. IE it will create a group for high and low that are common to all modes. Focusing on the stiffness of the high group will have the most impact on all of the selected modes, while the low group will have the least impact on the modes selected.

Advanced Users:

To our users: We appreciate feedback on our tools and encourage you to modify them to your specific needs. If you make an improvement you feel would be valuable to others, please submit it through our contribution page.