M66. The plate equation, between walls¶
Package: A7, its second part: the plate equation \(\nabla^4 u = f\) on a box, with two conditions on each face, as a plate that is clamped or simply supported. The operator is the square of one that the modes of the axes hold, and the equation is solved as two equations of second order.
What was built¶
bounded_plate. A stationary equation \(a\,\nabla^4 u + b\,\nabla^2 u + c\,u = f\) on a box, in any dimension, written with Laplacians or with its derivatives. It is split into \((\nabla^2 - \mu_1)w = f/a\) and \((\nabla^2 - \mu_2)u = w\), which the direct solve of milestone 17 takes one after the other.Two conditions on a face. A condition is a sum of derivatives of the unknown up to the third order. It is rewritten in \(u\) and \(w\), so that no derivative above the first is taken across a face. One condition of each face, on the value or the slope of \(u\), belongs to the equation for \(u\). The other joins the two equations.
The values of \(w\) on the faces are unknowns. The matrix of their influence on the conditions that join is computed column by column, in parallel, and they are found by least squares, with a QR factorization that picks its columns.
Sides of every kind: clamped, simply supported with the Laplacian or with the second derivative across, sliding, a mix of value and slope, and in one dimension the free end of a beam.
The method
collocation_splitin a plan, and a note that says what is split and what is found.In Python,
boundary=takes a list of two equations for a face or for all faces, andpm.normal_derivativeis, on a face of a box or of a round domain, the derivative along the coordinate of the face, pointing out.
What it reaches¶
A clamped unit square under a uniform load has the deflection \(1.26531908748\cdot10^{-3}\) in its middle. The books give 0.00126532.
Points per axis |
Error in the middle |
Time |
|---|---|---|
17 |
\(3\cdot10^{-11}\) |
0.005 s |
33 |
\(2\cdot10^{-14}\) |
0.01 s |
65 |
below \(10^{-14}\) |
0.05 s |
129 |
below \(10^{-14}\) |
0.5 s |
The planner takes 0.1 s to choose \(64^2\) points for it. A square plate that rests on its sides agrees with the series of Navier, \(4.06235266\cdot10^{-3}\), to \(10^{-10}\). A clamped unit cube takes 0.6 s on \(17^3\) points and 6 s on \(24^3\).
The tests check the clamped plate, a plate with its value and slope given whose error falls by more than fifty from 8 to 11 and from 11 to 14 points, a plate under tension on a foundation, whose two operators are complex, sides of every kind against a solution that is known, beams that are clamped, supported, free at one end and on a foundation, a cube, and a strip that is periodic.
Decisions¶
D66.1. Two equations of second order, not one operator of fourth¶
Developer, 2026-11-20.
Collocation of \(\nabla^4\) itself would need a basis that holds two conditions on each face, and would leave a dense system in all points of a plane: the modes of the axes do not hold \(\partial_x^2\partial_y^2\) together with \(\partial_x^4\). The operator is a product of two that the modes do hold, with roots that may be complex, which the solve takes as it takes any complex coefficient. So everything inside the box is the direct solve that exists, twice, and what is new lives on the faces alone.
D66.2. The values on the faces by their influence, not by iteration¶
Developer, 2026-11-20.
An iteration on the values of \(w\) on the faces was tried first. The operator from those values to the slope of \(u\) smooths by one order, so its singular values fall like one over the wave number without gathering anywhere, and GMRES took as many steps as the faces have points: 186 for 188 unknowns on \(49^2\) points. A preconditioner would have to be the root of the Laplacian of each face, with the corners in it. The matrix is small in two dimensions, \(4(N-1)\) rows, and each of its columns costs two direct solves. So it is formed and factorized. In three dimensions it has \(6(N-1)^2\) rows and sets the limit: 3200 of them, which is 24 points along each axis.
D66.3. A fit, because of the corners¶
Developer, 2026-11-20.
The matrix has no inverse. In each corner of a square one pattern of values of \(w\) on the two faces changes nothing inside, and the slopes of \(u\) on the two faces are tied by the mixed derivative of \(u\) in the corner. What the kernel is depends on the kinds of the sides, so it is not written down but found: a factorization that reveals the rank, and the solution of least squares. The singular value decomposition did that in 46 s for a cube of \(24^3\) points. A QR factorization with column pivoting does it in half the time, and in real numbers, for a real equation with real roots, in 6 s. The values along the columns that are dropped stay zero: they change nothing but \(w\) on the faces.
D66.4. Conditions in the two unknowns¶
Developer, 2026-11-20.
A condition on \(\partial_n^2 u\) or \(\partial_n^3 u\) could be evaluated by differentiating \(u\) on the grid, which loses a digit for every power of the number of points. Written with \(w\), the same condition holds \(w\) or its slope and derivatives of \(u\) along the face. Among two conditions on the value and slope, the one with the value is taken for the equation of \(u\), so that this equation is not left open up to a constant.
D66.5. A free edge on a beam only¶
Developer, 2026-11-20.
The free end of a beam has no condition on \(u\) or its slope. Then the value of \(u\) at the end is found like that of \(w\): two unknowns, two conditions. On a plate the free edge has conditions that hold Poisson’s ratio and derivatives along the edge, and a force in each free corner. A problem cannot state a condition in a corner, so a face of a plate without a condition on the value or the slope is refused.
D66.6. The normal of a face, in the frontend¶
Developer, 2026-11-20.
A plate that is clamped all around has one pair of conditions, but the
slope was written along the coordinate of each face, with a sign that
changes from the lower face to the upper. pm.normal_derivative
existed for regions. On a face it is now replaced, in Python, by the
derivative along the coordinate with the sign that points out. The core
is unchanged, and an equation of second order gains the same.
What is left¶
A free edge of a plate, with its corners.
The plate that vibrates, and its modes.
Coefficients that vary and nonlinear terms in an equation of fourth order.
An iteration in the place of the dense matrix, for three dimensions.
A plate equation whose split resonates.