Skip to content

Increase the number of quadrature points used to sample external forces in FEM deformable simulation #21496

@chen-tianjian

Description

@chen-tianjian

Is your feature request related to a problem? Please describe.
We (Amazon) are leveraging the external force field for FEM to simulate picking deformables with suction cups. However, we are limited to coarse meshes because of real time rate, so the tetrahedron sizes are roughly same as our suction cups, but this create problems for us.

To recreate our problem using the deformable_torus example:

Change this falloff_distance from 0.1 to 0.01 or smaller here (more realistic to a suction cup affecting volume size), and then no matter how much force density we use here(we tried 10X ~ 1e10X), the torus cannot be picked up.

If we increase the mesh resolution (using the torus_fine.vtk attached), this problem will be gone, but the real time rate is not acceptable for us.
torus_fine.zip

Based on a Slack dicussion, @xuchenhan-tri suggested that this is because the external force is only integrated at the quadrature points, and there’s only one quadrature point at the barycenter of each tetrahedron at this moment. If no quadrature points are inside the force field, no force can be generated.

Describe the solution you'd like
Increase the number of quadrature points in a tetrahedron used to sample external forces, to better deal with the coarse mesh and small force field case.

Metadata

Metadata

Assignees

Type

No type

Projects

Status

In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions