FUNCTION REFERENCE

pde.PDEModel.solvepde

Solve a stationary or time-dependent 2-D PDE model.

Solve a stationary or time-dependent 2-D PDE model.

Syntax

results = solvepde(model)

Syntax

results = model.solvepde(tlist)

Returns a pde.StationaryResults object for stationary problems or a pde.TimeDependentResults object when a time vector tlist is supplied.

Example

m = createpde; m.geometryFromEdges(decsg([3;4;0;1;1;0;0;0;1;1])); m.generateMesh('Hmax', 0.5); m.specifyCoefficients('m', 0, 'd', 0, 'c', 1, 'a', 0, 'f', 1); m.applyBoundaryCondition('dirichlet', 'Edge', 1:4, 'u', 0); r = m.solvepde(); max(r.NodalSolution) > 0   % true

Differences from MATLAB: Time-dependent solves are bounded at 4096 total degrees of freedom.

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.