Wolfram Language

Differential Eigensystems

Eigenfunctions of a 3D Laplacian

Specify a 3D region.

In[1]:=
Click for copyable input
\[CapitalOmega] = ImplicitRegion[ x^6 - 5 x^4 y z + 3 x^4 y^2 + 10 x^2 y^3 z + 3 x^2 y^4 - y^5 z + y^6 + z^6 <= 1, {{x, -1.25, 1.25}, {y, -1.25, 1.25}, {z, -1.25, 1.25}}];

Compute the eigenvalues and eigenfunctions of the Laplacian operator.

In[2]:=
Click for copyable input
{vals, funs} = NDEigensystem[Laplacian[u[x, y, z], {x, y, z}], u, {x, y, z} \[Element] \[CapitalOmega], 4];

Inspect the eigenvalues.

In[3]:=
Click for copyable input
vals
Out[3]=

Visualize the fourth eigenfunction.

show complete Wolfram Language input
In[4]:=
Click for copyable input
Show[ HighlightMesh[BoundaryDiscretizeRegion[\[CapitalOmega]], Style[2, Opacity[0.3]]], SliceContourPlot3D[ funs[[4]][x, y, z], {"ZStackedPlanes", 5}, {x, y, z} \[Element] \[CapitalOmega], Boxed -> False, Axes -> None, ColorFunction -> "TemperatureMap"]]
Out[4]=

Related Examples

de es fr ja ko pt-br ru zh