create 2-凯发k8网页登录
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.