eigs

MapdlMath.eigs(nev, k, m=None, c=None, phi=None, algo=None, fmin=None, fmax=None)

Solve an eigenproblem.

Parameters
nevint

Number of eigenvalues to compute.

kansys.AnsMat

An array representing the operation A * x where A is a square matrix.

mansys.AnsMat, optional

An array representing the operation M * x for the generalized eigenvalue problem:

K * x = M * x

Examples

Solve an eigenproblem using the mass and stiffness matrices stored from a prior ansys run.

>>> k = mm.stiff()
>>> m = mm.mass()
>>> nev = 10
>>> a = mm.mat(k.nrow, nev)
>>> ev = mm.eigs(nev, k, m, phi=a)