Skip to content

Commit 564a7f6

Browse files
committed
Add optimization-based time integration section to simulation documentation
1 parent 531157e commit 564a7f6

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

docs/source/tutorial/simulation.rst

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,21 @@ While the IPC Toolkit provides all the principle components of the IPC algorithm
55

66
We provide several helper functions to make your job easier. The following examples show how to use these functions.
77

8+
Optimization-Based Time Integration
9+
-----------------------------------
10+
11+
IPC defines barrier potential :math:`B(\mathbf{x})` and a friction potential :math:`D(\mathbf{v})`. To add these into a optimization-based time integration, we need to scale the potentials by the time-integrators acceleration scaling. For implicit Euler, this is h^2, where h is the timestep.
12+
13+
With elasticity :math:`\Psi(\mathbf{x})`, the total optimization problem is:
14+
15+
.. math::
16+
\mathbf{x}^{t+1} = \underset{\mathbf{x}}{\arg\min} ~ \tfrac{1}{2} (\mathbf{x} - \hat{\mathbf{x}})^\top\mathbf{M}(\mathbf{x}-\hat{\mathbf{x}})+h^2\Psi(\mathbf{x}) + h^2 \kappa B(\mathbf{x}) + h^2 D(\mathbf{v}(\mathbf{x}))
17+
18+
where :math:`\hat{\mathbf{x}} = \mathbf{x}^t + h\mathbf{v}^t + h^2\mathbf{g}` is the time integration scheme-specific “predicted positions.”
19+
20+
.. note::
21+
In \cite{Li2020}, all the constants are wrapped up into $\kappa$, which is adaptively modified. In follow-up works, we treat the barrier as a physical energy, and so it should have the same multiplier as the elastic energy ($h^2$ for implicit Euler).
22+
823
Volumetric Meshes
924
-----------------
1025

0 commit comments

Comments
 (0)