3-D geometry description
DiscreteGeometry describes 3-D geometry in the form of an
PDEModel object has a
Geometry property. For 3-D geometry, the
Geometry property is a
You also can use the
multisphere functions to create a geometry that you can later assign to
your model. These functions let you create multi-cellular geometries for modeling
subdomains or single domains of cubic, cylindrical, or spherical shapes, respectively.
All cells must be of the same type: you cannot combine cuboids, cylinders, and spheres
in one geometry. To add a multi-cellular geometry to a
DiscreteGeometry to the
property of the model. For example, create a PDE model and add the following geometry
formed by three spheres to the model.
model = createpde; gm = multisphere([1,2,3]); model.Geometry = gm;
NumCells— Number of geometry cells
Number of geometry cells, returned as a positive integer.
NumEdges— Number of geometry edges
Number of geometry edges, returned as a positive integer.
NumFaces— Number of geometry faces
Number of geometry faces, returned as a positive integer.
NumVertices— Number of geometry vertices
Number of geometry vertices, returned as a positive integer.