nickabattista / IB2d

An easy to use immersed boundary method in 2D, with full implementations in MATLAB and Python that contains over 75 built-in examples, including multiple options for fiber-structure models and advection-diffusion, Boussinesq approximations, and/or artificial forcing.
GNU General Public License v3.0
164 stars 90 forks source link

Connect Springs to Immovable Vertices #9

Closed fabianpal closed 6 years ago

fabianpal commented 6 years ago

Hi, I want to attach a spring between a part of the simulated object and another vertex that only moves when I update its position. I assume that one would use target points for that, but I do not want these points to interact with the fluid in any way. Is there a way to use vertices that do not interact with the fluid or a method to simply apply a force to a vertex of my shape in an arbitrary direction without using additional vertices? Best regards, Fabian