|
Eigenvalues and Modal Analysis |
Top Previous Next |
|
FlexPDE can also compute the eigenvalues and eigenfunctions of a PDE system.
Consider the homogeneous time-dependent heat equation as in our example above,
together with homogeneous boundary conditions
and/or
on the boundary.
If we wish to solve for steady oscillatory solutions to this equation, we may assert
The PDE then becomes
The values of
Two modifications are necessary to our basic steady-state script for the sample problem to cause FlexPDE to solve the eigenvalue problem.
TITLE 'Modal Heat Flow Analysis' SELECT modes=4 VARIABLES Phi { the temperature } DEFINITIONS K = 1 { default conductivity } R = 0.5 { blob radius } EQUATIONS Div(k*grad(Phi)) + LAMBDA*Phi = 0 BOUNDARIES REGION 1 'box' START(-1,-1) VALUE(Phi)=0 LINE TO (1,-1) NATURAL(Phi)=0 LINE TO (1,1) VALUE(Phi)=0 LINE TO (-1,1) NATURAL(Phi)=0 LINE TO CLOSE REGION 2 'blob' { the embedded blob } k = 0.2 { This value makes more interesting pictures } START 'ring' (R,0) ARC(CENTER=0,0) ANGLE=360 TO CLOSE PLOTS CONTOUR(Phi) VECTOR(-k*grad(Phi)) ELEVATION(Phi) FROM (0,-1) to (0,1) ELEVATION(Normal(-k*grad(Phi))) ON 'ring' END
The solution presented by FlexPDE will have the following characteristics:
The first two contours are as follows:
|