Documentation

Partial Differential Equation Toolbox Functions

Alphabetical List By Category

PDE Problem Setup

PDE Problem Setup Basics

createpde Create PDE model
pdetool Open PDE app
PDEModel PDE model container

2-D Geometry

geometryFromEdges Create 2-D geometry
pdegplot Plot PDE geometry
decsg Decompose Constructive Solid Geometry into minimal regions
csgchk Check validity of Geometry Description matrix
csgdel Delete borders between minimal regions
pdearcl Interpolation between parametric representation and arc length
wgeom Write geometry specification function
pdetool Open PDE app
pdecirc Draw circle
pdeellip Draw ellipse
pdepoly Draw polygon
pderect Draw rectangle

3-D Geometry

geometryFromMesh Create 3-D geometry from a triangulated mesh
importGeometry Import 3-D geometry
pdegplot Plot PDE geometry

Boundary Conditions

applyBoundaryCondition Add boundary condition to PDEModel container
wbound Write boundary condition specification file
pdetool Open PDE app

PDE Coefficients

findCoefficients Locate active PDE coefficients
specifyCoefficients Specify coefficients in a PDE model

Meshing

generateMesh Create triangular or tetrahedral mesh
pdemesh Plot PDE mesh
adaptmesh Adaptive 2-D mesh generation and PDE solution
initmesh Create initial 2-D mesh
meshToPet [p,e,t] representation of FEMesh data
jigglemesh Jiggle internal points of triangular mesh
refinemesh Refine triangular mesh
pdeent Indices of triangles neighboring given set of triangles
pdemesh Plot PDE mesh
pdesdp Indices of points/edges/triangles in set of subdomains
pdesde Indices of points/edges/triangles in set of subdomains
pdesdt Indices of points/edges/triangles in set of subdomains
pdetrg Triangle geometry data
pdetriq Triangle quality measure
pdeadgsc Select triangles using relative tolerance criterion
pdeadworst Select triangles relative to worst value
poimesh Make regular mesh on rectangular geometry
pdetool Open PDE app

Initial Conditions

findInitialConditions Locate active initial conditions
setInitialConditions Give initial conditions or initial solution

PDE Solvers

assembleFEMatrices Assemble finite element matrices
solvepde Solve PDE specified in a PDEModel
solvepdeeig Solve PDE eigenvalue problem specified in a PDEModel
adaptmesh Adaptive 2-D mesh generation and PDE solution
assempde Assemble finite element matrices and solve elliptic PDE
assema Assemble area integral contributions
assemb Assemble boundary condition contributions
dst Discrete sine transform
idst Discrete sine transform
hyperbolic Solve hyperbolic PDE problem
parabolic Solve parabolic PDE problem
pdeeig Solve eigenvalue PDE problem
pdejmps Error estimates for adaptation
pdenonlin Solve nonlinear elliptic PDE problem
poiasma Boundary point matrix contributions for fast solvers of Poisson's equation
poicalc Fast solver for Poisson's equation on rectangular grid
poiindex Indices of points in canonical ordering for rectangular grid
poisolv Fast solution of Poisson's equation on rectangular grid
sptarn Solve generalized sparse eigenvalue problem
pdetool Open PDE app

Solution Visualization and Interpolation

evaluateGradient Evaluate gradients of PDE solutions at arbitrary points
interpolateSolution Interpolate PDE solution to arbitrary points
pdeplot Plot solution in 2-D geometry
pdeplot3D Plot 3-D solution or surface mesh
createPDEResults Create solution object
evaluate Interpolate data to selected locations
pdecont Shorthand command for contour plot
pdecgrad Flux of PDE solution
pdegrad Gradient of PDE solution
pdesurf Shorthand command for surface plot
pdesmech Calculate structural mechanics tensor functions
pdeintrp Interpolate from node data to triangle midpoint data
pdeprtni Interpolate from triangle midpoint data to node data
tri2grid Interpolate from PDE triangular mesh to rectangular grid
EigenResults Contain PDE eigenvalue solution and derived quantities
StationaryResults Contain time-independent PDE solution and derived quantities
TimeDependentResults Contain time-dependent PDE solution and derived quantities
pdeInterpolant Interpolant for nodal data to selected locations

Applications

Electrostatics and Magnetostatics

solvepde Solve PDE specified in a PDEModel
pdetool Open PDE app

Structural Mechanics

solvepde Solve PDE specified in a PDEModel
pdetool Open PDE app

AC Power Electromagnetics

solvepde Solve PDE specified in a PDEModel
pdetool Open PDE app

DC Conduction and Elliptic Problems

solvepde Solve PDE specified in a PDEModel
pdetool Open PDE app

Heat Transfer and Diffusion

solvepde Solve PDE specified in a PDEModel
pdetool Open PDE app

Eigenvalue Problems

solvepdeeig Solve PDE eigenvalue problem specified in a PDEModel
pdetool Open PDE app
Was this topic helpful?