UPDATE DEC. 18, 2019: Starting with FEMAP v2020.1, there have been language formatting changes regarding output sets. We are in the process of updating our API's to be compatible with v2020.1. Please keep this in mind when using previously constructed APIs with FEMAP v2020.1.

This was an interesting problem to solve. Essentially what was wanted was a way to apply around 500 different pressure values to a number of elements arranged in a grid pattern. It would be possible for the user to do this manually, but automating processes like this is what the API was made for. What the API requires is a three column CSV file with each row containing the centroid coordinates (x,y) and pressure value for each element. The API prompts the user to specify the file location and then asks the user to define a workplane whose orientation and origin are identical to that of the data found in the data file. The API then looks for elements whose centers correspond to what is found in the data file. The face of the element that is coplanar to the workplane is then found, and the corresponding pressure is applied to this face.

This is the grand-daddy of the ASME programs. It will prompt you for your output set and then calculate the ASME Stress Intensity, the ASME membrane stress (4-131) and ASME triaxial stress (4-137) for all plate elements in your model. A very powerful and useful utility for ASME pressure vessel analysis. If you are working with Appendix 4 Design Based on Stress Analysis, you will want to have this API in your tool chest.