Tag Archives: Unity

Panel Simulation with Custom Joints

Here’s a quick test of simulating the joints between rigid panels.

Instructions:

  • Hold right MB and drag to rotate the view
  • Zoom with mousewheel
  • Left Ctrl + Left MB on a panel or joint and it will become a moveable handle (object will turn yellow). Repeat to disable.
  • Left Shift + Left MB on a panel or joint and it will become a positional restraint (object will turn red). Repeat to disable.
  • Add a uniform force upwards using the buttons on the top left of the screen
  • Adjust the force necessary to break the joints with the scrollbar
Advertisements

Leave a comment

Filed under Architecture, Geometry, Mesh Consultants

SPH Numerical Stability

I’ve been playing around with SPH simulations, and in SPH as in any physics based simulation, the length of the time step in the integration process is critical. So, this video shows what happens right at the edge of numerical stability. With a fixed time step, the force calculation sometimes gives a force that’s too large to be reasonably dealt with – this then causes a little chain reaction and results in some pretty wild behaviour….I should say that not everything in the video is cause by numerical instability  – I’ve implemented a basic user force input that acts on the particles when the user clicks the screen.

Simulations are used for predicating things (i.e. how a structure will deform, how a fluid will flow, etc…). However, their predictive qualities are always subject to conditions and restrictions – there is no perfect physics engine (yet), and we are certainly a long way away from human interaction simulation (another one of my favorite topics…). As a result, simulations are often used simply as a starting point, sometimes for more rigorous analysis, but also for purely aesthetic choices. From that perspective, perhaps studying very “unrealistic” applications of  simulation engines will open some new geometrical directions….

Leave a comment

Filed under Architecture