FUNCTION REFERENCE

solvepdeeig

Solve a 2-D PDE eigenvalue problem (scalar or N-equation system) in a given range.

Solve a 2-D PDE eigenvalue problem (scalar or N-equation system) in a given range.

Syntax

results = solvepdeeig(model, evr)

Solves the generalized symmetric eigenvalue problem -div(c*grad(u)) + a*u = lambda*d*u on model.Mesh for all eigenvalues lambda in evr = [lo hi] (lo may be -Inf, hi must be finite), returning a pde.EigenResults value object with Eigenvalues (k-by-1, ascending), Eigenvectors (N_nodes-by-k for scalar, N_nodes-by-N_comp-by-k for systems, M-normalized and zero at Dirichlet DOFs), and Mesh. Requires m = 0, positive definite d, symmetric c, and homogeneous boundary conditions (f, g, and Dirichlet r/u values are ignored; generalized Neumann q is included in K).

Example

R1=[3;4;0;1;1;0;0;0;1;1]; dl=decsg(R1); m=createpde(); geometryFromEdges(m,dl); generateMesh(m,'Hmax',0.2,'GeometricOrder','quadratic'); specifyCoefficients(m,'m',0,'d',1,'c',1,'a',0,'f',0); applyBoundaryCondition(m,'dirichlet','Edge',1:4,'u',0); res=solvepdeeig(m,[0 60]); numel(res.Eigenvalues) >= 3

Differences from MATLAB: linear 2-D symmetric eigenvalue problems with m = 0 and positive definite d only; quadratic eigenvalue problems (nonzero m), nonsymmetric c, and 3-D geometries are not supported yet.

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