geometryFromMesh
Create 2-D or 3-D geometry from mesh
Syntax
Description
geometryFromMesh(
creates geometry within model
,nodes
,elements
)model
. For planar and volume triangulated
meshes, this function also incorporates nodes
in the
model.Mesh.Nodes
property and elements
in the model.Mesh.Elements
property. To replace the imported mesh
with a mesh having a different target element size, use
generateMesh
.
If elements
represents a surface triangular mesh that bounds a
closed volume, then geometryFromMesh
creates the geometry, but
does not incorporate the mesh into the corresponding properties of the model. To
generate a mesh in this case, use generateMesh
.
geometryFromMesh(
creates a multidomain geometry. Here, model
,nodes
,elements
,ElementIDToRegionID
)ElementIDToRegionID
specifies the subdomain IDs for each element of the mesh.