Node
-
class
itasca.sel.node.
Node
- Objects of this type should not be created (instantiated) directly in Python. Use the module functions that return instances of this type.
-
attach
() → float. Get the attachment condition of a node (true = attached to the grid).
-
bond
() → float. Get the state of the bond between the element node and host rock/ soil (1 = intact, 2 = broken, 3 = none).
-
collection
() → float. Get the ID number of a node collection from a given node.
-
dis
() → vec. Get the node node dis (vector).
-
dis_x
() → float. Get the x-component of the node node dis.
-
dis_y
() → float. Get the y-component of the node node dis.
-
dis_z
() → float. Get the z-component of the node node dis.
-
extra
(slot: int) → any. Get the node extra data in the given slot.
-
fix
() → int. Get the fixity indicator of the node (false = not fixed (default); true = fixed).
-
force
() → vec. Get the node node forcce (vector).
-
force_app
() → vec. Get the node node applied force (vector).
-
force_app_x
() → float. Get the x-component of the node node applied force.
-
force_app_y
() → float. Get the y-component of the node node applied force.
-
force_app_z
() → float. Get the z-component of the node node applied force.
-
force_shear
() → float. Get the shear force.
-
force_x
() → float. Get the x-component of the node node forcce.
-
force_y
() → float. Get the y-component of the node node forcce.
-
force_z
() → float. Get the z-component of the node node forcce.
-
group
([slot: str or int]) → str. Get the node group name in a given slot.
-
group_remove
(group_name: str or int[, slot: str or int]) → bool. Remove from the given group from all group slots of the node. One argument of type string, giving the group name, is required. The return value is a bool which is True if the group was removed from any slot, otherwise False.
-
groups
() → {slot: group_name}. Get a dictionary describing which groups this node is part of. The keys of the dictionary are the slot names and the values are the group names.
-
id
() → int. Get the node id.
-
in_group
(group_name: str or int[, slot: str or int]) → bool. Test if the node is part of a given group. If the optional argument slot is given, only that slot is searched. Otherwise, all group slots are searched.
-
index
() → float. Get the index (offset) of a node.
-
length
() → float. Get the length associated with a beam or cable node (half of the average length of connected elements).
-
mass
() → float. Get the node mass.
-
matnum
() → int. Get the material number assigned to a node.
-
pos
() → vec. Get the node node position (vector).
-
pos_x
() → float. Get the x-component of the node node position.
-
pos_y
() → float. Get the y-component of the node node position.
-
pos_z
() → float. Get the z-component of the node node position.
-
set_attach
(bool) → None. Set the attachment condition of a node (true = attached to the grid).
-
set_bond
(float) → None. Set the state of the bond between the element node and host rock/ soil (1 = intact, 2 = broken, 3 = none).
-
set_extra
(slot: int, value: any) → None. Set the node extra data in the given slot.
-
set_fix
(int) → None. Set the fixity indicator of the node (false = not fixed (default); true = fixed).
-
set_group
(group_name: str or int[, slot: str or int]) → None. Set the node group name in a given slot.
-
set_matnum
(int) → None. Set the material number assigned to a node.
-
set_vel
(value: vec) → None. Set the node node velocity (vector).
-
set_vel_x
(value: float) → None. Set the x-component of the node node velocity.
-
set_vel_y
(value: float) → None. Set the y-component of the node node velocity.
-
set_vel_z
(value: float) → None. Set the z-component of the node node velocity.
-
valid
() → bool. Returns True if this node is live.
-
vel
() → vec. Get the node node velocity (vector).
-
vel_x
() → float. Get the x-component of the node node velocity.
-
vel_y
() → float. Get the y-component of the node node velocity.
-
vel_z
() → float. Get the z-component of the node node velocity.
-
Was this helpful? ... | PFC © 2021, Itasca | Updated: Feb 25, 2024 |