Wolfram Language

Differential Eigensystems

Eigenmodes in a Knot

Specify a knot.

In[1]:=
Click for copyable input
\[CapitalOmega] = KnotData["Stevedore", "MeshRegion"]
Out[1]=

Compute 10 eigenfunctions of the Laplacian over the knot.

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

Visualize the 10th eigenfunction as a set of heated nodes.

show complete Wolfram Language input
In[3]:=
Click for copyable input
nm = 10; c = Take[funs[[nm]]["ElementMesh"]["Coordinates"], {1, -1, 10}]; Graphics3D[ Point[c, VertexColors -> ColorData["Heat"] /@ Rescale[funs[[nm]] @@@ c]], Boxed -> False]
Out[3]=

Related Examples

de es fr ja ko pt-br ru zh