the immersed boundary method, from 2d fibres to 3d finite elements

66
The Immersed Boundary Method simulating fluid-structure interactions, from 2D fibers to 3D finite elements Julia E. Samson, Nick A. Battista, Laura A. Miller University of North Carolina at Chapel Hill December 18 th , 2015

Upload: uvacolloquium

Post on 14-Apr-2017

502 views

Category:

Education


2 download

TRANSCRIPT

Page 1: The immersed boundary method, from 2D fibres to 3D finite elements

The Immersed Boundary Method!simulating fluid-structure interactions,!from 2D fibers to 3D finite elements !

Julia E. Samson, Nick A. Battista, Laura A. Miller"University of North Carolina at Chapel Hill"

December 18th, 2015"

Page 2: The immersed boundary method, from 2D fibres to 3D finite elements

Overview"1.  The immersed boundary method: when,

who, what, and why?"2.  The immersed boundary method: how?

(2D)"3.  Beyond the basics: 3D, IBAMR, and IBFE""

AlexHooverTulaneUniversity

Page 3: The immersed boundary method, from 2D fibres to 3D finite elements

The IB method: a brief history"

CharlesS.PeskinCourantInstitute,NYFlowpatternsaroundheartvalves:adigitalcomputermethodforsolvingtheequationsofmotion.PhDthesis,1972.

Page 4: The immersed boundary method, from 2D fibres to 3D finite elements

The IB method: a brief history"

LauraA.MillerUNCChapelHill

BoyceE.GriffithUNCChapelHill

CharlesS.PeskinCourantInstitute

Page 5: The immersed boundary method, from 2D fibres to 3D finite elements

The IB method: definition"

Viscousfluid?

Fluidgridgeneratedfromboundaryshape?

IB!!!J

NotIBL

NotIBL

Page 6: The immersed boundary method, from 2D fibres to 3D finite elements

The IB method: definition"""A numerical method that allows us to simulate

boundaries (objects) in viscous flows, and in which the fluid grid is not fitted to the boundary

shape.""

Page 7: The immersed boundary method, from 2D fibres to 3D finite elements

The IB method: definition"The fluid is modeled on a fixed Cartesian mesh.""""""The boundary is modeled on a curvilinear Lagrangian mesh that moves freely through the fixed Cartesian mesh."

Page 8: The immersed boundary method, from 2D fibres to 3D finite elements

The IB method: applications"AlexHooverTulaneUniversity

NickBattistaUNCChapelHill

LauraMillerUNCChapelHill

Page 9: The immersed boundary method, from 2D fibres to 3D finite elements

IB: the math below the surface"1) Fluid"2) Structure/boundary"3) Interactions"

We need to know:"-  how the fluid moves"-  how the boundary moves"-  how the boundary impacts the fluid"-  how the fluid impacts the boundary"

Page 10: The immersed boundary method, from 2D fibres to 3D finite elements

The Navier-Stokes equations"This is the equation of motion for viscous fluids."

Page 11: The immersed boundary method, from 2D fibres to 3D finite elements

The Navier-Stokes equations"It basically follows Newton’s Second Law:"F = m * a"

mass*accelerationpressureforces

viscousforces

otherbodyforces

Page 12: The immersed boundary method, from 2D fibres to 3D finite elements

The Navier-Stokes equations"Now, we add the equation for incompressible flow."

mass*acceleration pressureforces

viscousforces

otherbodyforces

thefluidisincompressible

Page 13: The immersed boundary method, from 2D fibres to 3D finite elements

Fluid mesh"The fluid is represented by a fixed (Eulerian) Cartesian grid.""At each point, we solve for the pressure and velocity of the fluid using the Navier-Stokes equations. The body forces will be given by the boundary."

Page 14: The immersed boundary method, from 2D fibres to 3D finite elements

IB: the math below the surface"1) Fluid"2) Structure/boundary"3) Interactions"

We need to know:"-  how the fluid moves"-  how the boundary moves"-  how the boundary impacts the fluid"-  how the fluid impacts the boundary"

Page 15: The immersed boundary method, from 2D fibres to 3D finite elements

IB: the math below the surface"1) Fluid"2) Structure/boundary"3) Interactions"

We need to know:"-  how the fluid moves ✔"-  how the boundary moves"-  how the boundary impacts the fluid"-  how the fluid impacts the boundary"

Page 16: The immersed boundary method, from 2D fibres to 3D finite elements

Boundary"The boundary is represented by a curvilinear Lagrangian mesh that can move around in the fluid.""At each time step, we solve for the position of each boundary point and for the forces at that point."

Page 17: The immersed boundary method, from 2D fibres to 3D finite elements

IB: the math below the surface"1) Fluid"2) Structure/boundary"3) Interactions"

We need to know:"-  how the fluid moves ✔"-  how the boundary moves"-  how the boundary impacts the fluid"-  how the fluid impacts the boundary"

Page 18: The immersed boundary method, from 2D fibres to 3D finite elements

IB: the math below the surface"1) Fluid"2) Structure/boundary"3) Interactions"

We need to know:"-  how the fluid moves ✔"-  how the boundary moves ✔"-  how the boundary impacts the fluid"-  how the fluid impacts the boundary"

Page 19: The immersed boundary method, from 2D fibres to 3D finite elements

Combining fluid and structure"

+ =

+ interactions!"

Page 20: The immersed boundary method, from 2D fibres to 3D finite elements

Combining fluid and structure"

Fluid(fixedCartesianmesh)

Structure(movingcurvilinearmesh)

movesatlocalfluidvelocity

exertsforceson

Page 21: The immersed boundary method, from 2D fibres to 3D finite elements

exertsforceson

Combining fluid and structure"

Fluid(fixedCartesianmesh)

Structure(movingcurvilinearmesh)

SpreadtheelasticforcedensityfromcurvilinearmeshontoCartesiangrid.

Page 22: The immersed boundary method, from 2D fibres to 3D finite elements

Combining fluid and structure"

Delta function weights are used to determine how much force is applied from the elastic boundary to nearby fluid grid cells."

Page 23: The immersed boundary method, from 2D fibres to 3D finite elements

IB: the math below the surface"1) Fluid"2) Structure/boundary"3) Interactions"

We need to know:"-  how the fluid moves ✔"-  how the boundary moves ✔"-  how the boundary impacts the fluid"-  how the fluid impacts the boundary"

Page 24: The immersed boundary method, from 2D fibres to 3D finite elements

IB: the math below the surface"1) Fluid"2) Structure/boundary"3) Interactions"

We need to know:"-  how the fluid moves ✔"-  how the boundary moves ✔"-  how the boundary impacts the fluid ✔"-  how the fluid impacts the boundary"

Page 25: The immersed boundary method, from 2D fibres to 3D finite elements

Combining fluid and structure"

Fluid(fixedCartesianmesh)

Structure(movingcurvilinearmesh)

movesatlocalfluidvelocity

InterpolatethevelocityfieldfromtheCartesiangridontothecurvilinearmesh.

Page 26: The immersed boundary method, from 2D fibres to 3D finite elements

Combining fluid and structure"

Delta function is used again to determine the velocity at the boundary point q from fluid velocities near that point."

Page 27: The immersed boundary method, from 2D fibres to 3D finite elements

IB: the math below the surface"1) Fluid"2) Structure/boundary"3) Interactions"

We need to know:"-  how the fluid moves ✔"-  how the boundary moves ✔"-  how the boundary impacts the fluid ✔"-  how the fluid impacts the boundary"

Page 28: The immersed boundary method, from 2D fibres to 3D finite elements

IB: the math below the surface"1) Fluid"2) Structure/boundary"3) Interactions"

We need to know:"-  how the fluid moves ✔"-  how the boundary moves ✔"-  how the boundary impacts the fluid ✔"-  how the fluid impacts the boundary ✔"

Page 29: The immersed boundary method, from 2D fibres to 3D finite elements

IB: the math below the surface"1) Fluid"2) Structure/boundary"3) Interactions"

We need to know:"-  how the fluid moves ✔"-  how the boundary moves ✔"-  how the boundary impacts the fluid ✔"-  how the fluid impacts the boundary ✔"

Page 30: The immersed boundary method, from 2D fibres to 3D finite elements

IB: the math below the surface"We now have a complete formulation for the immersed boundary method.""

mass*acceleration pressureforces

viscousforces

otherbodyforces

thefluidisincompressible

SpreadtheelasticforcedensityfromcurvilinearmeshontoCartesiangrid.

InterpolatethevelocityfieldfromtheCartesiangridontothecurvilinearmesh.

Page 31: The immersed boundary method, from 2D fibres to 3D finite elements

IB: the math below the surface"We now have a complete formulation for the immersed boundary method.""

Page 32: The immersed boundary method, from 2D fibres to 3D finite elements

IB time stepping"At each time step:"1)  Compute the elastic force

density F on the boundary mesh."

2)  Spread the elastic force from the deformed boundary to the underlying fluid (this is f)."

3)  Solve the equations of fluid motion defined on the fluid grid using the elastic body force density f(x,t) and update the velocity field."

4)  Move the boundary at the local fluid velocity. Determine the velocity at each Lagrangian point through interpolation."

Page 33: The immersed boundary method, from 2D fibres to 3D finite elements

Making boundaries flexible (or not)"

There are a lot of fiber models to control boundary characteristics like elasticity, stretchiness, porosity, mass…""3 examples in 2D:"-  Springs"-  Torsional springs"-  Target points"

NickBattistaUNCChapelHill

Page 34: The immersed boundary method, from 2D fibres to 3D finite elements

github.com/nickabattista/IB2d

NickBattistaUNCChapelHill

Page 35: The immersed boundary method, from 2D fibres to 3D finite elements

Springs"Springs allow longitudinal motion between two coupled Lagrangian nodes."

ad

RLRL+d

elasticpotentialenergy

forcefromdeformation

Page 36: The immersed boundary method, from 2D fibres to 3D finite elements

Springs: the rubber band example"

All Lagrangian points are connected by springs with resting length 0.""Colormap shows vorticity."

ad

Page 37: The immersed boundary method, from 2D fibres to 3D finite elements

Torsional springs"Torsional springs allow transversal motion between three coupled Lagrangian nodes."

ad

θ Ifθdesired=180andC=0

Page 38: The immersed boundary method, from 2D fibres to 3D finite elements

Torsional springs"Torsional springs allow transversal motion between three coupled Lagrangian nodes."

ad

θ Ifθdesired=180andC=0

elasticpotentialenergy

curvature

Page 39: The immersed boundary method, from 2D fibres to 3D finite elements

Torsional springs"Torsional springs allow transversal motion between three coupled Lagrangian nodes."

ad

θ Ifθdesired=180andC=0

deformationforces

Page 40: The immersed boundary method, from 2D fibres to 3D finite elements

Torsional springs: the wobbly beam example"

All Lagrangian points are connected by beams with curvature 0.""Colormap shows magnitude of velocity."

ad

Page 41: The immersed boundary method, from 2D fibres to 3D finite elements

Target points"Target points are used to prescribe motion of Lagrangian points or make boundary rigid."

ad

Page 42: The immersed boundary method, from 2D fibres to 3D finite elements

Target points: the pulsing heart example"

Target point positions are updated by interpolating between two positions.""Only target points, no beams or springs.""Colormap shows pressure."

ad

Page 43: The immersed boundary method, from 2D fibres to 3D finite elements

Pushing the boundary…"2D IB is where it all started, but newer (and more complex) methods are available:"-  3D IB"-  IBAMR (IB with Adaptive Mesh

Refinement)"-  IBFE (IB with Finite Elements)"

Page 44: The immersed boundary method, from 2D fibres to 3D finite elements

3D immersed boundary"Basically the same as 2D but adding a third dimension.""Greatly increases computational cost but this might be offset by the generation of more realistic models. "

Page 45: The immersed boundary method, from 2D fibres to 3D finite elements

Collective pulsing in xeniid corals"

Xeniid corals are soft corals that form pulsing colonies. The pulsing increases local flow and thus mass transfer."

Page 46: The immersed boundary method, from 2D fibres to 3D finite elements

Collective pulsing in xeniid corals"""This pulsing behavior seems to be coordinated and we want to know how local flow and pulsing behavior are connected."

Collectivepulsingbehavior

Waterflow

Page 47: The immersed boundary method, from 2D fibres to 3D finite elements

Collective pulsing in xeniid corals"

Page 48: The immersed boundary method, from 2D fibres to 3D finite elements

IB with Adaptive Mesh Refinement"

BoyceE.GriffithUNCChapelHillSimulatingtheblood-muscle-valvemechanicsoftheheartbyanadaptiveandparallelversionoftheimmersedboundarymethod.PhDthesis,2005.

Page 49: The immersed boundary method, from 2D fibres to 3D finite elements

Heart valves and blood flow"Generate 3D simulations of the interactions between blood flow and heart valves to better understand heart physiology and to assess the functioning of prosthetic valves."

fromhttp://anatomyandphysiologyi.com/heart-anatomy-chambers-vessels-valves/

Page 50: The immersed boundary method, from 2D fibres to 3D finite elements

IB with Adaptive Mesh Refinement"

A more refined grid will give a better resolution to the simulation. But it also greatly increases the computational cost…"

ad

25x25 50x50 100x100 200x200

Page 51: The immersed boundary method, from 2D fibres to 3D finite elements

IB with Adaptive Mesh Refinement"

"So how to have your cake and eat it too???"

ad

25x25 50x50 100x100 200x200

Page 52: The immersed boundary method, from 2D fibres to 3D finite elements

IB with Adaptive Mesh Refinement"

Only refine the fluid grid where needed: close to the boundary and in regions of high vorticity è Adaptive Mesh Refinement"

ad

25x25 50x50 100x100 200x200

Page 53: The immersed boundary method, from 2D fibres to 3D finite elements

ad

Heart development in zebrafish"4 days post fertilization""Blood cells and endocardium are colored""Two chambers: one atrium and one ventricle"

CourtesyofLeighAnnSamsaandDr.JiandongLiuSchoolofMedicine,UNCChapelHill

Page 54: The immersed boundary method, from 2D fibres to 3D finite elements

Heart development in zebrafish"

Ventricle

Atrium

75um

CourtesyofLeighAnnSamsaandDr.JiandongLiuSchoolofMedicine,UNCChapelHill

Page 55: The immersed boundary method, from 2D fibres to 3D finite elements

ad

Heart development in zebrafish"

Ventricle

Atrium

AVCanal

Ventricle

IBAMRmodel

Page 56: The immersed boundary method, from 2D fibres to 3D finite elements

ad

Heart development in zebrafish"

Trabeculaeappeartoshieldtheendocardiumfromhighershearingforces

velocityfield+vorticitymap streamlines(afteratriumfinishescontraction)

Page 57: The immersed boundary method, from 2D fibres to 3D finite elements

IB with Finite Elements"A completely different beast…"

ad

Un

Un-1

Un-2

Un+1

Un+2

Un+3

Un-2

Un-1Un

Un+1Un+2

Un+3Un+4

Un+5Un+6

Acollectionofsinglenodalpoints(=fiber)

Acollectionofpolygonalpieces(=elements)

Page 58: The immersed boundary method, from 2D fibres to 3D finite elements

IB with Finite Elements"Generating finite element meshes is hard (although there are software packages available).""But the benefits are enormous:"-  Simulations run way faster"-  The FE mesh allows for a more accurate

structure geometry"-  Material properties are captured way better"-  Boundaries are less leaky"-  The models are more stable"

Page 59: The immersed boundary method, from 2D fibres to 3D finite elements

Jellyfish locomotion"AlexanderHooverTulaneUniversityFrompacemakertovortexring:modelingjellyfishpropulsionandturning.PhDthesis,2015

Page 60: The immersed boundary method, from 2D fibres to 3D finite elements

Jellyfish locomotion"

Page 61: The immersed boundary method, from 2D fibres to 3D finite elements

Jellyfish locomotion"

Page 62: The immersed boundary method, from 2D fibres to 3D finite elements

Jellyfish locomotion"

Page 63: The immersed boundary method, from 2D fibres to 3D finite elements

Jellyfish locomotion"

Page 64: The immersed boundary method, from 2D fibres to 3D finite elements

Resources"Code"2D code examples in MatLab (Nick Battista): github.com/nickabattista/IB2d"IBAMR code: https://github.com/ibamr/ibamr""Papers"Griffith, B. E., 2005. Simulating the blood-muscle-valve mechanics of the heart by an adaptive and parallel version of the immersed boundary method. Ph.D. thesis, New York University."Mittal, R., Iaccarino, G., 2005. Immersed boundary methods, Annual Review of Fluid Mechanics, 37, 239-261"Peskin, C. S., McQueen, D. M., 1996. Fluid dynamics of the heart and its valves, In Case Studies in Mathematical Modeling: Ecology, Physiology, and Cell Biology, Pearson, 313-342"Peskin, C. S., 2002. The immersed boundary method, Acta Numerica, 11, 1-39""Webpages"Boyce Griffith: http://griffith.web.unc.edu/ and http://cims.nyu.edu/~griffith/"Laura Miller: http://miller.web.unc.edu/"Nick Battista: http://battista.web.unc.edu/"Alex Hoover: http://hooverap.web.unc.edu/ or email [email protected]""

Page 65: The immersed boundary method, from 2D fibres to 3D finite elements

Acknowledgements"At UNC"Laura Miller"Nick Battista"Shannon Jones"Boyce Griffith""""

Elsewhere"Alex Hoover"Shilpa Khatri"Uri Shavit"Roi Holzman"

Funding"The Company of Biologists"NSF"

Page 66: The immersed boundary method, from 2D fibres to 3D finite elements

Questions?!

[email protected]"@juliaesamson"