2.3. OpenSeesAnalyzer3D

class planesections.analysis.openSees.OpenSeesAnalyzer3D(beam3D: ~planesections.builder.Beam, recorder=<class 'planesections.analysis.openSees.OutputRecorderOpenSees'>, geomTransform='Linear', clearOld=True)[source]

Bases: object

This class is used to can be used to create and run an analysis of an input 2D beam using OpenSeesPy. The nodes, elements, sections, and forces for the beam are defined in the analysis model

Note, nodes and elements will both start at 0 instead of 1.

Parameters:
  • beam (planesections Beam2D) – The beam whose data is being recorded.

  • recorder (planesections Recorder) – The recorder to use for the output beam.

  • geomTransform (str, optional) – The OpenSees Geometry transform to use. Can be “Linear” or “PDelta”

  • clearOld (bool, optional) – A flag that can be used to turn on or off clearing the old analysis when the beam is created. There are some very niche cases where users may want to have mutiple beams at once in the OpenSees model. However, this should remain true for nearly all analyses. Do not turn on unless you know what you’re doing.

analyze()[source]

Analyzes the model once and records outputs.

buildAnalysisPropreties()[source]

Typical openSeesPy propreties that should work for any linear beam. A linear algorithm is used because there is no nonlienarity in the beam.

buildEleLoads()[source]

Applies element loads to the appropriate elements in the model.

buildEulerBeams()[source]

Creates an elastic Euler beam between each node in the model.

buildNodes()[source]

Adds each node in the beam to the OpenSeesPy model, and assigns that node a fixity.

buildPointLoads()[source]

Applies point loads to the appropriate nodes in the model.

initModel(clearOld=True)[source]

Initializes the model.

Parameters:

clearOld (bool, optional) – A flag that can be used to turn on or off clearing the old analysis when the beam is created. There are some very niche cases where users may want to have mutiple beams at once in the OpenSees model. However, this should remain true for nearly all analyses. Do not turn on unless you know what you’re doing.

runAnalysis(recordOutput=True)[source]

Makes and analyzes the beam in OpenSees.

Return type:

None.