Modeladvanced
Discrete shells
Also called discrete shell model.
A thin shell model for triangle meshes. Membrane terms plus a bending energy that sums, over edges, the squared change of the bend angle times the rest edge length over a rest height.
Discrete shells is a model of thin flexible objects, such as hats, leaves, paper and cans, on a triangle mesh. A shell differs from a plate: a plate is flat when it is at rest, and a shell has a curved rest shape. The model keeps the membrane energies of a cloth simulator and replaces its bending term by an energy in the change of the angle at each edge, measured against a rest mesh that can be curved. It differs from bending springs of a mass-spring system, which cannot tell the sign of a fold, and from the quadratic bending model, which is its linearization about a flat rest shape for isometric motion.
The machine
The input is a 2-manifold triangle mesh with deformed positions (m) and rest positions (m). The rest mesh does not have to be flat. A bar marks a rest quantity. For an edge the length is . For a triangle the area is . For an interior edge with the two triangles and , the bend angle is the signed angle between the normals of and , which is minus the dihedral angle; it is when the two triangles are flat. The rest heights of the two triangles over are and , and
which is a third of the average of the two heights (Section 2 and the appendix of the paper give the two forms of the same constant).
The energy is (equation (3)) with
(equation (2) for ). and are the membrane terms of the reference code of the paper, and the authors say that any membrane model with small membrane strain will do. has the unit m, has m and has no unit, so is in N, in N/m and the bending stiffness in J. The stiffnesses are set by the user.
The masses are lumped: vertex gets a third of the rest area of its triangles times the area density (kg/m). The motion is , plus an optional damping force proportional to per edge. The paper steps this with the Newmark method with for production runs, for debugging and for the least numerical damping, and takes the gradients and Hessians by automatic differentiation.
The bending term comes from the squared change of the mean curvature (equation (1)):
where is the shape operator and the mean curvature. The appendix cuts the rest surface into one diamond tile per edge, made of the edge and the barycenters of its two triangles. The integral of over a tile is (the authors cite Cohen-Steiner and Morvan), and the tile has the area . So the mean of the difference over the tile is . The authors then set the integral of the square equal to the area times the squared mean, which they state for fine meshes with no degenerate triangles. This gives the term of , with the factor 4 put into .
DISCRETE-SHELL-ENERGY(x, xbar, mesh, kL, kA, kB)- 1
W <- 0 - 2
for each edge e: W <- W + kL (1 - |e| / |ebar|)^2 |ebar| - 3
for each triangle t: W <- W + kA (1 - A_t / Abar_t)^2 Abar_t - 4
for each interior edge e = (x0, x1) with triangles (x0, x1, x2) and (x0, x1, x3): - 5
n0 <- (x1 - x0) x (x2 - x0), n1 <- (x3 - x0) x (x1 - x0) - 6
theta <- atan2((n0 x n1) . (x1 - x0) / |x1 - x0|, n0 . n1) - 7
thetabar <- the same angle on the rest mesh - 8
hbar <- (hbar_0 + hbar_1) / 6 - 9
W <- W + kB (theta - thetabar)^2 |ebar| / hbar - 10
return W
The rest quantities , , and are computed once. The use of atan2 on L6 is a choice of this page that keeps the angle accurate near and near .
The standing assumptions are: the object is thin (the paper takes a width to thickness ratio above 100); the deformation is mostly isometric, so the membrane stiffness is high; the membrane and bending energies are separate, which the authors call a reasonable simplification for animation; and the mesh is fine and has no degenerate triangles, for the derivation of .
What it counts
The model gives the elastic energy (J), the internal forces (N) and, with a time stepper, the motion of the shell. Each edge term depends on the four vertices of the two triangles of the edge, so one evaluation of or of costs time for edges and triangles, which is for a mesh of vertices and bounded genus. The Hessian has a dense block per interior edge and per triangle, so it is sparse with nonzeros, and it changes with at every step. The paper gives no operation counts; its runs took from a few minutes to a few hours on a 2 GHz Pentium 4 (measured, the mesh sizes are not given).
Relation to other models
- Bending springs. A mass-spring system resists bending by springs across the edges, which are coupled with stretch and see only the distance of the two far vertices. The paper notes that these springs are not sensitive to the sign of the dihedral angle, so they cannot hold a curved rest shape.
- Baraff-Witkin cloth. Its bend condition is also a function of the angle between two triangle normals, but on a flat rest shape. The paper says that a cloth code of this kind becomes a shell code when the rest mesh is stored in 3D and is computed from it; stored rest angles on a flat rest mesh only allow developable shapes.
- Elastically deformable models. Terzopoulos et al. use the difference of the metric and curvature tensors of a smooth surface and discretize at the end. Discrete shells defines the energy on the triangle mesh directly; the authors place their model in that framework.
- Quadratic bending model. For a flat rest shape and isometric motion, Bergou et al. show that the edge based mean curvature vector is the linearization of this model, and of the models of Bridson et al. (2003) and Cohen-Steiner and Morvan, about the flat state. Result 7 below gives the exact relation for one edge.
- Bridson, Marino and Fedkiw (2003). In the same proceedings they treat bending and wrinkles of cloth with a similar formula; the paper says so in Section 2.
- Discrete elastic rods use the same discrete geometric approach for curves: a curvature on the mesh, a rest value and a squared difference.
- Finite element shells. Kirchhoff-Love shell elements, for example on subdivision surfaces, solve the continuum shell equations. The paper presents its model as a simpler path with the same kind of behaviour, not as a discretization with a convergence proof.
Known results in the model
- Rigid motions and momentum (proved). Each term of depends only on edge lengths, triangle areas and bend angles of , which do not change under a rigid motion. So the internal forces have zero sum and zero total torque, and they keep the linear and the angular momentum. The same holds for a rigid motion of the rest mesh.
- The rest shape is an equilibrium (proved). Every term is a square that is zero at , so is the minimum and . This holds for a curved rest shape too, which is the point of the model. If the rest angles are changed so that no surface with the rest lengths has them, the rest state is no longer free of stress; the paper shows this with a sheet of paper creased on one half.
- The sign of a fold counts (proved). is signed. An edge with rest angle that is bent to has the bending energy , not . A spring between the two far vertices of a flat pair of triangles has the same length for the angles and , by the reflection in the plane of the other triangle.
- Scale (proved). If and are both scaled by , then , and do not change, so does not change. The smooth energy has the same property. scales with and with .
- Mean, not Gaussian, curvature (proved). The determinant of the shape operator in place of the trace gives the Gaussian curvature. It depends only on the metric (Gauss's Theorema Egregium), so its change is zero under isometric deformation, which is pure bending, and an energy in it would not resist bending. The paper uses this argument to choose the mean curvature.
- The simplified energy (stated by the authors, with a measurement). The term , without , depends only on the shape and not on the triangulation. The appendix states that no discretization of equation (1) on piecewise planar surfaces can both depend only on the shape and converge under refinement, because the integral of the squared mean curvature of a polyhedral surface is in general unbounded. The paper gives this argument in two sentences and not as a full proof. In the hat runs on meshes with near uniform sampling, the simplified term gave results that the authors found satisfactory (measured, by visual comparison); they recommend equation (2) for meshes with nonuniform sampling.
- Relation to the quadratic bending model (proved). Take a flat rest pair of triangles, and an isometric bend by the angle about the edge. The local energy of the quadratic bending model is then (result 1 on that page). So it equals for the edge, up to a relative error of to leading order, since . A check on five random stencils gave the ratio at , which is to the printed digits.
- Beams, hats and paper (measured). In the paper, a beam fixed at one end with the bending stiffnesses 100, 1000 and 10000 is more rigid for higher stiffness, and a beam with a V shaped cross section is more rigid than a flat beam with the same stiffness. A simulated hat dropped on a table was compared with video of a real hat and the brim bends in the same way; the comparison is visual. Plastic deformation is made by a change of the rest angles , which bends the rest shape without stretch; a change of itself could add membrane strain.
References
- Eitan Grinspun, Anil N. Hirani, Mathieu Desbrun and Peter Schröder, Discrete shells, Eurographics/SIGGRAPH Symposium on Computer Animation (SCA 2003), 62-67, 2003, Section 2 (equations (1) to (3), the lumped masses, the damping force and the remark on Gaussian curvature), Section 3 (the curved rest shape, Newmark steps and automatic differentiation), Section 4 (beams, hats and paper) and the appendix (the tile height and the simplified energy)
- Miklós Bergou, Max Wardetzky, David Harmon, Denis Zorin and Eitan Grinspun, A quadratic bending model for inextensible surfaces, Eurographics Symposium on Geometry Processing (SGP 2006), 227-230, 2006, Section 2 (the edge based mean curvature vector is the linearization of the models of Grinspun et al. and others about a flat rest state)
Where this leads
About this page
The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.
| Ladder | Level | What the next level needs |
|---|---|---|
| Human proof | H0 no proof |
|
| Lean | L0 no Lean part |
|
| Visual | V0 none |
|
| Writing | W4 complete |
|
Tag RG1SSM Edit this page History Report an error Markdown