Discrete 2-D or 3-D geometry description
DiscreteGeometry
describes a 2-D or 3-D geometry in the
form of a discrete geometry object. PDEModel
, StructuralModel
, and ThermalModel
objects have a
Geometry
property, which can be an
AnalyticGeometry
or DiscreteGeometry
object.
Create a discrete geometry for your model by using one of the following approaches:
Use importGeometry
to import a 2-D
or 3-D geometry from an STL file and attach it to the model.
Use geometryFromMesh
to reconstruct a
2-D or 3-D geometry from mesh and attach it to the model.
Use multicuboid
, multicylinder
, or multisphere
to create a 3-D
geometry. Then assign the resulting geometry to the
Geometry
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;
Use extrude
to create a 3-D geometry by vertically extruding a
2-D geometry.
addFace
| addVertex
| AnalyticGeometry Properties | geometryFromMesh
| importGeometry
| multicuboid
| multicylinder
| multisphere
| PDEModel
| StructuralModel
| ThermalModel