Calculates dimensional values for each triangular element, including truss length & angles, distance from nodal point to centroid, aspect ratio of each triangle element, and area of the triangle.
Usage
Dimensions.2d(meshP, meshT, centroid)
Value
Evaluation of triangle elements truss, angle, and area.
Truss
Nodal pairs that form each truss.
TrussLength
Distance between each paired nodes forming a truss, its length.
Dist2Cent
Shortest distance from truss to triangle centroid.
Truss angle
Angles of the triangle created from truss meeting.
AspectRatio
Aspect ratio of triangle elements.
Area
Area within triangle elements.
Arguments
meshP
Matrix (2 x n) containing coordinate points of the mesh nodes.
meshT
Matrix (3 x n) containing the number of the coordinate point that forms a given triangle within the mesh.
centroid
Matrix (2 x n) containing coordinate points of the centroid of each triangular element.