Giter Site home page Giter Site logo

Anguilliform Swimmer about ib2d HOT 3 OPEN

nickabattista avatar nickabattista commented on July 17, 2024
Anguilliform Swimmer

from ib2d.

Comments (3)

nickabattista avatar nickabattista commented on July 17, 2024 1

Hi Rohit,

Thank you for your patience. I have not had a chance to respond to any inquiries. You are correct that the length can vary, unless you modify some of the parameter choices (spring and beam stiffnesses).

Yes, you can also interpolate between the x-values as well. However, if you look at the two states provided, the x-values are the same between them, so if you include the additional interpolation it will not solve this issue. Just a couple things:

  • The purpose of this example was just to create a very idealized, simple anguilliform; it is not meant to provide as robust of dataset as some others (see Borazjani & Sotiropoulos 2009 (link), van Rees et al 2013 (link), or Hamlet et al. 2015 (link) as a few examples).

  • Also, if you include numerous more intermediate interpolate states, you can help preserve the overall length of the swimmer, i.e., interpolate between 200 states rather than 2.

Thanks, and hope that you're enjoying playing with the code!

from ib2d.

rohitroxkp7 avatar rohitroxkp7 commented on July 17, 2024

https://github.com/rohitroxkp7/IB2d/tree/master/matIB2d/Examples/Examples_First_Year_Seminar/Swimmer_2

from ib2d.

rohitroxkp7 avatar rohitroxkp7 commented on July 17, 2024

Instead of creating more interpolate states, I elected to preserve the length of the lagrangian body by one single line of code.
You can find that in lines 99 to 101 in the update non-invariant beams file in the following link:
https://github.com/rohitroxkp7/Swimmer-Modified

There is also a report I generated which can be found in the aforementioned link with two youtube links in it which I am mentioning here as well. The two videos show how your model performs vs the model which I modified for the given input parameters.
I would say amazing work @nickabattista, sir. I have learned a great deal from your resources on interpolation and the IB2d codes. I am also working on parallelizing your code so it can work faster with the parallel computing toolbox in Matlab.
Link to Battista et al model: https://youtu.be/l5gnTvT5rkg
Link to My model: https://youtu.be/pQaPte9zTnU

from ib2d.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.