Search found 5 matches

by jak
Fri Oct 08, 2021 11:15 am
Forum: Research and development discussion about Collision Detection and Physics Simulation
Topic: Small Step XPBD FEM Demo
Replies: 2
Views: 1493

Re: Small Step XPBD FEM Demo

The excellent paper Miles Macklin posted yesterday ( A Constraint-based Formulation of Stable Neo-Hookean Materials ) elucidated some things about the relationship between constraints and energy in XPBD that I had been fuzzy on, and I couldn't resist jamming the corrected mixed Neo-Hookean energy fu...
by jak
Thu Oct 07, 2021 4:58 am
Forum: Research and development discussion about Collision Detection and Physics Simulation
Topic: Small Step XPBD FEM Demo
Replies: 2
Views: 1493

Re: Small Step XPBD FEM Demo

Found a sudden burst of inspiration to post an update to the demo ;p. The 3 major additions are a few new element types (second-order triangles and first- and second-order tetrahedrons), Stanford armadillo meshes for each of the element types, and a new set of energy functions that constrain per-ver...
by jak
Sun Aug 29, 2021 6:00 pm
Forum: Research and development discussion about Collision Detection and Physics Simulation
Topic: Small Step XPBD FEM Demo
Replies: 2
Views: 1493

Small Step XPBD FEM Demo

Hi guys, I've been working on a small step XPBD-based implementation of FEM off and on for the last several months, and I think I finally have something that someone might find interesting. Here's a WASM demo showing the current state of things: https://jak-xyz.github.io/xpbd-fem/. At some point I h...
by jak
Fri Jul 09, 2021 11:52 pm
Forum: Research and development discussion about Collision Detection and Physics Simulation
Topic: Damping in XPBD
Replies: 3
Views: 4192

Re: Damping in XPBD

Your code certainly looks correct on first glance, though I didn't try to run it, so who knows. I would expect it has more to do with getting everything else set up perfectly to make Rayleigh damping "happy". I was thinking of doing a post on what I've got so far in a little bit, and I was...
by jak
Tue Jul 06, 2021 11:37 pm
Forum: Research and development discussion about Collision Detection and Physics Simulation
Topic: Damping in XPBD
Replies: 3
Views: 4192

Re: Damping in XPBD

I realize this question is over a year old (so I hope OP was able to figure something out!), but it still comes up on google and it got me doubting the suggested Rayleigh damping from the XPBD paper for use with incompressible FEM. However, after quite a few pitfalls along the way, I finally got it ...