Reconstruct a geometry from STL or mesh data:
Import an STL file into MATLAB® by using
STL file format is very common and supported by most CAD
software. In case of a planar STL geometry, the toolbox converts
it to a 2-D geometry by mapping it to the X-Y plane.
Reconstruct a geometry from a mesh by using
This function works with triangulated meshes, including planar,
volume, and surface triangulation that bounds a closed
Create a geometry:
Stack or nest cubes, cylinders, or spheres to create a geometry for a 3-D problem.
Extrude a 2-D geometry into a 3-D geometry.
Use the constructive solid geometry (CSG) approach, write a
geometry function, or use the
function to create a geometry for a 2-D problem. The CSG
approach uses a set of solid building blocks (square, rectangle,
circle, ellipse, and polygon) and combines them to define
Use the PDE Modeler app to create complex 2-D geometries by drawing, overlapping, and rotating basic shapes, such as circles, polygons and so on.
Mesh a geometry by using the
generateMesh function. The
toolbox uses the finite element method (FEM) to solve PDEs. A PDE model
stores the generated mesh as an
FEMesh object in its
Mesh property. For details, see Mesh Data.
|Import 2-D or 3-D geometry from STL data|
|Create 2-D or 3-D geometry from mesh|
|Create 2-D geometry from decomposed geometry matrix|
|Decompose constructive solid 2-D geometry into minimal regions|
|Create geometry formed by several cubic cells|
|Create geometry formed by several cylindrical cells|
|Create geometry formed by several spherical cells|
|Plot PDE geometry|
|Combine two geometries by adding one inside a cell of another|
|Fill void regions in 2-D and split cells in 3-D geometry|
|Add a vertex on a geometry boundary|
|Create void regions inside 3-D geometry|
|Vertically extrude 2-D geometry or specified faces of 3-D geometry|
|Find edges attached to specified cells|
|Find faces attached to specified cells|
|Find edges attached to specified faces|
|Find faces attached to specified edges|
|Find edges nearest to specified point|
|Find faces nearest to specified point|
|Create triangular or tetrahedral mesh|
|Evaluate shape quality of mesh elements|
|Find mesh elements in specified region|
|Find mesh nodes in specified region|
|Area of 2-D mesh elements|
|Volume of 3-D mesh elements|
|Plot PDE mesh|
|Plot solution or mesh for 2-D problem|
|Plot solution or surface mesh for 3-D problem|
|Create and plot PDE visualization object|
|Check validity of Geometry Description matrix|
|Delete borders between minimal regions|
|Interpolation between parametric representation and arc length|
|Write geometry specification function|
|Create adaptive 2-D mesh and solve PDE|
|Create initial 2-D mesh|
|(Not recommended) Jiggle internal points of triangular mesh|
|Refine triangular mesh|
|Indices of triangles neighboring given set of triangles|
|Indices of points/edges/triangles in set of subdomains|
|PDE Modeler||Create complex 2-D geometries by drawing, overlapping, and rotating basic shapes|
Import a 2-D or 3-D geometry from an STL file.
Reconstruct a geometry from a tetrahedral mesh and from a planar multidomain mesh.
Reconstruct a geometry from a triangulated mesh created by the MATLAB
Reconstruct a geometry from a triangulated surface mesh created by the MATLAB
Use constructive solid geometry (CSG) modeling approach to combine basic shapes at the command line.
Create a 2-D geometry by using a parametrized function.
Create a 3-D geometry by stacking or nesting three basic volumes.
Extrude a 2-D geometry imported as an STL file into a 3-D geometry.
Split a single-domain block geometry into two domains.
Create a nested multidomain geometry consisting of a unit sphere and a cube.
Recommended workflow uses
FEMesh objects to represent
Adjust a mesh by using additional arguments of the generateMesh function.
Find mesh elements and nodes by their geometric location or proximity to a particular point or node.
Evaluate the shape quality of mesh elements.
Legacy workflow uses [p,e,t] triples to represent meshes.
Solve a Poisson's equation with a delta-function point source on the unit disk