![]() |
OpenSeesPyAssistant 1.1
OpenSeesPy for everyone
|
Module with different functions useful when defining boundary conditions (fix) or connections (pin, rigid or springs). More...
Functions | |
def | Pin (int NodeRID, int NodeCID) |
Function that constrains the translational DOF with a multi-point constraint. More... | |
def | RigidSupport (int NodeID) |
Function that fixes the x, y movements and the rotation of one node. More... | |
def | RotationalSpring (int ElementID, int NodeRID, int NodeCID, int MatID, Rigid=False) |
Function that defines a zero-length spring and constrains the translations DOFs of the spring. More... | |
Module with different functions useful when defining boundary conditions (fix) or connections (pin, rigid or springs).
Carmine Schipani, 2021
def Connections.Pin | ( | int | NodeRID, |
int | NodeCID | ||
) |
Function that constrains the translational DOF with a multi-point constraint.
NodeRID | (int): Node ID which will be retained by the multi-point constraint |
NodeCID | (int): Node ID which will be constrained by the multi-point constraint |
WrongArgument | The IDs passed needs to be different. |
NegativeValue | The ID of NodeRID needs to be a positive integer. |
NegativeValue | The ID of NodeCID needs to be a positive integer. |
Definition at line 22 of file Connections.py.
def Connections.RigidSupport | ( | int | NodeID | ) |
Function that fixes the x, y movements and the rotation of one node.
NodeID | (int): ID of the node to be fixed |
NegativeValue | The ID of NodeID needs to be a positive integer. |
Definition at line 9 of file Connections.py.
def Connections.RotationalSpring | ( | int | ElementID, |
int | NodeRID, | ||
int | NodeCID, | ||
int | MatID, | ||
Rigid = False |
|||
) |
Function that defines a zero-length spring and constrains the translations DOFs of the spring.
Can be used also to create rigid connections.
ElementID | (int): ID of the zerolength element that models the spring |
NodeRID | (int): Node ID which will be retained by the multi-point constraint |
NodeCID | (int): Node ID which will be constrained by the multi-point constraint |
MatID | (int): ID of the material model chosen |
Rigid | (bool, optional): Optional argument that transforms the joint in a completely rigid connection. Defaults to False. |
NegativeValue | The ID of ElementID needs to be a positive integer. |
NegativeValue | The ID of NodeCID needs to be a positive integer. |
NegativeValue | The ID of NodeRID needs to be a positive integer. |
WrongArgument | The IDs of the nodes passed needs to be different. |
NegativeValue | The ID of MatID needs to be a positive integer. |
Definition at line 42 of file Connections.py.