Comments (3)
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.
from ib2d.
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)
- failed to import shared library HOT 3
- Turek-hron case Eulerian grid HOT 1
- Inconsistent dimensions between u.0000.vtk and later indices
- Dose the python version stop update? HOT 2
- I think there might be an issue in the IBM_Driver.py? HOT 1
- fluid density problem in input2d file HOT 1
- Update needed for MATLAB data analysis toolbox after VTK Update from June 2, 2021 HOT 1
- update_nonInv_Beams HOT 2
- possible bugs in data_analysis_in_python
- Naturally oscillating 2D-cylinder HOT 12
- issue of convergence study HOT 10
- mesh point inconsistency HOT 1
- Regarding the example of Skeleton HOT 7
- Calculating the non Invariant beam stiffness
- Could you share the case of Turok-Hron example using IB2d
- Rigid body motion in the python implementation
- Trouble with new IBM_Driver HOT 1
- Suppress numpy VisibleDepreciationWarning HOT 1
- Connect Springs to Immovable Vertices
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ib2d.