simdesign.rcmrf.bnsm.baselib.floor
This module provides a base class for representing floor diaphragms within the BNSM layer and for building and exporting their OpenSees representations.
- class simdesign.rcmrf.bnsm.baselib.floor.FloorDiaphragmBase(cnodes, floor, masses)[source]
Bases:
ABCAbstract Base Class for floor diaphragm implementations in BNSM layer. It provides methods to define a floor diaphragm in the OpenSees domain and to export equivalent Python and Tcl commands.
The diaphragm is represented through a retained node (placed at the floor center of mass) and rigid diaphragm multi-point constraints that connect the retained node to the constrained floor nodes. In the case of flexible diaphragms, the base class needs to be extended.
- Variables:
- Parameters:
cnodes (List[Node])
floor (int)
masses (List[float])
- floor: int
- masses: List[float]
- add_to_ops()[source]
Adds all of the floor diaphragm objects into the OpenSees domain (i.e, retained floor node at center of mass and floor diaphragm).
- Return type:
None