I don't know if I am in a good place to ask my question, but I'd like someone to create a visual support for a problem of mathematics. I was wondering what is the fundamental different between a Neumann eigenvalue problem and Dirichlet eigenvalue problem. I know that for DEP, we just fix the boundary (e.g. a drum), but what about the NEP. Now, consider a rectangle Ω=[0,l]×[0,m]. Separate variables using cartesian coordinates x and y. That is, look for solution of the form φ(x,y)=f(x)g(y)
- Dirichlet boundary condition φ|∂Ω=0.
The eigenfunction are φj,k(x,y)=sin(jπlx)sin(kπmy) for j,k≥1
- Neumann boundary conditions ∂νφ|∂Ω=0
The eigenfunction are φj,k(x,y)=cos(jπlx)cos(kπmy) for j,k≥0
With these informations, does someone could show me, in 3-D, some eigenfunctions on the square for DEP and NEP (with Mathematica)?
Answer
Her is a start:
Clear[ψD];
ψD[j_, k_][x_, y_] := Sin[j Pi x] Sin[k Pi y]
Clear[ψN];
ψN[j_, k_][x_, y_] := Cos[j Pi x] Cos[k Pi y]
ContourPlot[ψD[1, 2][x, y], {x, y} ∈
Polygon[{{0, 0}, {1, 0}, {1, 1}, {0, 1}}],
PlotPoints -> 100, AspectRatio -> Automatic, PlotRange -> All]
ContourPlot[ψN[2, 2][x, y], {x, y} ∈
Polygon[{{0, 0}, {1, 0}, {1, 1}, {0, 1}}], PlotPoints -> 100,
AspectRatio -> Automatic, PlotRange -> All]
Comments
Post a Comment