Hey everyone,
I'm new to this community and also new to coding in Ansys. I'm looking for help with creating a script to evaluate welds and avoid artificial stress concentrations, especially in corners.
Here's what I'd like the script to do:
**Inputs: **Provide the script with a predetermined path and the weld thickness in that area.
Functionality: The script should generate a stress graph using data from the path and identify the interval where the data is linear to create a line. I'd like an option bar to tweak the sensitivity formula for selecting data points to create the line, or have the ability to manually set the interval of data points.
Interpolation: From this line, the software should interpret the weld thickness and output the corresponding stress value at the weld location on the line.
Output: The script should produce a graph showing stress values along the path. It should also plot the created line for accuracy verification, with a marker to indicate the point of stress at the weld. Additionally, the graph should highlight the interval of data points used to create the line and mark the weld thickness on the axes. It should also add a note with the stress value at that weld thickens on the line. I'd like the option to number each data point (like 1, 2, 3, ...) to manually set the interval if that's easier.
I'm seeking advice on how to set up this script in Ansys to ensure it works effectively. Are there any other considerations I should keep in mind when creating this script for Ansys?