Create complex 2-D geometries by drawing, overlapping, and rotating basic shapes
The PDE Modeler app provides an interactive interface for solving 2-D geometry problems. Using the app, you can create complex geometries by drawing, overlapping, and rotating basic shapes, such as circles, polygons and so on. The app also includes preset modes for applications, such as electrostatics, magnetostatics, heat transfer, and so on.
When solving a PDE problem in the app, follow these steps:
Create a 2-D geometry.
Specify boundary conditions.
Specify equation coefficients.
Generate a mesh.
Specify parameters for solving a PDE. The set of parameters depends on the type of PDE. For parabolic and hyperbolic PDEs, these parameters include initial conditions.
Solve the problem.
Specify plotting parameters and plot the results.
You can choose to export data to the MATLAB® workspace from any step in the app and continue your work outside the app.
The app does not support 3-D geometry problems and systems of more than two PDEs.
MATLAB Toolstrip: On the Apps tab, under Math, Statistics and Optimization, click the app icon.
MATLAB command prompt: Enter
pdeModeler opens the PDE Modeler app or brings focus to the
app if it is already open.
pdecirc(xc,yc,r) opens the PDE Modeler app and draws a circle
with center in
(xc,yc) and radius
pdeellip(xc,yc,a,b,phi) opens the PDE Modeler app and draws
an ellipse with center in
(xc,yc) and semiaxes
b. The rotation of the ellipse (in
pdepoly(x,y) opens the PDE Modeler app and draws a polygon
with corner coordinates defined by
pderect([xmin xmax ymin ymax])
pderect([xmin xmax ymin ymax]) opens the PDE Modeler app and
draws a rectangle with corner coordinates defined by
[xmin xmax ymin