struct.force.nodal
Syntax
- l := struct.force.nodal(p)
- struct.force.nodal(p) := l
Get/set the generalized nodal forces acting in the global system, as a list of 6x1 matrices.
The length of the list is the number of nodes in the element: 2 for linear elements and 3 for plate elements. You may access a specific matrix in the list or a specific element of a matrix by using repeated indexing. For example:
; Second node force matrix local m = struct.force.nodal(pnt)(2) ; Fourth component of second node force matrix local m = struct.force.nodal(pnt)(2)(4)
This can also be done on assignment to only change a single matrix or a single component of a matrix.
; Update second node force matrix. Note 1x6 or 6x1 matrix will work. struct.force.nodal(pnt)(2) = matrix(6,1,1,2,3,4,5,6) ; Update fourth component of second node force matrix struct.force.nodal(pnt)(2)(4) = 5.0
Returns: l - List of 6x1 matrices containing the generalized nodal forces in the element. Accepts: l - List of 6x1 matrices containing the generalized nodal forces in the element. Arguments: p - a pointer to a structural element element
Was this helpful? ... | FLAC3D © 2019, Itasca | Updated: Feb 25, 2024 |