ManualAdjust.2d {FEA} | R Documentation |
ManualAdjust.2d
Description
Allows for manual refinement of the triangular mesh generated based on given parameters. Will remove triangle elements that are identified in the input (loc).
Usage
ManualAdjust.2d(meshP, meshT, edge, centroid, loc)
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. |
edge |
Coordinate points of the initial geometry. |
centroid |
Matrix (2 x n) of triangle elements. |
loc |
String containing the number of the meshT matrix row of the triangle chosen to be removed. |
Value
Generates new mesh and centroid tables
Meshpts |
Includes both new mesh coordinate points and triangulation of points. |
Centroids |
Centroid positions for each triangle element. |
Examples
data(triMesh)
data(polyshape)
meshP = triMesh$MeshPts$p
meshT = triMesh$MeshPts$T
edge = polyshape$Line
centroid = triMesh$Centroids
loc = c(7, 35, 17)
ManualAdjust.2d(meshP, meshT, edge, centroid, loc)
[Package FEA version 0.0.2 Index]