Script to aid in fatigue model setup using a flexbody
Ben Buchanan
Altair Employee
Overview
In HyperWorks using the HyperMesh client this script automates part of the process to perform a fatigue analysis in OptiStruct. It does the following steps:
- Calculates SR1, b1 and NC1 for the MATFAT card using user entered values for yield strength (YS) and ultimate tensile strength (UTS) for each material
- Removes everything from the model that is not required for the fatigue analysis (Assemblies, Beam Section Collectors, Cards, Contact Surfaces, Groups, Set Segments, Load Collectors, Load Steps, Systems, Tags, 0D and 1D elements, Empty Components, Unused Materials, Unused Properties)
- Creates element sets for each property
- Imports the needed_for_fatigue.fem file (attached here)
- Updates the following cards accordingly
- EL2PROP
- FATDEF
- ASSIGN
- TSTEP
- Includes event name in file names and saves files (fem and hm).
Usage/Installation Instructions
Tip: Use the flexbody_bus_fatigue.hm model attached to this project with this script as an example. This is a bus model with some materials marked as "not_interested" so that they will be excluded when using the following fatigue automation script.
Usage:
1) Run the script.
2) When the script is run the user is prompted to select the materials to be considered for the fatigue analysis. Materials with "not_interested" in the material name will automatically be excluded. Then the following dialog opens to collect the rest of the user inputs:
Tagged:
1