Deformable body simulation
Problems
- Cloth simulation
Compute the motion of a sheet or garment that stretches little, bends easily, and collides with bodies and with itself. Stiff stretch against soft bending makes explicit steps small.
core
Algorithms
- Baraff-Witkin implicit cloth
Simulate triangle cloth with one linearized implicit Euler step per time step, solved by a conjugate gradient method that filters constraints, with energies built from triangle conditions.
1 languagescore - Corotational finite elements
Extract the rotation of each element by polar decomposition and apply linear elasticity in the rotated frame, which removes the ghost forces of linear FEM under rotation.
1 languagescore - Position based dynamics
Predict particle positions, then project them onto constraints one at a time in Gauss-Seidel sweeps, and set velocities from the change in position.
1 languagescore - Provot's strain limiting
After each step, shorten springs stretched beyond a limit such as ten percent by moving their end points, to avoid the super-elastic look of soft springs.
1 languagescore - Bridson-Fedkiw-Anderson cloth collision handling
Handle cloth contact with repulsion forces for proximity, continuous collision impulses for fast motion, and rigid impact zones as a final safeguard.
1 languagesadvanced - Discrete elastic rods
Simulate hair and cables as a polyline with a bending energy from discrete curvature and a twist energy measured against a parallel transported frame.
1 languagesadvanced - Extended position based dynamics
Position based dynamics with a compliance and a Lagrange multiplier per constraint, so that the converged stiffness does not depend on the time step or on the sweep count.
1 languagesadvanced - Fast mass-spring simulation
Solve implicit Euler for mass-spring systems by block coordinate descent that alternates a local spring direction step and a prefactored global solve.
1 languagesadvanced - Impact zones
Group vertices involved in unresolved simultaneous collisions and move each group rigidly, or project it to a collision-free state, until no collisions remain.
1 languagesadvanced - Invertible finite elements
Compute stresses in the diagonal space of the SVD of the deformation gradient, with a modified model, so that inverted elements recover their shape.
1 languagesadvanced - Meshless shape matching
Pull particles toward goal positions given by the best rigid or linear transform of the rest shape, found by polar decomposition each step.
1 languagesadvanced - O'Brien-Hodgins brittle fracture
Split the stress of each finite element into tensile and compressive parts, form a separation tensor at each node, and cut the mesh there when its largest eigenvalue exceeds the toughness.
1 languagesadvanced - Projective dynamics
Solve implicit Euler by alternating local projections of elements onto constraint sets and a global linear solve with a constant prefactored matrix.
1 languagesadvanced - Affine body dynamics
Simulate stiff bodies as affine maps with a stiff orthogonality energy and the barrier contact of IPC; the paper measures large speedups over rigid IPC in its scenes.
1 languagesresearch - Incremental potential contact
Add a smooth log barrier on distances to the implicit time step energy and cap each Newton step by a collision check, which keeps every state free of intersection if the check is conservative.
1 languagesresearch - Vertex block descent
Minimize the implicit Euler energy by block coordinate descent over single vertices, each a 3x3 Newton step, in parallel over a graph coloring.
1 languagesresearch
Techniques
- Modal deformable models
Simulate a deformable body in a basis of its r lowest vibration modes. Each mode is an independent oscillator, so a step costs O(r), plus O(nr) when the full shape is rebuilt.
1 languagesadvanced - Optimization-based time integration
Write a backward Euler step as the minimization of inertia plus potential energy and solve it with Newton's method, a descent test and a line search, so the objective never rises in a step.
1 languagesadvanced - Small steps in physics simulation
Split each frame into many substeps with one XPBD iteration each instead of one step with many iterations; in the paper's tests this gives a much smaller error for the same cost.
1 languagesresearch
Concepts
- Hyperelastic material
A material whose stress is the derivative of a strain energy density of the deformation gradient, so that forces are minus the energy gradient.
core
Definitions
- Deformation gradient
The Jacobian F of the map from rest to deformed positions, constant on a linear triangle or tetrahedron, from which strain and stress are computed.
1 languagescore
Models
- Mass-spring system
Point masses joined by damped Hooke springs along their lines. Simple and fast, but the response depends on the mesh, and stiff springs force small explicit time steps.
1 languagesintro - Particle system
Model fuzzy phenomena such as fire, smoke and sparks as many point particles that are emitted with random attributes, moved by forces and removed when their lifetime ends.
1 languagesintro - Elastically deformable models
Elastic curves, surfaces and solids whose energy measures the change of the metric and curvature tensors, discretized by finite differences and advanced by a semi-implicit step.
core - Neo-Hookean model
A hyperelastic model with an energy in tr(F^T F) and log J. Its energy and its restoring force grow without bound as J goes to 0, and it is undefined for J ≤ 0.
1 languagescore - St. Venant-Kirchhoff model
A hyperelastic model with an energy quadratic in the Green strain. Rotations give no stress, but its resistance to strong compression weakens and then reverses.
1 languagescore - Cosserat rod
A rod model with a centerline and an orthonormal frame at each point. Its six strains measure stretch, shear, bending and twist, and do not change under rigid motions.
advanced - Discrete shells
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.
advanced - Quadratic bending model
Under isometric deformation of a flat rest mesh, the bending energy is a quadratic form in the positions with a constant matrix of cotangent weights. Otherwise it is an approximation.
advanced - Stable neo-Hookean flesh
A neo-Hookean energy that is smooth and finite for flat and inverted elements, is at rest at F = I, and has a closed-form eigensystem of its Hessian.
1 languagesresearch