top of page

Deformable Solids

  • Created with tetrahedral meshes

  • Each Tetrahedral Frame is composed of four particles

  • Each particle has its own properties including position, velocity, mass, material*, and stores forces exerted on it to calculate acceleration in the next update.

  • Each Material has properties such as a render texture, density, toughness, and Lam'e constants computed from Young's modulus and the Poisson Ratio.

  • The density of a mesh is used to determine the mass of each particle in the mesh by dividing total mass evenly.

  • Each Tetrahedral frame has a rest position (in material space) which it tends toward.

  • A Strain Tensor is computed from the deviation from the rest state using the position of the particles w/RT each other.

  • A Stress tensor is then computed from this strain tensor using the material properties: Poisson Ratio and Young's Modulus, as described in the CSE291D Lecture.

  • This Stress Tensor is used to then apply forces on each particle of the Tetrahedral frame to push them towards the tetrahedron's rest state.

  • After applying the force of gravity in each update cycle and  ensuring that the ground plane acts as a spring damper pushing up on any objects that fall below it, as well as the addition of Friction Forces, we can perform simulations.

​

Methods and Demonstrations:

Screen Shot 2019-04-24 at 7.16.47 PM.png

Collision and AABB Acceleration

Detection and Response:

  • Collision Detection was implemented via intersection of tetrahedral vertices with other tetrahedron.

  • To determine if a point of a particle is inside another tetrahedron, the system first checks the distance of a point to each triangle of the other tetrahedron using the dot product with the normal, and then determines if the point is behind each triangle.

  • CollisionResponse is then determined in two parts: Direction and Magnitude

  • Before this, we must find the Center of Mass of the tetrahedron that the intersecting vertex belongs to and then take the vector from the vertex to the center of mass and find the intersection point of that and the triangles of the other tetrahedron.

  • After this, the collision force direction and magnitude are calculated the same way as those of the ground plane were found using a spring damper interaction with the intersecting vertex and the plane of the intersected triangle belonging to the opposite tetrahedron.

  • The only difference is that since the plane is not stationary, the velocity needed for the calculation is the difference between the intersecting vertex and the average velocity of the four particles of the other tetrahedron.

 

Bounding Volume Heirarchy:

  • BVH of Choice: Axis Aligned Bounding Boxes (AABB)

  • Implemented in a Binary Tree Structure

  • Each tetrahedron is inserted into a leaf node that created so that its min and max bounds wrap tightly around the tetrahedron.

  • Each leaf is inserted into the tree from the root and traverses down.

  • At each level, the leaf chooses a child to add itself to based on 3 priorities:

       1) if the leaf's bounds fit entirely into one of the child nodes

       2) if one of the child nodes is absent (null)

       3) Re-arrange the nodes with rotations such that a new

           branch node is added and the child node is either added as

           a child of that branch and a sibling of one of the current

           children, or added as a child of the current node and both

           current children are rotated under the new branch.

  • The outcome of the third option is determined based on whichever outcome results in the lowest total volume of this level of the tree.

  • To update the tree, (a) either rebuild it after a set number of render frames (eg: perhaps half a second of sim time), or (b) update the bounds of each leaf node and propagate the bounds up recursively to the root.

Screen Shot 2019-06-13 at 12.07.21 PM.pn

We can also render the bounding volumes for visualization of the structure

  • To determine if a given tetrahedron should check intersections with any other tetrahedron, simply check for intersections of its bounding box with the root of the tree traverse down the branches, only continuing to lower level nodes if the bounds intersect. (Sometimes this can result in two branches being traversed if there is overlap)

Fracture:

Extracting Tensile and Compressive Forces

Fracture computed using only Compressive Forces:

  • Method used was designed in the 1999 paper on Fracture by O'Brien and Hodgins that was linked from the CSE 291D Website.

  • Computed by decomposing the Stress tensor of each Tetrahedral frame into a sum of two different Stress Tensors: the Tensile Stress Tensor and the Compressive Stress Tensor.

  • The method which is used for this is Eigen Value Decomposition via the Cyclic Jacobi Algorithm (as described in the CSE291D Lecture )

  • This is an iterative method which uses Givens Rotation vectors with an angle computed from parameters of the tensor from the previous iteration to diagonalize the tensor and to extract into another matrix the eigenvectors that correspond to the diagonalized eigenvalues

  • The method then uses these to find the Tensile Stress by summing over the products of each positive eigenvalue times a matrix created from its normalized eigenvectors.

  • Compressive Stress = Stress - Tensile Stress

  • The stress components are then used to compute forces on each particle and these are added to special lists in the particles to be used after all are computed.

  • After all are computed, each particle then determines if the contributions from each tensile and compressive force is greater than its material toughness. (Again, eigenvalue decomposition is needed for this)

  • If the largest positive eigenvalue (greatest tensile force) is greater than the material toughness, the particle is considered fractured along the plane orthogonal to the corresponding eigenvector.

  • We can also try using the largest negative eigenvalue (greatest compressive force) instead for different results (left)

  • For this, we simply loop through its tetrahedrons and use the dot product to determine if they are above or below the plane.

  • For the tetrahedrons, below the plane, a clone of the particle is created and they are re-assigned from the previous particle to that clone.

  • For the purposes of this simulation and in the interest of time (and timing cost), mass of the particle is divided by 2 when cloning to conserve mass. Ideally, the new mass assignment would be the sum of the contributions of the barycentric weighted volumes of the connected tetrahedra.

​

© 2023 by Name of Site. Proudly created with Wix.com

  • Facebook Social Icon
  • Twitter Social Icon
  • Instagram Social Icon
bottom of page