2.4. PyNiteAnalyzer2D
- class planesections.analysis.pynite.PyNiteAnalyzer2D(beam2D: ~planesections.builder.Beam, recorder=<class 'planesections.analysis.pynite.OutputRecorderPyNite2D'>)[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
The PyNite solver makes use of a beam object, which is constructed and stored as a analysisBeam attribute
Note, nodes and elements will both start at 0 instead of 1.
For the PyNite beam, The 2D directions are X/Y
- 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.
- buildNodes()[source]
Adds each node in the beam to the OpenSeesPy model, and assigns that node a fixity.
- initModel()[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.