create triangular or tetrahedral mesh -pg电子麻将胡了
create triangular or tetrahedral mesh
description
creates a mesh for the geometry stored in the mesh = generatemesh(model)model object. the
toolbox stores the mesh in the mesh property of the structural,
thermal, electromagnetic model, or pdemodel.
model must contain a geometry. for details about creating a
geometry and including it in a model, see geometry and mesh and the
geometry functions listed there.
___ = generatemesh(___,
modifies the mesh generation according to the name,value)name,value
arguments. this syntax works with the model and
femodel arguments.
examples
input arguments
output arguments
more about
tips
generatemeshcan return slightly different meshes in different releases. for example, the number of elements in the mesh can change. avoid writing code that relies on explicitly specified node and element ids or node and element counts.generatemeshuses the following set of rules when you specify local element sizes withhface,hedge, orhvertex. these rules are valid for both the default and custom values ofhminandhmax.if you specify local sizes for regions near each other,
generatemeshuses the minimum size. for example, if you specify size 1 on an edge and size 0.5 on one of its vertices, the function gradually reduces the element sizes in the proximity of that vertex.if you specify local sizes smaller than
hmin,generatemeshignoreshminin those localities.if you specify local sizes larger than
hmax,generatemeshignores the specified local sizes.hmaxis not exceeded anywhere in the mesh.






