anastruct.fem.node

Classes

Node

Module Contents

class anastruct.fem.node.Node(id: int, Fx: float = 0.0, Fy: float = 0.0, Tz: float = 0.0, ux: float = 0.0, uy: float = 0.0, phi_z: float = 0.0, vertex: anastruct.vertex.Vertex = Vertex(0, 0), hinge: bool = False)[source]
id[source]
Fx = 0.0[source]
Fy = 0.0[source]
Tz = 0.0[source]
ux = 0.0[source]
uy = 0.0[source]
phi_z = 0.0[source]
vertex[source]
hinge = False[source]
elements: Dict[int, anastruct.fem.elements.Element][source]
property Fy_neg: float[source]

Fy is the vertical force, and the negative of Fy

Returns:

float: negative of Fy

__str__() str[source]

String representation of the node

Returns:

str: String representation of the node

__add__(other: Node) Node[source]

Add two nodes

Args:

other (Node): Node to add

Returns:

Node: Sum of the two nodes

__sub__(other: Node) Node[source]

Subtract two nodes

Args:

other (Node): Node to subtract

Returns:

Node: Difference of the two nodes

reset() None[source]

Reset the node to zero forces and displacements

add_results(other: Node) None[source]

Add the results of another node to this node

Args:

other (Node): Node to add