Skip to content

Chladni figures: the vibration modes of a free plate on the Argyris element

FEM chladni_plate_argyris.py

Sprinkle sand on a square metal plate and draw a bow along its edge: at certain frequencies the sand leaves the parts that move and collects on the lines that do not, the nodal lines of a vibration mode (Chladni, 1787).

Animation of a square plate vibrating in its first seven modes, twelve frames for each period, drawn as a lit surface coloured as a Chladni figure: dark plate, sand-coloured where the plate does not move. The first mode is a saddle with a cross of nodal lines, the second an X, the third a ring, then diagonal bands, a ring with a cross, a grid and an eight-armed star.

The first seven vibration modes, each for one period. The sand marks where the computed mode is close to zero.

The problem

A thin plate vibrates as \(D\,\Delta^2 w=\rho h\,w_{tt}\), so its modes solve \(K\,w=\Omega^2 M\,w\) with the bending energy and the mass

\[\int_\Omega (1-\nu)\,|\nabla^2 w|^2+\nu\,(\Delta w)^2 \;\mathrm{d}x ,\qquad M=\int_\Omega w\,v\;\mathrm{d}x ,\]

for a unit plate with all four edges free and \(\nu=0.3\). The energy holds second derivatives, so the field must be \(C^1\): the Argyris triangle (21 unknowns: value, gradient and Hessian at the vertices, the normal slope at the edge midpoints) is conforming and quintic.

The jNO code

The unknown lives on the Argyris space, and the form is the energy as it reads. Free edges need nothing: zero moment and shear are the natural conditions of this energy, so the list holds no boundary term. eigs(mass=...) returns the lowest \(\lambda=\Omega^2\):

def plate_modes(size, k, supported=False):
    """The k lowest modes of the unit plate (free edges, or simply supported) on Argyris triangles: Omega and DOF vectors."""
    d = jno.shape.rect(0, 0, 1, 1, size=size).domain()
    x, y, _ = d.variable("interior", split=True)
    b = d.variable("boundary", split=True)
    u = d.unknown(space="Argyris")
    v = u.test()
    ui, vi = u.bind(x=x, y=y), v.bind(x=x, y=y)
    hess = lambda w: jno.np.hessian(w, [x, y])
    lap = lambda w: jno.np.laplacian(w, [x, y])
    ddot = lambda a, b: jno.np.inner(a, b, n_contract=2)
    energy = (1 - NU) * ddot(hess(ui), hess(vi)) + NU * lap(ui) * lap(vi)
    plate = jno.fem([energy, u(*b) - 0.0] if supported else [energy])  # free edges need no boundary term
    lam, X = plate.eigs(mass=[ui * vi], k=k)
    return d, plate.dofs, np.sqrt(np.abs(np.asarray(lam))), np.asarray(X)

The same code with supported=True gives the simply supported plate, whose modes are exactly \(\Omega=\pi^2(m^2+n^2)\).

Result

Twelve Chladni figures of the free square plate, each a dark square with sand-coloured nodal lines and the frequency parameter above it: a cross, an X, a ring, two diagonal bands, two rings with an X, a grid and an eight-armed star and further lattices.

The simply supported plate matches \(\pi^2(m^2+n^2)\) to \(10^{-8}\) on the 0.10 mesh. The free plate's three rigid-body modes are zero to round-off, and its fourth and fifth vibration modes are a degenerate pair. Its frequencies converge from a few hundred unknowns on (the classic study of this problem is Leissa, J. Sound Vib. 31, 257–293, 1973):

mesh size unknowns \(\Omega_1\) \(\Omega_2\) \(\Omega_3\) \(\Omega_{4,5}\) \(\Omega_6\)
0.25 260 13.4682 19.5961 24.2702 34.8011 61.0937
0.10 (the figure) 1253 13.4682 19.5961 24.2702 34.8009 61.0932
0.05 4543 13.4682 19.5961 24.2702 34.8009 61.0932

Full script

The whole script, as it runs in the tests
"""Chladni figures: the free vibration modes of a square plate on the Argyris element.

A thin plate (Kirchhoff) vibrates as  D Delta^2 w = rho h w_tt , so its modes solve  K w = lambda M w  with
lambda = omega^2 rho h / D, the bending energy  (1 - nu) |hess w|^2 + nu (Delta w)^2  and the mass  w^2.
All four edges are free: bending moment and effective shear vanish, which is the natural condition of that
energy, so the boundary needs no term at all. The nodal lines of a mode are where sand collects on a plate
shaken at that frequency. A fourth-order form needs a C1 element: Argyris, a quintic on each triangle with
the value, gradient and Hessian at the vertices and the normal slope at the edge midpoints.
"""

import jax
import numpy as np

import jno

jax.config.update("jax_enable_x64", True)  # a fourth-order operator needs double precision
run = jno.setup(__file__)
NU, SIZE, MODES = 0.3, 0.1, 18


def plate_modes(size, k, supported=False):
    """The k lowest modes of the unit plate (free edges, or simply supported) on Argyris triangles: Omega and DOF vectors."""
    d = jno.shape.rect(0, 0, 1, 1, size=size).domain()
    x, y, _ = d.variable("interior", split=True)
    b = d.variable("boundary", split=True)
    u = d.unknown(space="Argyris")
    v = u.test()
    ui, vi = u.bind(x=x, y=y), v.bind(x=x, y=y)
    hess = lambda w: jno.np.hessian(w, [x, y])
    lap = lambda w: jno.np.laplacian(w, [x, y])
    ddot = lambda a, b: jno.np.inner(a, b, n_contract=2)
    energy = (1 - NU) * ddot(hess(ui), hess(vi)) + NU * lap(ui) * lap(vi)
    plate = jno.fem([energy, u(*b) - 0.0] if supported else [energy])  # free edges need no boundary term
    lam, X = plate.eigs(mass=[ui * vi], k=k)
    return d, plate.dofs, np.sqrt(np.abs(np.asarray(lam))), np.asarray(X)


runs = {size: plate_modes(size, MODES) for size in (0.25, 0.15, SIZE, 0.05)}
for size, (_, dofs, omega, _) in runs.items():
    print(f"size {size}: {dofs} DOFs, Omega 1-6 = " + " ".join(f"{o:.4f}" for o in omega[3:9]))
d, dofs, omega, X = runs[SIZE]
assert omega[:3].max() < 1e-2, "the three rigid-body modes (two tilts and a lift) have no frequency"
# exact reference: the simply supported square (w = 0 on the edges, moments free) has Omega = pi^2 (m^2 + n^2)
_, _, ss, _ = plate_modes(SIZE, 4, supported=True)
exact = np.pi**2 * np.array([2, 5, 5, 8])
print(
    "simply supported, Omega 1-4 = " + " ".join(f"{o:.5f}" for o in ss) + "   exact " + " ".join(f"{o:.5f}" for o in exact)
)
assert np.abs(ss / exact - 1).max() < 1e-6, ss
# the free plate's fourth and fifth vibration modes (a symmetric pair) are degenerate
assert abs(omega[7] / omega[6] - 1) < 1e-5, omega[6:8]