Helpful Hints and Tips: Python Example #1
Abstract: Helpful Hints and Tips on scripting Python with the StressCheck COM API to 1) open the Peter02 Handbook model (located in C:\Program Files\ESRD\StressCheck PE XX\Handbook\Basic\2D-Basic), 2) update model parameters, 3) solve a linear p-extension, 4) extract maximum principal stress convergence data to a TXT file, and 5) plot stress contours and save to a PNG file.
Note: change the extension from .txt to .py in order to run the script.
Looking for Resources?
Recent News & Events
“We have been having very good success using the P-Version finite element code, StressCheck®, to develop the 2-D solutions for two independent cracks in a plate. I have asked one of our AFGROW team members to model the plate and lug cases using StressCheck® and compare them to the existing AFGROW closed-form solutions. [He] modeled the cases several different ways to be sure that he was getting the best possible solutions. He has verified that the bearing load option in StressCheck® provides excellent results.”