Using functions let's us easily run several OpenSees analyses in a row. In this tutorial we'll look at how this can be useful by choosing the "optimal" section parameters for an OpenSees model.
Specifically, we are going to vary the areas of sections in our model, and try to find the set of areas that gives us a specific model displacement. Once we have these "optimal" parameters, we run a different final analysis.
code: https://github.com/cslotboom
00:00 Start
1:45 - Predefining variables
5:56 - Defining analysis loops
7:55 - Running OpenSees analysis
11:30 - Data processing
14:55 - Running final analysis