I would like to perform a 2D FEM analysis using SOFA.
Essentially I want to duplicate the FullObject.scn from the tutorials up to around step 4, but instead of using a HexahedronFEMForceField I would like to use a Triangular shaped force field on a SparseGridTopology that I construct from some 2D polygon .obj.
I am able to instantiate a Vec2d MechanicalObject, and can use a SparseGridTopology to create a grid of Mass centroids but I don’t know where to go from here.
Does anyone have a suggestion?
Thanks