How adequate is it to use voxels and SDFs in place of meshes?

69 views
Skip to first unread message

Maksym Riabov

unread,
Jul 16, 2024, 4:23:40 PM7/16/24
to ProjectChrono

Sup Chrono,


I’m writing an open-source simulation library dealing with multibody, evolve-over-time scenes - basically Project Chrono but with a twist: I’m using voxels mapped from SDFs.

Throughout my research I’ve found that (theoretically) using voxels for FEA simulation is an order of magnitude (10x) faster than meshes with similar precision. Same goes for SDFs. Both are much faster in fluid sims too. Using adaptive upvoxelization I think I’ll solve the problem of voxels having problems with contact.


I need the speed because I’m using it for a machine learning app, so, ideally, a single good GPU (80 gb memory) should be able to run hundreds, or even thousands of the simulations in parallel.


So… You might notice things that I don’t - I’m a mecheng, and I’ve never dealt with the computational part. 


SDFs for collision detect and voxels for bending and all the physics - is this crazy?


Thanks everyone,
Maksym Riabov

Maksym Riabov

unread,
Oct 29, 2024, 8:09:41 PM10/29/24
to ProjectChrono
Duplicating comment on other thread:
I've also talked with @rserban over a month ago about porting FEM to GPU, he said:

>But even more importantly, it is not clear to me that it is worth it and that one would get the performance gains you seem to expect from a port to GPU. FEA does not map well to the GPU programming paradigm (unlike granular dynamics or SPH). For the types and sizes of FEA problems we’re interested in, it is unlikely a port to GPU is worth it.

Because, as far as I understand, he means that it because FEM is traditionally a sequential execution program, not parallel execution.
But AMG methods are parallel for whichever equations are given. OK, I'm not super-versed in FEM solver mathematics, but from what I've explored in FEM (and I explored thoroughly), there is nothing that can't be done.

Are we stopped by literally anything but plugging it in?
Cheers.
Reply all
Reply to author
Forward
0 new messages