IB2d!
Open Source Fluid-Structure Interaction software based on Peskin's Immersed Boundary Method
An easy to use immersed boundary method in 2D, with robust options for fiber-structure models with possible porosity and/or poroelasticity, advection-diffusion, and/or artificial forcing.
​
The software has two full implementations - one in MATLAB and another in Python 3. The code can be found on my github site. It also contains over 60 examples that illustrate the breadth and functionality of the code.
​
​
IB2d Papers!
If using the code for research purposes, please cite the following three papers:
-
N.A. Battista, A.J. Baird, L.A. Miller, A mathematical model and MATLAB code for muscle-fluid-structure simulations, Integ. Comp. Biol. 2015, LINK
-
N.A. Battista, W.C. Strickland, L.A. Miller, IB2d:a Python and MATLAB implementation of the immersed
boundary method,, Bioinspiration and Biomemetics 12(3): 036003, LINK -
N.A. Battista, W.C. Strickland, A. Barrett, L.A. Miller, IB2d Reloaded: a more powerful Python and MATLAB implementation of the immersed boundary method, in press Math. Method. Appl. Sci. 41:8455-8480 (2018) PREPRINT, LINK
Complementary Papers:
-
D.M. Senter, D.R. Douglas, W.C. Strickland, S. Thomas, A. Talkington, L.A. Miller, N.A. Battista, A Semi-Automated Finite Difference Mesh Creation Method for Use with Immersed Boundary Software IB2d and IBAMR, Bioinspiration and Biomimetics 16(1): 016008 (2021) LINK
-
N.A. Battista, Fluid-Structure Interaction for the Classroom: Interpolations, Hearts, and Swimming!, SIAM Review (SIREV) 63(1): 181-207 (2021) PREPRINT, LINK
-
M. Santiago, N.A. Battista, L.A. Miller, S. Khatri, Passive concentration dynamics incorporated into the library IB2d, a two-dimensional implementation of the immersed boundary method, Bioinspiration & Biomimetics (2021) LINK
IB2d Video Tutorials!
​
Video Tutorials (rough drafts):
-
Tutorial 1: https://youtu.be/PJyQA0vwbgU
-
An introduction to the immersed boundary method, fiber models, open source IB software, IB2d​, and some FSI examples!
-
-
​Tutorial 2: https://youtu.be/jSwCKq0v84s
-
A tour of what comes with the IB2d software, how to download it, what Example subfolders contain and what input files are necessary to run a simulation
-
-
​Tutorial 3: https://youtu.be/I3TLpyEBXfE
-
An overview of how to construct immersed boundary geometries and create the input files (.vertex, .spring, etc.) for an IB2d simulation to run using the oscillating rubberband example from Tutorial 2 as a guide.
-
-
Tutorial 4: https://youtu.be/4D4ruXbeCiQ
-
The basics of visualizing data using open source visualization software called VisIt (by Lawrence Livermore National Labs), visualizing the Lagrangian Points and Eulerian Data (colormaps for scalar data and vector fields for fluid velocity vectors)
-
IB2d Simulations of the Month!
Fish and Jellyfish School!
Valentine's Day 2023!
Vortex-Induced Vibrations
(Colormap is vorticity)
​
Simulation of a Bioinspired Ratcheting Fluid Pump!
(by Zain Moin, Biomedical Engineering, Class 2022)
Comparing different diffusivities in a Kelvin-Helmholtz-esque Instability Model
IB2d simulation of oscillating flow past a patch of starfish!
D.M. Senter, D.R. Douglas, W.C. Strickland, S. Thomas, A. Talkington, L.A. Miller, N.A. Battista, A Semi-Automated Finite Difference Mesh Creation Method for Use with Immersed Boundary Software IB2d and IBAMR, Bioinspiration and Biomimetics 16(1): 016008 (2021) [LINK]
Jellyfish with Tentacles/Oral Arms!
Simulation by Jason Miles
Check out our paper: J.G. Miles, N.A. Battista, Naut Your Everyday Jellyfish Model: exploring how tentacles and oral arms affect locomotion, Fluids 4(3): 169 (2019)