Skip to main content
NIHPA Author Manuscripts logoLink to NIHPA Author Manuscripts
. Author manuscript; available in PMC: 2026 Jan 17.
Published in final edited form as: J Comput Phys. 2025 Dec 2;546:114472. doi: 10.1016/j.jcp.2025.114472

Composite B-spline regularized delta functions for the immersed boundary method: Divergence-free interpolation and gradient-preserving force spreading

Cole Gruninger a, Boyce E Griffith a,b,c,d,e,f,*
PMCID: PMC12798767  NIHMSID: NIHMS2127810  PMID: 41536461

Abstract

This paper presents an approach to enhance volume conservation in the immersed boundary (IB) method by employing regularized delta functions derived from composite B-splines. These delta functions are constructed using tensor product kernels, similar to the conventional IB method. However, the kernels are B-splines whose polynomial degree varies according to the normal and tangential directions of each velocity component. The conventional IB method, while effective for fluid-structure interaction applications, has long been challenged by poor volume conservation which is particularly evident in simulations of pressurized, closed membranes. We demonstrate that composite B-spline regularized delta functions significantly enhance volume conservation through two complementary properties: they provide continuously divergence-free velocity interpolants and maintain the gradient character of forces corresponding to mean pressure jumps across interfaces. By correctly representing these forces as discrete gradients, they eliminate a key source of spurious flows that typically plague immersed boundary computations. Our approach maintains the local nature of the classical IB method, avoiding the computational overhead associated with the non-local Divergence-Free Immersed Boundary (DFIB) method’s construction of an explicit velocity potential, which requires additional Poisson solves for interpolation and force spreading operations. Through a series of numerical experiments, we show that sufficiently regular composite B-spline kernels can maintain initial volumes to within machine precision. We provide a detailed analysis of the relationship between kernel regularity and the accuracy of force spreading and velocity interpolation operations. Our findings indicate that composite B-splines of at least C1 regularity produce results comparable to the DFIB method in dynamic simulations, with errors in volume conservation primarily dominated by truncation error of the employed time-stepping scheme. This work offers a computationally efficient alternative for improving volume conservation in IB methods which is particularly beneficial for large-scale, three-dimensional simulations. The proposed approach requires only changing the functional form of the regularized delta function in an existing IB code, making it an accessible improvement for a wide range of applications in computational fluid dynamics and fluid-structure interaction.

Keywords: Immersed boundary methods, Fluid-structure interaction, Numerical analysis, Volume Conservation, Mimetic discretization methods

1. Introduction

The immersed boundary (IB) method is a mathematical formulation and numerical discretization procedure for modeling systems that involve fluid-structure-interaction (FSI) [1,2]. The IB framework combines a Lagrangian description of the immersed structure with an Eulerian description of the fluid. In the continuous formulation of the IB method, the coupling between the two representations is mediated by convolutions with singular delta functions kernels supported along the immersed structure. The discrete formulation of the IB method replaces these singular delta functions by regularized delta functions, and integrals are discretized using a quadrature scheme. This discretization results in two key operations: the spreading of Lagrangian force densities from the moving structure to the background fluid grid, and the interpolation of fluid velocities from the fluid grid back to the Lagrangian mesh, ensuring the structure moves in concert with the local fluid flow.

The IB method has proven highly effective for modeling FSI problems that challenge traditional body-fitted mesh approaches. Since its inception, the method has been applied to a wide range of applications: modeling cardiac mechanics [39]; simulating platelet adhesion and aggregation [10,11]; studying insect flight [12,13]; and investigating undulatory swimming [1419]. Despite these successes, the IB method has been plagued by poor volume conservation, a limitation that is particularly evident in simulations of pressurized, closed membranes. This issue manifests as a gradual loss of volume over time, a problem that Peskin and Printz noted early on when simulating the heart’s contraction [20].

An elementary consequence of the Reynolds transport theorem is that any closed surface moving with an incompressible fluid must maintain constant volume. Peskin and Printz recognized that the main issue with Peskin’s original formulation of the IB method was that, although the fluid velocity field may be discretely divergence free, the interpolated velocity is generally not continuously divergence free. To address this issue, Peskin and Printz introduced a modified finite-difference approximation to the Eulerian divergence operator that ensures that the interpolated velocity field is continuously divergence free at least in an average sense [20]. This modified divergence stencil, designed for collocated fluid discretizations, dramatically reduced the volume conservation error of the original method. However, despite the improvements made in volume conservation, the method has not been widely used in the community. One reason could be the complexity of the finite difference stencil associated with the divergence operator, which must be derived specifically for each regularized delta function employed. Furthermore, Griffith demonstrated that the volume conservation improvements of the Peskin and Printz method were quantitatively similar to those achieved by a standard staggered-grid spatial discretization of the fluid variables [21].

Since Peskin and Printz’s work, there have been many other efforts to improve the volume conservation properties of the IB method. Cortez and Minion introduced the blob projection method, which solves for a velocity field in which the spread force is projected onto the space of divergence-free vector fields [22]. They utilized regularized “blob” functions to spread forces from the immersed structure, allowing the true projection to be computed analytically. However, their tests demonstrated that the improvement in volume conservation was comparable to Peskin and Printz’s method. Lee and LeVeque utilized ideas from the immersed interface method [2325] to improve the volume conservation of the IB method by incorporating the correct pressure jump in their projection method’s Poisson solver [26]. This approach generated volume conservation errors that converged to zero at a second-order accurate in space. However, their modified IIM implementation is more complicated than the standard IB method. It requires decomposing the Lagrangian force density into its tangential and normal components and computing correction terms for each pressure Poisson solve.

More recently, Bao et al. introduced an IB method that yields an interpolated velocity field that is continuously divergence-free [27]. We refer to Bao et al.’s method as the non-local Divergence Free Immersed Boundary (DFIB) method. The DFIB method is non-local because it achieves a continuously divergence-free interpolated velocity field by first solving a Poisson problem for a discrete velocity potential. This discrete velocity potential is then interpolated to create a continuous velocity potential, which ultimately yields a continuously divergence-free velocity provided that the regularized delta function used for interpolation is at least C2.

The DFIB method defines the force spreading operator as the discrete adjoint of the interpolation operator, thereby ensuring energy conservation in Lagrangian-Eulerian interactions [1,27]. For force spreading, the method determines the Eulerian force by assuming it is discretely divergence-free and constructing it by solving a vector Poisson equation. This approach dramatically improves volume conservation of closed, pressurized membranes, even conserving the initial area to near machine precision [27].

However, the DFIB method’s computational cost increases substantially due to the additional Poisson solves required for both velocity interpolation and force spreading. In two spatial dimensions, one extra Poisson solve is needed for each interpolation operation, and two additional Poisson solves are required for each force spreading operation. In three spatial dimensions, three extra Poisson solves are necessary for both velocity interpolation and force spreading operations. Moreover, the DFIB method has been restricted to uniform periodic Cartesian grids, further limiting its applicability. Additionally, because the resulting Eulerian force density is constructed to be discretely divergence-free, compressive forces from the immersed structure are not spread to the background fluid grid, resulting in a nonphysical pressure field that does not reflect the structure’s presence and complicates extracting the physical pressure related to fluid-structure interaction.

Similar in spirit to the DFIB method is the Curl-Flow method developed by Chang et al. [28], though it is designed primarily for particle advection rather than coupled fluid-structure interaction models. Curl-Flow computes an analytically divergence-free velocity field using an approach similar to the DFIB method, but employs a parallel sweeping strategy combined with a single scalar Poisson solve to compute the vector potential. Unlike the DFIB method, Curl-Flow can be adapted to a variety of physical boundary conditions as well as non-uniform grids, including static boundaries such as cut cells.

We also mention the Fourier Spectral Immersed Boundary (FSIB) Method recently developed by Chen and Peskin [29]. The FSIB method is grid-free, leveraging only the Fourier representation of the velocity field with discretization achieved by truncating the number of Fourier modes employed. At every time step, each Fourier mode associated with the velocity field satisfies uˆ(kˆ)kˆ=0, ensuring that the interpolated velocity field is continuously divergence-free. The FSIB method can alternatively be derived by using a sinc function as the regularized delta function in the classic immersed boundary method on a periodic grid, with the Non-Uniform Fast Fourier Transform (NUFFT) employed to improve efficiency of force spreading and velocity interpolation operations. However, because the method leverages Fourier representations, it is limited to periodic boundary conditions, and an aliasing procedure must be chosen to accurately compute the nonlinear convective term and avoid aliasing errors. Despite these limitations, the FSIB method is more accurate than the standard IB method and exhibits higher convergence rates, particularly for problems such as an elastic ellipsoid immersed in periodic three-dimensional fluid, where solutions have been observed to converge with second-order accuracy in the L2 grid norm. While heuristic arguments suggest the classic IB method should compute a velocity converging at a 3/2 rate rather than second order in the L2 grid norm [30], the reason for this higher-order convergence rate observed with the FSIB method has yet to be explained theoretically.

This work introduces a different approach to mitigating volume conservation errors associated with the IB method by adopting regularized delta functions constructed using composite B-splines. These regularized delta functions not only provide divergence-free velocity interpolation but also maintain gradient structure when spreading forces that represent pressure jumps across the interface. The consistent transfer of continuous gradients to discrete ones eliminates a key source of spurious flows that typically plague immersed boundary computations. Composite B-splines are in a sense smooth generalizations of the Raviart-Thomas elements [31], and they have been utilized by the Isogeometric Analysis community to implement divergence-free conforming discretizations of equations modeling incompressible flow and FSI [3235]. Handscomb appears to be one of the earliest to use composite B-splines to produce divergence-free interpolants of discretely divergence-free velocity fields [36]. More recently, Schroeder et al. extended these ideas to the context of Eulerian variables discretized on a MAC grid [37]. They developed general divergence-free interpolation schemes based on generalized properties of composite B-splines, producing interpolants that are not only continuously divergence-free but also capable of reproducing discrete velocity fields defined at the edge centers of the MAC grid. Building on this work, Schroeder and colleagues have further developed continuously curl-free interpolants and divergence-free interpolants adapted to various finite difference stencils of the divergence and curl operators on the MAC grid [38].

Inspired by the works of Handscomb and of Schroeder et al., we employ composite B-spline regularized delta functions and demonstrate greatly enhanced volume conservation properties of the immersed boundary (IB) method. We find that this enhancement stems from two primary factors. First, supporting the findings of Handscomb and of Schroeder et al., the Lagrangian marker points used to discretize the immersed boundary are advected with a continuously divergence-free velocity field. Second, and what we believe we have identified for the first time, these composite B-spline regularized delta functions regularize distributional force densities that correspond to distributional gradients into discrete gradients on the MAC grid. Consequently, when a force spread on the grid corresponds to a distributional gradient, the composite B-spline regularized delta functions ensure that this force is spread as a discrete gradient, allowing it to be handled entirely by the pressure field rather than incorporating spurious viscous components. This mimetic treatment enables the IB method equipped with composite B-spline regularized delta functions to attain hydrostatic equilibrium of pressurized membranes, something the conventional IB method employed with isotropic regularized delta functions cannot achieve. The use of composite B-spline regularized delta functions is completely local and competitive with, and in some cases more accurate than, the DFIB method, without requiring Poisson solves for force spreading and velocity interpolation operations. Importantly, our approach only substitutes the identity of the regularized delta function used to mitigate volume errors; this is the only modification required. The composite B-spline regularized delta functions are compactly supported and thus efficient to use like Peskin’s classic IB method. Furthermore, for quasi-static problems, we demonstrate that composite B-spline regularized delta functions can produce pointwise accurate Lagrangian force densities that converge solely under Lagrangian grid refinement, similar to the DFIB method.

2. Continuous equations of motion

The immersed boundary method models fluid-structure interaction between a thin (co-dimension one) elastic structure and a surrounding fluid. The structure’s motion is described in Lagrangian coordinates, whereas the fluid is described in Eulerian coordinates on a Cartesian grid. Let X(s,t) be the Cartesian position at time t of a material point identified by the curvilinear coordinate s. We denote by Γ the curve traced out by these material points, which we assume to be closed and continuously differentiable. We will assume throughout the rest of the paper that the curvilinear coordinate s belongs to the interval [0,2π). In the fluid domain Ω, we define the Eulerian velocity field u(x,t) and pressure field p(x,t). The coupling between structure and fluid is mediated by interaction equations involving the Dirac delta function. For a viscous, incompressible fluid with constant density and a massless immersed structure, the equations of motion take the form:

ρDuDtx,t=μΔux,t-px,t+fx,t,xΩ, (1)
u(x,t)=0,xΩ, (2)
X(s,t)t=u(X(s,t),t)=Ωu(x,t)δ(x-X(s,t))dx,sI, (3)
f(x,t)=02πF(s,t)δ(x-X(s,t))ds,xΩ. (4)

Eqs. (1) and (2) are the Navier-Stokes equations for an incompressible, viscous fluid characterized by its constant density ρ and viscosity μ. The left-hand side of Eq. (1) contains the material derivative, DuDt, which describes the total rate of change of the velocity field. It is defined as DuDt=ut+(u)u. On the right-hand side of Eq. (1), the forcing term involves an integral transform with a Dirac delta function kernel. This term generates an Eulerian force density equivalent to the Lagrangian force density F(s,t) defined on the immersed structure. The Lagrangian force densities are determined from the configuration of the interface. Often, the Lagrangian force density is determined using the Fréchet derivative of an energy functional E(X(s,t)), i.e., F(s,t)=-EX(s,t). The Dirac delta function appears again in Eq. (3), in which it acts as an integral kernel to ensure that the Lagrangian configuration moves according to the local fluid velocity. We remark that although the equations of motion associated with the IB method have been outlined here in two spatial dimensions with thin, co-dimension one immersed structures, extensions to volumetric bodies and to three spatial dimensions are straightforward.

3. Discrete equations of motion

3.1. Eulerian spatial discretization

For simplicity of notation and discussion, we consider the fluid domain Ω as a periodic square with side length L discretized on a uniform Cartesian grid of size N×N, with grid increments Δx=Δy=h=LN. The Eulerian variables are discretized using the MAC staggered-grid discretization introduced by Harlow and Welch [39]. Although the staggered MAC grid structure is necessary for our approach, the uniform grid discretization and periodic boundary conditions are not essential. The IB method can readily accommodate physical boundary conditions rather than periodic ones [5,40,41]. More importantly, composite B-spline regularized delta functions can be used in any IB context where isotropic regularized delta functions are applicable, without deterioration in performance. This includes anisotropic Cartesian grids and locally adapted Cartesian grids, provided that the regularized delta function’s support does not extend past a coarse-fine interface.

The MAC discretization approximates the pressure pi,j=pxi,j at the centers of Cartesian grid cells xi,j=i+12h,j+12h. The discrete velocity ui,j=ui,j,vi,j is defined on the centers of the Cartesian grid cell edges with the x-component of the velocity ui,j=uxi-12,j located at xi-12,j=ih,j+12h and the y-component of the velocity vi,j=vxi,j-12 located at xi,j-12=i+12h,jh. For an illustration of the MAC discretization, see Fig. 1. Following Bao et al. [27], we denote the cell-center degrees of freedom using C, and the edge-centered degrees of freedom using E. Additionally, we define the nodal degrees of freedom N which are located at xi-12,j-12=(ih,jh). Although no discrete Eulerian variables are approximated on N, the discrete curl of the velocity field and the discrete scalar potential needed for the DFIB method are both approximated at the grid nodes.

Fig. 1.

Fig. 1.

Illustration of the edge-centered and cell center locations defined about the Cartesian cell xi,j.

We let h denote the discrete gradient operator, h. the discrete divergence operator, h× the discrete curl operator, and Δh the discrete Laplace operator. The application of each discrete differential operator is given by

hpi,j=1hpi,j-pi-1,jpi,j-pi,j-1, (5)
hui,j=1hui+1,j-ui,j+vi,j+1-vi,j, (6)
h×ui,j=1hvi,j-vi-1,j+ui,j-1-ui,j, (7)
Δhui,j=hhui,j=1h2ui+1,j+ui,j+1+ui-1,j+ui,j-1-4ui,j. (8)

The mappings between degrees of freedom for each discrete differential operator are:

h:CF,(discrete gradient) (9)
h·:FC,(discrete divergence) (10)
h×:FN.(discrete curl) (11)

The discrete Laplacian Δh maps a variable to grid locations corresponding to its own degrees of freedom. Although we previously described it acting on an edge-centered velocity, it can also be applied to quantities defined at other locations on the Cartesian grid. If applied to a cell-centered quantity, it produces a cell-centered result. Similarly, if used on a quantity defined on the grid nodes, it yields a result also defined on the nodes. In addition the spatial finite difference operators above, we also define the discrete rotation of a scalar field:

h:NF,(discrete rotation) (12)

in which h is a ninety degree rotation of the discrete gradient operator:

hai,j=1hai,j+1-ai,j-ai+1,j-ai,j. (13)

The nonlinear convective term (u)u is discretized in advective form using simple second-order accurate central finite differences [42]. We denote the discrete convective term as N(u)i,j. Because the velocity components are defined on F and are staggered in space, we need to interpolate the vertical velocity component v to the x-edge centers where the horizontal component u is defined, and interpolate u to the y-edge centers where v is defined. We perform these interpolations using simple averages. The discretization of the convective term is given by

N(u)i,j=12hui,jui+1,j-ui-1,j+14vi-1,j+vi,j+vi-1,j+1+vi,j+1ui,j+1-ui,j-114ui,j-1+ui,j+ui+1,j+ui+1,j-1vi+1,j-vi-1,j+vi,jvi,j+1-vi,j-1. (14)

3.2. Mimetic properties of the staggered MAC grid

A fundamental property of the staggered MAC grid, combined with the finite difference approximations of divergence, curl, and gradient operators defined above, is the existence of a discrete Helmholtz decomposition. Although we present the proof for periodic boundary conditions and a uniform Cartesian grid, analogous decompositions for anisotropic Cartesian grids and for other boundary conditions so long as the potential functions’ boundary conditions handled appropriately [43,44]. We begin by stating key identities proven by Bao et al. [27] for two spatial dimensions (noting that analogous results hold in three dimensions):

h×hϕi,j=0, (15)
hh×ui,j=0, (16)
i,jhϕi,jui,jh2=-i,jϕi,jhui,jh2, (17)
i,jhai,jui,jh2=i,jai,jh×ui,jh2. (18)

A key result from Bao et al. [27], originally proven in three dimensions but readily adapted to two dimensions, is:

Theorem 1. For any zero-mean, discretely divergence-free velocity field ui,j defined on the faces F of the MAC grid (hui,j=0), there exists a scalar potential ai,j defined on the grid nodes N such that

hai,j=ui,j. (19)

Moreover, this potential is unique up to a constant factor.

The proof relies on the fact that discretely harmonic functions on any portion of the MAC grid (nodes, faces, or cell-centers) must be constant. This theorem leads directly to the discrete Helmholtz decomposition:

Corollary 1. Any zero-mean vector field ui,j defined on the faces F of the MAC grid admits a discrete Helmholtz decomposition

ui,j=hϕi,j+hai,j, (20)

in which ϕi,j is defined on C and ai,j on N. The scalar potentials ai,j and ϕi,j are unique up to constants.

Proof. We construct ϕi,j as the solution to the discrete Poisson equation

Δhϕi,j=hui,j,

which exists because hui,j has zero mean (evident from identity (17)). The difference ui,j-hϕi,j is discretely divergence-free since hh=Δh and Δhϕi,j=hui,j. Therefore, by Theorem 1, there exists a scalar potential ai,j on N satisfying

hai,j=ui,j-hϕi,j,

which completes the decomposition. □

In three dimensions, this result generalizes with the scalar potential ai,j replaced by a vector potential ai,j,k, and h replaced by the discrete curl operator. The uniqueness of ai,j,k (up to a constant) requires the additional gauge condition hai,j,k=0.

3.3. Lagrangian spatial discretization

To discretize the immersed boundary, we use M Lagrangian marker points positioned at Xsk,t, with k=0,1,,M-1. We uniformly sample the parameter values sk along the interval [0,2π), with a constant increment Δs=2π/M between consecutive values.

We choose the number of Lagrangian marker points M and the increment size Δs based on a desired value of the ratio ΔXh. This ratio represents the physical distance between Lagrangian markers at the start of a simulation relative to the increment of the background Cartesian grid. We refer to this ratio as the mesh factor and denote it by Mfac=ΔXh.

The Lagrangian force densities are similarly discretized using these same parameter values, so that each marker point has an associated Lagrangian force density Fk(t)=Fsk,t. The discretization of the Lagrangian force densities will be described in each numerical test below.

The mesh factor is typically chosen based on the dominant flow characteristics [45,46]. Empirical findings indicate that for flows with relatively large pressure loads on the boundary, using Mfac1 ensures the fluid velocity interacts with a sufficiently dense set of Lagrangian marker points, preventing “leaks” from occurring. Conversely, for shear-dominant flows such as flow past a sphere or cylinder, or channel flow discretized using Lagrangian markers, selecting Mfac>1 provides more accurate solutions.

When studying convergence properties of the IB method, the mesh factor should be held constant to ensure consistent convergence behavior. We note that the use of composite B-spline regularized delta functions does not alter the recommended values of the mesh factor parameter.

3.4. Regularized delta functions

In the continuous setting, the immersed boundary method implements fluid-structure interaction through convolutions with singular Dirac delta function kernels as described in Eqs. (3) and (4). The presence of the singular Dirac delta function poses a significant numerical challenge. Thus, the first step in constructing the discretized the IB method is to replace this singular function with a regularized version, δh(x), in which the regularization parameter is chosen to be identical to the Eulerian meshwidth h. These regularized delta functions are typically expressed in tensor product form:

δhx=1h2ϕxhψyh, (21)

in which ϕ(r) and ψ(r) are one-dimensional kernel functions. Although the formula allows for different functions ϕ and ψ in the x and y directions, respectively, in the literature, these are almost always chosen to be the same function, yielding an approximately isotropic kernel function. Indeed, to our knowledge, there are no published descriptions of the immersed boundary method in which the functions ϕ and ψ differ. Following Schroeder et al. [37], who showed that composite B-splines produce continuously divergence-free interpolants of discretely divergence-free velocity fields on the MAC grid, our locally divergence-free IB method uses B-spline kernels for ϕ and ψ. These kernels differ in polynomial degree by one. In our tests, we also use isotropic kernels where ϕ and ψ are identical, allowing us to compare our method with Peskin’s original approach.

Each of the one-dimensional kernels we consider in this paper are derived from two different families of kernel functions. The first family we consider is the cardinal B-spline family of kernels, whose invention is attributed to Schoenberg [47], but was mostly popularized by de Boor [48]. B-splines have the attractive property that they can be constructed recursively. This construction starts from the piecewise constant B-spline, BS1(r):

BS1(r)=1,-12r12,0,otherwise. (22)

The rest of the B-spline family is then generated using recursive convolution:

BSn+1r=-BS1r-qBSnqdq. (23)

From this recursive identity, many properties of the B-spline family may be concluded. For example, taking the derivative of the (n+1)th B-spline results in a central difference of the nth B-spline

ddrBSn+1r=BSnr+12-BSnr-12. (24)

We remark that Eq. (23) allows us to infer that the nth B-spline kernel is made up of n nonzero polynomials of degree n-1. The nth B-spline is n-2 times continuously differentiable, is an even function and is compactly supported with support contained in the interval -n2<r<n2. One may also use Eq. (23) to show that as n approaches infinity, the sequence of B-splines converges to a rescaled Gaussian [49].

The regularized delta functions constructed using B-spline kernel functions are composite in nature. To interpolate the x-component of the velocity or spread the x-component of the force, we set ϕ(x)=BSk+1(x) and ψ(y)=BSk(y) in Eq. (21). Similarly, to interpolate the y-component of the velocity or spread the y-component of the force, we set ϕ(x)=BSk(x) and ψ(y)=BSk+1(y). For an illustration, see Fig. 2. This approach ensures that the interpolated velocities resulting from the discretely divergence-free velocities defined on the MAC grid are continuously divergence-free [37]. We detail the discrete velocity interpolation and force spreading operations in the following section.

Fig. 2.

Fig. 2.

Illustration of the composite B-spline kernel BS3BS2 used for velocity interpolation and force spreading operations. Left: the composite BS3BS2 kernel used to interpolate x-components of velocity and spread x-components of Lagrangian force density. Right: the composite BS3BS2 kernel used to interpolate y-components of velocity and spread y-components of Lagrangian force density.

The second family of one-dimensional kernel functions we consider is the IB family of regularized delta functions. Peskin conceived this family, designing them to be computationally efficient, accurate, and physically relevant [1]. In this work, we employ two kernels from this family: the four-point IB kernel, denoted as IB4, and the relatively new six-point IB kernel, denoted as IB6. The IB4 kernel is continuously differentiable and serves as our benchmark for comparing the standard IB method’s performance against the composite B-spline regularized delta functions. The IB6 kernel, which we use to implement the divergence-free interpolation and force-spreading scheme developed by Bao et al. [27], satisfies all the properties of the IB4 kernel but with improved grid translational invariance. Moreover, the IB6 kernel is three times continuously differentiable [50]. Regularized delta functions from the IB family are taken to be isotropic. Specifically, we use the same IB kernel function (either IB4 or IB6) for both one-dimensional kernels ϕ and ψ in Eq. (21). This kernel is applied consistently for both x and y components of the interpolated velocities and spread forces.

3.5. Velocity interpolation and force spreading operations

This section details the discretization of velocity interpolation and force spreading operations, as described by Eqs. (3) and (4) in the continuous equations of motion. We present two discretization approaches: the non-local DFIB method introduced by Bao et al. [27] and the standard IB method, introduced by Peskin [1]. Both methods replace the singular regularized delta function appearing in the continuous equations with a regularized version, as described in the previous section. The DFIB method, however, introduces an additional step: it first solves for a discrete potential function satisfying Theorem 1, which is then used to ensure that the interpolated velocity field is continuously divergence-free. The force spreading operations for each method are constructed to be adjoint to the corresponding velocity interpolation operation so that energy and momentum are discretely conserved [1].

3.5.1. Non-local DFIB velocity interpolation and force spreading

We describe the non-local DFIB velocity interpolation and force spreading operations. Although Bao et al. originally detailed this method in three spatial dimensions [27], we present it here in two spatial dimensions to align with our test scenarios. Following their approach, we first outline the velocity interpolation operation and then construct the force spreading operation as its discrete adjoint.

Let ui,j be a discretely divergence-free MAC vector field and let u0 be its discrete mean flow:

u0=1|Ω|i,j=0N-1ui,jh2, (25)

in which |Ω| is the area of Ω. By Theorem 1, there exists a scalar potential ai,j defined at the nodes N such that

hai,j=ui,j-u0. (26)

This potential is unique up to an additive constant and can be computed by solving the discrete Poisson equation

Δhai,j=-h×ui,j. (27)

To construct a continuously divergence-free interpolant, we first interpolate the scalar potential ai,j using a regularized delta function:

AX=i,j=0N-1ai,jδhxi-12,j-12-Xh2. (28)

The interpolated velocity U(X) is then computed by taking the continuous perpendicular gradient and adding back in the mean flow:

UX=𝒥DFIBXu=u0+i,j=0N-1ai,jδhxi-12,j-12-Xh2. (29)

When the regularized delta function is at least twice continuously differentiable, Clairut’s theorem regarding mixed partial derivatives ensures the interpolated velocity field is continuously divergence-free. In practice, the scalar potential is never explicitly interpolated. Instead the continuum perpendicular gradient of the regularized delta function is computed directly at the grid nodes N, and Eq. (29) is used directly.

The DFIB method’s force spreading operation is constructed as the discrete adjoint of the velocity interpolation operation. This ensures that energy is conserved between Eulerian and Lagrangian interactions, similar to the standard IB method. Bao et al. [27] provided the derivation of the DFIB force spreading operation in three dimensions. Below, we adapt Bao et al.’s derivation to the two-dimensional case for completeness.

Following Bao et al.’s approach, we obtain the two-dimensional DFIB force spreading operation starting from the principle that it should be the discrete adjoint of the velocity interpolation operation. That is,

i,j=0N-1ui,jfi,jh2=k=0M-1UkFkΔs, (30)

in which Uk=UXk. By replacing both the Eulerian ui,j and Lagrangian Uk velocities with their representations based on the discrete scalar potential ai,j, the left-hand side of Eq. (30) becomes

i,j=0N-1ui,jfi,jh2=u0f0|Ω|+i,j=0N-1hai,jfi,jh2 (31)
=u0f0|Ω|+i,j=0N-1ai,jh×fi,jh2. (32)

In the equation above, we note that we have applied summation by parts and the assumption of periodic boundary conditions to transfer the discrete perpendicular gradient operator acting on ai,j to a discrete curl operator acting on fi,j. We introduce the discrete scalar potential ai,j on the right hand side of Eq. (30) by replacing Uk by the divergence-free interpolated velocity

k=0M-1UkFkΔs=u0k=0M-1FkΔs+k=0M-1i,j=0N-1ai,jhδhxi-12,j-12-XkFkΔsh2 (33)
=u0k=0M-1FkΔs+i,j=0N-1ai,jk=0M-1hδhxi-12,j-12-Xk×FkΔsh2. (34)

Therefore, Eq. (30) holds if we set

f0=1|Ω|k=0M-1FkΔs (35)

and

h×fi,j=k=0M-1δhxi-12,j-12-Xk×FkΔs. (36)

To solve for the Eulerian force density fi,j, we make the additional assumption,

hfi,j=0. (37)

This discrete divergence-free condition placed on fi,j allows us to obtain the following vector Poisson equation for the Eulerian force density fi,j to be spread to the background grid

-Δhfi,j=hk=0M-1δhxi-12,j-12-Xk×FkΔs. (38)

Upon solving this equation, the unique solution for the Eulerian force density fi,j is determined by adding f0 to the computed solution via Eq. (35). We denote the DFIB force spreading operation using the notation

fi,j=SDFIBXF. (39)

The fact that the DFIB method spreads an Eulerian force density that is always discretely divergence-free is not overly restrictive, because only the divergence-free component of the spread force affects the flow field. However, because the spreading operation filters out the discrete non-solenoidal component of the spread force, the computed pressure differs from the physical pressure, which will also account for the non-solenoidal forces arising from the presence of the immersed boundary.

3.5.2. Local IB velocity interpolation and force spreading

Given a discrete Eulerian velocity field u, we compute the horizontal Uk and vertical Vk components of the velocity associated with the kth Lagrangian marker point via

Uk=i,j=0N-1ui,jδhxi-12,j-Xsk,th2, (40)
Vk=i,j=0N-1vi,jδhxi,j-12-Xsk,th2, (41)

in which Uk=Uk,Vk. While the Eulerian velocity field satisfies a discrete incompressibility constraint (hui,j=0), the interpolated velocity field U(X) is generally not continuously divergence-free (i.e., XU(X)0) if using standard isotropic regularized delta functions. This failure to maintain a divergence-free velocity field can lead to spurious volume changes during Lagrangian marker advection. For composite B-spline regularized delta functions, the interpolation operation preserves the divergence-free property, converting discretely divergence-free velocity fields into continuously divergence-free interpolants [36,37].

For completeness, we provide a proof of this property. The proof assumes that either the computational domain is periodic or that all points X where the velocity is being interpolated are located at least one kernel width away from the boundary of the staggered Cartesian grid. Under these assumptions, using composite B-spline regularized delta functions to interpolate the velocity yields a continuously divergence-free result. Because of their tensor product nature, the interpolated velocity remains continuously divergence-free even if the Cartesian grid is anisotropic or for locally adapted grids, provided that the support of the regularized delta function does not overlap a coarse-fine interface.

Under these assumptions, using composite B-spline regularized delta functions to interpolate the velocity yields

U(X)=i,jui,jBSn+1xi-12-XhBSnyj-Yh, (42)
V(X)=i,jvi,jBSnxi-XhBSn+1yj-12-Yh. (43)

Taking the continuous divergence of U(X) with respect to X, we obtain

UX(X)+VY(X)=-1hi,jui,jBSn+1xi-12-XhBSnyj-Yh+vi,jBSnxi-XhBSn+1yj-12-Yh. (44)

Using the derivative identity (24) associated with the B-spline sequence, the continuous divergence may be expanded to

UX(X)+VY(X)=-1hi,jui,jBSnxi-12-Xh+12-BSnxi-12-Xh-12BSnyj-Yh-1hi,jvi,jBSnxi-XhBSnyj-12-Yh+12-BSnyj-12-Yh-12 (45)
=-1hi,jui,jBSnxi-Xh-BSnxi-1-XhBSnyj-Yh-1hi,jvi,jBSnxi-XhBSnyj-Yh-BSnyj-1-Yh. (46)

Applying summation by parts to the sums i,jui,jBSnxi-1-Xh and i,jvi,jBSnyj-1-Yh transforms the above into

1hi,jui+1,j-ui,j+vi,j+1-vi,jBSnxi-XhBSnyj-Xh=i,jhui,jBSnxi-XhBSnyj-Xh, (47)

which is zero according to our assumption that ui,j is discretely divergence free. Thus, the interpolated velocity field satisfies XU(X)=0 pointwise and will help mitigate volume conversation errors which result from the velocity interpolation operation. We emphasize that this proof relies on only two key mathematical ingredients: the derivative identity (24) and summation by parts. Consequently, any composite combination of kernel functions satisfying the same derivative identity (24) will yield an interpolation operator that converts discretely divergence-free velocity fields into continuously divergence-free ones. For instance, one could construct such an interpolant using a composite combination of the IB4 kernel function and its convolution with the piecewise-constant function BS1.

Additionally, we note that although the interpolated velocity field is pointwise continuously divergence-free, the resulting interpolated velocity is still computed with first-order interpolation errors. This limitation arises because the velocity generally has a jump discontinuity in its normal derivative across the immersed boundary [23,46,51]. If the velocity were smooth, using composite B-splines would yield second-order accuracy since they satisfy the first moment conditions [1]. However, since the regularity of the true velocity field is inherently limited by the presence of the immersed boundary, employing higher-order interpolation schemes does not improve order of accuracy. For this reason, we avoid using the higher-order continuously divergence-free interpolation schemes suggested by Chowdhury, Shinar, and Schroeder [38].

Analogous to the description of the DFIB method, the force spreading operator is chosen to be the discrete adjoint of the velocity interpolation operator to ensure conservation of energy in Lagrangian-Eulerian interactions [1]. For a discrete Lagrangian force density F=Fx,Fy, the spread force f=fx,fy is computed according to

fi,jx=k=0M-1Fxsk,tδhxi-12,j-Xsk,tΔs, (48)
fi,jy=k=0M-1Fysk,tδhxi,j-12-Xsk,tΔs. (49)

A property of composite B-spline regularized delta functions, which to our knowledge is previously unrecognized, is their ability to preserve gradient structure when spreading Lagrangian force densities to Eulerian force densities on the grid. Specifically, when a Lagrangian force density represents a mean pressure jump across an interface, the force spreading operation transfers it to a discrete gradient of a scalar ϕi,j defined at the cell centers of the MAC grid:

hϕi,j=fi,j=02πF(s,t)δh(xi,jX(s,t))ds=Γp0nˆδh(xi,jX)dS, (50)

in which, for notational simplicity, we write fi,j and δhxi,j-X with the understanding that vector components are evaluated at their respective staggered grid locations on the MAC grid. Here, Γ is the set that describes the physical locations of the immersed boundary and p0 is the mean value of the jump in the pressure along the immersed boundary, defined as

p0=02πp(s)ds. (51)

In the continuous setting with singular delta functions, these forces represent distributional gradients of piecewise constant functions with discontinuities along the immersed boundary. Such forces naturally arise in fluid-structure interaction equilibria, particularly when elastic and pressure forces balance along a fluid-filled membrane at steady state. Although these forces should theoretically induce no fluid motion, standard isotropic regularized delta functions project a significant portion onto discretely divergence-free vector fields, generating spurious flows. While these spurious velocities converge to zero under grid refinement, they remain significant at practical resolutions due to their first-order pointwise convergence rate [30]. The combination of these spurious flows with a velocity interpolation operator that does not preserve divergence-free conditions leads to cumulative volume conservation errors. This phenomenon is particularly evident in classical IB simulations of elastic membranes, where the enclosed volume decreases linearly in time at a rate proportional to the pressure jump across the membrane interface [20,21,26].

In contrast to isotropic kernels, composite B-spline regularized delta functions preserve gradient structure by mapping these forces to discrete gradient fields that properly balance the pressure Lagrange multiplier. To demonstrate this mimetic property, consider a Lagrangian force density F(s,t) satisfying

02πF(s,t)ds=Γp0nˆdS, (52)

in which p0 represents a mean pressure jump across the immersed boundary Γ with an outward pointing unit normal vector nˆ and dS is the infinitesimal arc-length increment. We note that such a force takes the form

F(s,t)=p0nˆs,tXss,t. (53)

To show that composite B-spline regularized delta functions map these forces to discrete gradient fields, we can either demonstrate that I-hΔh-1h.f=0, or equivalently, using the discrete Helmholtz decomposition available on the staggered, MAC grid, show that h×f=0. We choose the latter approach for its computational simplicity. Taking the discrete curl of the corresponding Eulerian force density f, we get

h×Γp0nˆδhxi,j-XdS=1h3Γp0nˆ-BSn+1xi-1/2-XhBSnyj-Yh-BSnyj-1-YhBSnxi-Xh-BSnxi-1-XhBSn+1yj-1/2-YhdS (54)
=1h3Γp0nˆ-BSn+1xi-1/2-XhBSnyj-1/2-Yh+12-BSnyj-1/2-Yh-12BSnxi-1/2-Xh+12-BSnxi-1/2-Xh-12BSn+1yj-1/2-YhdS (55)

Applying the derivative property associated with the B-spline family (24) and the chain rule to the above right hand side of the equation, we get

-1h2Γp0nˆ-BSn+1xi-12-XhddYBSn+1yj-12-YhddXBSn+1xi-12-XhBSn+1yj-12-YhdS. (56)

Applying the divergence theorem, we obtain

-1h2Γp0nˆ-BSn+1xi-1/2-XhddYBSn+1yj-1/2-YhddXBSn+1xi-12-XhBSn+1yj-1/2-YhdS (57)
=1h3p0(ddXBSn+1(xi1/2Xh)ddYBSn+1(yj1/2Yh)ddXBSn+1(xi1/2Xh)ddYBSn+1(yj1/2Yh))dXdY=0. (58)

in which the double integral is taken over the region enclosed by Γ. Because of the tensor product nature of composite B-spline regularized delta functions, this property readily extends to anisotropic Cartesian grids. We note that the spread force preserves its gradient structure under physical boundary conditions, provided the composite B-spline regularized delta function’s support remains inside the computational domain. Similarly, this result holds on locally adaptive Cartesian grids, provided that the delta function support does not overlap any coarse-fine interface.

This analysis demonstrates that composite B-splines preserve the gradient structure of forces corresponding to mean pressure jumps so long as the force spreading operator is computed exactly. In practice, both velocity interpolation and force spreading operators are discretized using the periodic trapezoidal rule, whose convergence rate depends on the Fourier series decay of the integrand [52]. Consequently, smoother kernel functions provide more accurate force spreading operations and better preservation of gradient structure for forces satisfying (52). Further analysis of the spurious flows generated by isotropic regularized delta functions, including scaling estimates of induced spurious vorticity and velocity magnitude along with numerical validation, is provided in Section A.1 of the appendix.

3.6. Temporal discretization

The equations of motion (1)–(4) are discretized in time using a semi-implicit scheme, previously presented for various IB method applications [27]. We describe the time stepping scheme using the notation for the standard IB method, noting that the same scheme applies to the DFIB method. To advance from time step tn to tn+1=(n+1)Δt, we first approximate the Lagrangian configuration at the midpoint tn+12,

Xn+12=Xn+Δt2𝒥Xnun. (59)

We then use Xn+12 to approximate the Lagrangian force density Fn+12 at tn+12. The updated Lagrangian force density is then passed to the force spreading operator to obtain an approximation for fn+12 at the midpoint,

fn+12=SXn+12Fn+12. (60)

Next, we solve the following discrete approximation to the momentum equation and incompressibility constraint for un+1 and pn+12,

ρun+1-unΔt+N(u)n+12=-hpn+12+μ2Δhun+1+un+fn+12, (61)
hun+1=0, (62)

where N(u)n+12 is a second-order Adams-Bashforth (AB2) approximation to the advection term at the time step midpoint,

N(u)n+12=32N(u)n-12N(u)n-1. (63)

Finally, we compute an approximation to the Lagrangian configuration at tn+1 using the midpoint approximation,

Xn+1=Xn+Δt2𝒥Xn+12un+1+un. (64)

As the nonlinear advective term uses the AB2 scheme, we employ an explicit second-order Runge-Kutta (RK2) scheme for the first time step, as previously described [1]. While both the DFIB and standard IB methods use the same time stepping scheme, the DFIB method requires three additional scalar Poisson solves per time step. We note that in three spatial dimensions, the DFIB method becomes substantially more computationally expensive. It requires nine additional scalar Poisson solves and nine additional scalar interpolation/spreading steps. This makes it approximately twice as costly per time step in two dimensions and three times more expensive in three dimensions compared to the ordinary IB method [27].

To solve Eq. (61) at each time step, we use the projection method. We first solve for the pressure by taking the discrete divergence of Eq. (61) and solving the resulting scalar Poisson equation for the pressure using the Fast Fourier Transform (FFT) available on the periodic grid. After computing the pressure pn+12, we compute its discrete gradient and solve the resulting vector equations for the velocity variables using the FFT. For non-periodic grids, we solve the fully coupled saddle-point system posed by (61) and use the projection method as a preconditioner, as described by Griffith [53].

3.7. Area conservation measurements

A consequence of the incompressibility of the fluid is that the initial area (or volume) of a closed curve (or surface) remains constant if advected by the fluid. We use this concept to evaluate how well an immersed boundary simulation, combined with a specific regularized delta function, maintains the continuous incompressibility constraint of the fluid. To compute the areas of closed immersed boundaries, we introduce tracer points Xtracer, positioned according to the initial configuration of the immersed boundary but advected solely by interpolated fluid velocity. This means the tracer points do not generate any Lagrangian forces that are spread back onto the fluid grid. We measure and track the area enclosed by the tracer points by invoking Green’s theorem in the form

At;Xtracer=12Dtracerxydxdy=1202πXtracer(s,t)Ytracers(s,t)-Ytracer(s,t)Xtracers(s,t)ds, (65)

in which Dtracer is the domain enclosed by the closed curve discretized by the tracers Xtracer. To compute this quantity, we use cubic splines to interpolate the coordinates of the tracers. We then differentiate the spline interpolant of the tracers and compute the integral given by Green’s theorem by replacing Xtracer,Xtracers,Ytracer, and Ytracers with their spline representations and integrate these splines exactly. The number of tracer points Ntracer we use is an integer multiple of the number of Lagrangian marker points NIB employed to discretize the physical immersed boundary. The integer multiple is chosen large enough so that the initial area enclosed by the immersed boundary is computed to about machine precision. In each of our tests, we report the relative change in the area at each time step

ΔAt;Xtracer=At;Xtracer-AinitialAinitial, (66)

in which Ainitial is the exact initial area enclosed by immersed boundary.

4. Numerical tests and discussion

This section presents empirical tests demonstrating the effectiveness of composite B-splines in preserving areas of immersed boundaries defined by closed curves. To benchmark the composite B-spline regularized delta functions, we compare results with the IB method using the isotropic IB4 regularized delta function and the (non-local) DFIB method using the isotropic IB6 regularized delta function. All physical quantities in this paper are reported using the centimeter-gram-second (CGS) unit system. The fluid is characterized by a constant density of ρ=1.0 and a dynamic viscosity value of μ=0.1.

4.1. Advecting an immersed boundary using Taylor vortices

We first test the ability of the interpolation scheme to reconstruct incompressible material trajectories for a case that does not involve fluid-structure interaction by comparing the standard IB method and the DFIB method when applied to advecting Lagrangian tracers Xtracer according to a Taylor-Green vortex flow on the periodic unit square. The associated velocity and pressure fields are given by:

ux,y,t=1+2e-8π2μρtsin2πy-tcos2πx-t, (67)
vx,y,t=1-2e-8π2μρtcos2πy-tsin2πx-t, (68)
px,y,t=-e-16π2μρtcos4πx-t+cos4πy-t. (69)

The tracers are initialized so that they discretize the circle centered at 12,12 and radius of r=14. We emphasize that this is not a fluid-structure interaction case. The tracers are purely advected using the interpolation strategies of both the IB and DFIB methods. No Lagrangian force densities are spread onto the Cartesian grid.

To evaluate area conservation properties, we simulate advection of the tracers on a uniform grid with increment h=132. We use eight time step sizes: Δt=h8,h16,h32,h64,h128,h256,h512, and h1024. For each method and choice of regularized delta function, we compute the temporal mean of the relative area error ΔA¯Xtracer over the interval t=[0,1]. In this context, area computation errors may arise from two different sources: (1) the interpolated velocity field not being continuously divergence-free; or (2) the time-stepping scheme introducing errors in tracer positions. Both the DFIB and IB methods update the positions of the tracers using the explicit midpoint rule, which has a global truncation error that is second-order accurate. Consequently, we expect the errors introduced by the time-stepping scheme to be 𝒪Δt2 until the error associated with the incompressibility of the interpolated velocity field becomes dominant. In addition, cubic spline interpolation introduces errors when approximating the area enclosed by the tracer points. However, we have observed that these interpolation errors are much smaller in magnitude than the errors committed by time stepping.

The results are illustrated in Fig. 3. The relative area errors of the DFIB and IB methods implemented with each of the composite B-splines, except the discontinuous BS2BS1 kernel, are completely superimposed and exhibit second-order convergence with respect to the time step size Δt. For larger time step sizes, the IB method with the BS2BS1 and IB4regularized delta functions also exhibits second-order convergence. However, for the IB4 kernel, upon decreasing the time step size below Δt=h128, the relative area error begins to plateau as the error associated with the incompressibility of the interpolated velocity dominates. Similarly, the relative error levels off for the BS2BS1 kernel below a time step size of Δt=h256.

Fig. 3.

Fig. 3.

Mean relative area errors ΔA¯Xtracer for regularized delta functions in the IB method and for the DFIB method.

Although the BS2BS1 kernel provides a continuously divergence-free interpolant, we observe that the error levels off as Δt decreases. This unexpected behavior can be attributed to the discontinuous nature of the resulting interpolated velocity field. These discontinuities in the interpolated velocity field lead to discontinuities in the resulting time derivatives, which in turn reduce the asymptotic local truncation error of the explicit midpoint rule to only first-order in time. Consequently, the asymptotic global truncation error remains 𝒪(1) as Δt approaches zero. Supplemental analysis regarding this phenomenon is provided in Section A.2 in the appendix.

4.2. A pressurized circular membrane at equilibrium

Next we consider a FSI problem involving a quasi-static pressurized membrane initialized in its circular equilibrium configuration with center 12,12 and radius r=14 in the periodic unit square Ω=[0,1]2, with zero initial background flow. The Lagrangian force density is

F(s,t)=κ2X(s,t)s2, (70)

and it is discretized using centered, second-order accurate finite differences:

Fk=κΔs2Xk+1+Xk-1-2Xk. (71)

This discrete formulation models the Lagrangian markers as being linked by linear springs with zero rest lengths and uniform stiffness κΔs. At equilibrium, this force density should generate no fluid motion and produce a pressure field with a jump of magnitude κ across the interface. This test case therefore allows us to verify our earlier analysis of how composite B-spline regularized delta functions preserve gradient structure when spreading such forces to the grid.

We set κ=1,Δt=h/8 with h=1/128, and, unless otherwise noted, Mfac=1/2. Because the immersed membrane is initialized at equilibrium, we consider any deviation from the initial area enclosed by the membrane to be attributed to errors associated with spatial discretization of the IB method employed. Griffith [21] simulated a pressurized membrane at equilibrium using the IB method in which the Eulerian variables were discretized according to the MAC scheme [39] and the velocity interpolation and force spreading operators were implemented using Peskin’s four-point delta function [1]. Griffith found that although the MAC discretization of the IB method exhibited better volume conservation properties compared to a collocated discretization, the IB method discretized on the MAC grid still exhibited persistent volume loss. Bao et al. [27] found that so long as the immersed boundary was resolved enough, the DFIB method was able to maintain the initial volume of the immersed boundary to within machine precision. In Fig. 4, we compare the DFIB method implemented with the C3 six-point IB kernel to the standard IB method implemented with the four-point IB and composite B-spline regularized delta functions.

Fig. 4.

Fig. 4.

Semi-log plot of time-dependent relative area errors.

Consistent with the findings of Bao et al., we observe that the DFIB method preserves the initial area of the circle to within machine precision throughout the computation. Likewise, the two composite B-spline pairs with the highest regularity, BS5BS4 and BS6BS5, also maintain the initial area of the circle to within machine precision. Although composite B-spline pairs of lower regularity do not achieve the same level of accuracy as their higher regularity counterparts, they still substantially outperform the standard four-point IB kernel, with the least regular composite B-spline pairing, BS2BS1, performing about an order of magnitude better than the standard four-point kernel. Further, we note that the relative area errors for the BS2BS1 and IB4 regularized delta functions plateau at approximately the same values as in the pure advection test illustrated in Fig. 3.

To analyze force computation accuracy, we compare numerical results with the exact Lagrangian force density Fexact(s)=-κrnˆ(s) for the equilibrium circular configuration, with nˆ(s) denoting the outward unit normal. Figs. 5 and 6 show the pointwise and L2 errors in the computed steady-state forces for various kernels, respectively. The L2 grid norm errors associated with the Lagrangian force density is given by the formula

F-FexactL2=k=0M-1Fk-Fkexact2Δs1/2. (72)

Fig. 5.

Fig. 5.

Semi-log plot of the error F-FexactL2 for the BS4BS3, BS6BS5, IB4 regularized delta functions and the DFIB method for a uniform Cartesian grid discretization with h=1/128 and Lagrangian mesh discretizations corresponding to Mfac=2,1,12,14,18.

Fig. 6.

Fig. 6.

Log-log plot of the L2 grid norm errors of the Lagrangian force densities corresponding for a uniform Cartesian grid discretization with h=1/128 and Lagrangian mesh discretizations corresponding to Mfac=2,1,12,14,18. The results for the BS2BS1 kernel at Mfac=18 are omitted because the simulation became unstable.

We observe varying convergence behaviors in Lagrangian force densities across different kernels and methods. The composite B-splines, excluding only the discontinuous BS2BS1 kernel, empirically produce Lagrangian force densities that converge pointwise under solely Lagrangian grid refinement. This pointwise convergence is demonstrated for the BS6BS5 and BS4BS3 kernels, as well as the DFIB method in Fig. 5. In contrast, the IB4 kernel does not yield pointwise convergent Lagrangian force densities under these conditions. In fact, for the IB4 kernel, this lack of convergence persists even under simultaneous refinements of both grid sizes and time step size, as shown in Fig. 7.

Fig. 7.

Fig. 7.

Euclidean error in the computed steady-state Lagrangian force densities using the IB4 regularized delta function. For each simulation, the time step size is set to Δt=h8, and the Lagrangian grid is chosen such that Mfac=12. This ensures that both the time step and Lagrangian grid are simultaneously refined with the Cartesian grid increment h.

Examining the L2 grid norm convergence of the Lagrangian force densities, as shown in Fig. 6, we find that the BS6BS5, BS5BS4, BS4BS3, and BS3BS2 regularized delta functions, along with the DFIB method, all provide L2 convergence under Lagrangian grid refinement, with the more regular kernels generally producing smaller errors. The less regular BS3BS2 kernel appears to yield L2 convergence rates proportional to Δs2, whereas the more regular composite B-spline kernels and DFIB method produce asymptotic rates proportional to Δs3. Notably, both the IB4 regularized delta function and the BS2BS1 kernel fail to produce L2 convergent Lagrangian force densities under solely Lagrangian grid refinement. The inaccuracies associated with the BS2BS1 kernel can be attributed to the discontinuous nature of the interpolated velocity U(s,t) in both time t and the curvilinear coordinate s. These discontinuities in the interpolated velocity field propagate to the Lagrangian marker positions, resulting in jump discontinuities in their trajectories with respect to both s and t. Consequently, large localized errors arise in the computed Lagrangian force densities near these discontinuity points. A more detailed discussion of the discontinuities in the interpolated velocity obtained using the BS2BS1 kernel is presented in Section A.2 of the appendix.

For the pressurized membrane problem, we note that as long as the time step is simultaneously refined with the Cartesian grid increment h>0, the errors in the Lagrangian force densities using the IB method with composite B-spline regularized delta functions (excluding BS2BS1) and the DFIB method appear to depend only on the value of Δs.

Having analyzed volume conservation and force accuracy, we next examine how these regularized delta functions spread forces to the grid. For the equilibrium configuration, the Lagrangian force density represents a zero-mean pressure jump across the interface which, in the continuous setting, corresponds to a distributional gradient and therefore induces no flow. To assess whether this gradient structure is maintained in the discrete setting, we examine the discrete curl of the spread force at the start of the simulation, before marker positions are significantly perturbed. Fig. 8 demonstrates that both composite B-spline kernels and the DFIB method exhibit convergent behavior under Lagrangian grid refinement, with rates improving with kernel regularity. As expected, this dependence on regularity reflects the properties of our use of the periodic trapezoidal rule used to discretize the force spreading operation — smoother integrands yield higher-order accuracy in the quadrature approximation. For a Cn kernel, the theoretical convergence rate scales as Δs2+n [52], matching our observed results. The IB4 kernel, however, maintains persistent 𝒪h-2 errors in the discrete curl. Further analysis regarding spurious flows and vorticity associated with spreading forces using isotropic regularized delta functions is provided in Section A.1 of the appendix.

Fig. 8.

Fig. 8.

Plots of the maximum curl of the discrete Eulerian force density are presented. The plot on the left illustrates the convergence rates as the Lagrangian parameter grid size Δs approaches zero. Kernels with higher regularity yield faster convergence rates, in accordance with the error estimates associated with the periodic trapezoidal rule. The log-log plot on the right demonstrates that the discrete curl of the IB4 force spreading operator does not vanish as Δs is refined.

These differences in force spreading manifest in the resulting flow fields. Fig. 9 illustrates the vorticity of the fluid velocity at t=0.05 using different kernel choices. The C4 BS6BS5 kernel, which best maintains the gradient structure, generates minimal spurious vorticity. In contrast, the isotropic C1 IB4 kernel produces significant spurious flows distributed widely around the interface. The DFIB method and BS4BS3 kernel show intermediate performance, with DFIB achieving approximately an order of magnitude reduction in spurious vorticity compared to BS4BS3.

Fig. 9.

Fig. 9.

Flow fields at t=0.05 for the IB method using the IB4, BS4BS3, and BS6BS5 regularized delta functions and the DFIB method. Each panel is a pseudo-color plot illustrating the vorticity ω=h×u and its associated vector field in black. The locations of the Lagrangian markers Xk are plotted as blue markers. The color bar beside each panel indicates the magnitude of the vorticity.

Given that our finite difference approximation of F(s,t) (Eq. (71)) is only second-order accurate, the close agreement between the expected periodic trapezoidal rule and observed error rates might seem surprising. However, the higher-order terms in the Taylor series expansion of the error are all proportional to even derivatives of the parameterization. Each error term is thus directly proportional to the circle’s normal vector. Consequently, the divergence theorem implies that these higher-order error terms also vanish as the Lagrangian mesh is refined.

4.3. A parametrically excited membrane

In this section, we use the IB and DFIB methods to simulate a parametrically excited membrane with an elastic stiffness that is periodic in time. The Lagrangian force density associated with the membrane is given by

Fs,t=κt2Xs,ts2, (73)
κ(t)=κ01+2τsinω0t. (74)

The initial configuration of the membrane is a perturbation of the a circle radius r centered in a periodic square fluid domain Ω=[0,L]2. It is described by the parameterization:

X(s,0)=L12+r(1+ϵcos(ps))nˆ(s), (75)

in which nˆ(s) is the unit outward pointing normal vector of the unit circle. This model problem, introduced by Cortez et al. [54,55], serves as a simple representation of an active immersed material driven by a periodic forcing. Cortez et al. performed a Floquet analysis of this problem, in which the integer parameter p>1 identifies the wavenumber of the Floquet mode under consideration. The parameters τ and ω0 control the amplitude and frequency of the stiffness oscillation, respectively. The parameter ϵ a small parameter used to linearize the equations of motion.

Here, we consider two distinct time evolutions of the forced membrane using parameter values consistent with Bao et al.’s tests [27]. Guided by the Floquet analysis of Cortez et al., Bao et al. examined two parameter combinations: one resulting in damped oscillations, and another leading to growing oscillations that are eventually stabilized by nonlinearities. These parameter values are reproduced in Table 1 for reference.

Table 1.

Parameter values for the forced membrane simulations.

ρ μ L R κ0 ω0 p ϵ0 τ
1 0.15 5 1 10 10 2 0.05 0.4 (damped oscillation)
1 0.15 5 1 10 10 2 0.05 0.5 (growing oscillation)

The background Cartesian grid is discretized using a uniform increment h=L128 and the Lagrangian markers are initialized so that the physical distance separating them is roughly h in the equilibrium configuration so that Mfac=1. Similar to the static pressurized membrane problem we monitor errors in area conservation using the method described in Section 3.7. For each set of parameter values, we examine three different time step sizes: Δt=h10,h20, and h40. Because we use a second-order time stepping scheme, we anticipate that the error in area computation will scale as 𝒪Δt2. However, this scaling may not be achieved if the force spreading approximation generates significant spurious flows, and this problem is exacerbated by kernels with insufficient regularity.

For each dynamic problem, we observed that area errors associated with composite B-splines of C1 regularity or greater produced were roughly identical to the area errors produced by the DFIB method. Thus, to avoid redundancy, we present only the results of the BS2BS1, BS3BS2, and BS5BS4 composite B-spline regularized delta functions. Fig. 10 shows the relative area errors of these composite B-splines along side with the relative area errors produced by the IB4 kernel and DFIB method.

Fig. 10.

Fig. 10.

Relative area errors over time for a membrane undergoing damped oscillations due to parametric excitation. time step sizes are Δt=h/10 (green), h/20 (blue), and h/40 (orange). Results for Δt=h/10 with the BS2BS1 kernel are omitted because the simulation became unstable.

The area errors for the BS2BS1 were not included for the time step size Δt=h10 because the simulation became unstable. For composite B-spline regularized delta functions with C1 regularity or higher, as well as for the DFIB method, we observe that the area errors are primarily influenced by the time-stepping scheme. This is evidenced by the consistent 𝒪Δt2 decrease in area error for both approaches. For the IB4 kernel, all of the relative area errors super impose atop each other indicating that the error is dominated by the velocity interpolation error associated with the IB4 kernel. The BS3BS2 composite kernel performs relatively poorly compared to the more regular composite B-splines at the largest time step size of Δt=h10. When the time step size is reduced by a factor of 2, the BS3BS2 kernel produces more accurate error estimates. However, with further reduction in time step size, the errors remain constant, indicating that errors associated with force spreading approximation and lack of kernel regularity become dominant. The discontinuous BS2BS1 kernel produces area errors of relatively consistent magnitude across all stable time step sizes. This consistency suggests that the lack of regularity of the BS2BS1 kernel dominates the error. Recall that the BS2BS1 kernel generates a discontinuous interpolated velocity field, resulting in first-order local truncation errors and thus 𝒪(1) global truncation errors over the simulation duration. These trends similarly reproduce for the resonant case of the parametrically excited membrane; however, the relative area errors are slightly larger due to larger time-stepping errors associated with the growing amplitude of the membrane’s oscillation. These results are presented in Fig. 11.

Fig. 11.

Fig. 11.

Relative area errors as a function of time for a membrane undergoing growing oscillations due to parametric excitation. Each kernel function was utilized with three different choices of time step size Δt=h10 (green), Δt=h20 (blue), and Δt=h40 (orange). The results for the time step size of Δt=h10 were not included for the BS2BS1 regularized delta functions because the simulation was not stable.

4.4. A flexible membrane in lid-driven cavity flow

In this section, we use the IB method to simulate a flexible membrane immersed in lid-driven cavity flow. This example is inspired by the benchmark that Griffith and Luo explored with their approach to link finite element mechanics models with the IB framework, which we now call immersed finite element-difference (IFED) method [57], in which they simulated an immersed soft, neo-Hookean disc in lid-driven cavity flow [56]. We include this example to demonstrate that composite B-spline regularized delta functions effectively mitigate volume conservation errors even in the presence of physical boundaries in the computational domain. Since both the DFIB and FSIB methods, which excel at mitigating volume conservation errors, are limited to periodic boundary conditions, we focus our comparison on the IB method using different choices of regularized delta function, including the isotropic IB4 and IB6 kernels and the composite B-spline regularized delta functions.

The computational domain is the unit square [0, 1]×[0, 1], discretized using a uniform Cartesian grid with meshwidth h=1128. The Lagrangian force density is modeled using Eq. (71) with stiffness κ=1.0. The membrane is initialized in its equilibrium configuration as a circle of radius r=0.2 centered at (0.6, 0.5), with mesh factor Mfac=12.

The fluid is initialized to zero velocity. Following Griffith and Luo [56], the horizontal component of velocity along the top wall is set to unity, u(x,1)=1.0, whereas both velocity components satisfy homogeneous Dirichlet boundary conditions along the remaining walls.

For these parameter values, we use three different time step sizes: Δt=h4,h8, and h16 to investigate how volume conservation errors depend on time step size. The computation proceeds until a final time of t=10. Because our temporal discretization is second-order accurate, we expect volume conservation errors to be dominated by time stepping errors and thus to decrease by approximately a factor of four each time the time step size is halved.

Fig. 12 illustrates snapshots of the membrane dynamics at t=0,3,5, and 7 using the BS4BS3 delta function. Over the course of the simulation, the membrane becomes entrained in the flow field and migrates from its starting position towards the top of the cavity where it undergoes a relatively large deformation as it is compressed against the lid of the cavity. This near contact is automatically handled by the IB formulation using the approach outlined in the appendix of Kallemov et al. [40].

Fig. 12.

Fig. 12.

Snapshots of membrane dynamics in lid-driven cavity flow over the time interval 0t7.

Fig. 13 shows the relative area errors associated with the IB4, IB6, BS3BS2, and BS4BS3 delta functions. The IB4 and IB6 delta functions display relative area errors that essentially overlap for each choice of time step size. The BS3BS2 and BS4BS3 regularized delta functions exhibit relative area errors that decrease as 𝒪Δt2 as the time step size is refined, indicating that for these kernels, the volume conservation errors are dominated by time stepping errors. We do not report results for the higher-order composite B-splines in detail because the results are essentially identical to those of the BS4BS3 delta function, indicating that additional regularity of the integrand in the force spreading operator no longer provides benefits since the time stepping errors dominate. Similar to the parametrically excited membrane example (Section 4.3), the discontinuous BS2BS1 delta function eventually yields 𝒪(1) relative area errors.

Fig. 13.

Fig. 13.

Relative area errors for the IB4, IB6, and BS3BS2 regularized delta functions across three time step sizes: Δt=h4,h8, and h16. The composite B-spline regularized delta functions exhibit volume conservation errors that decrease as 𝒪Δt2 with time step refinement, whereas the IB4 and IB6 regularized delta functions show essentially identical behavior across all time step choices.

5. Conclusions

This study introduces and analyses the use of composite B-spline regularized delta functions to improve the volume conservation properties of the IB method. These B-spline kernels provide locally divergence-free velocity interpolants and effective force spreading operators. Composite B-spline regularized delta functions address a long-standing challenge associated with the IB method: the poor volume conservation of closed immersed structures, particularly evident in simulations of pressurized, closed membranes which exhibit volume loss at a rate proportional to the pressure jump across the immersed boundary [20,21].

Our numerical experiments demonstrate that composite B-spline regularized delta functions significantly enhance volume conservation. One mathematical insight that emerges from our analysis is that composite B-spline regularized delta functions, via their derivative property (24), spread Lagrangian force densities that correspond to distributional gradients in the continuous equations to discrete gradients on the staggered grid. In particular, if the Lagrangian force density contains a zero-mean component oriented normal to the boundary, which in the continuous setting represents the distributional gradient of a function with jump discontinuity at the boundary, this component is spread (up to quadrature errors) to a discrete gradient field that is properly balanced by the pressure Lagrange multiplier. In contrast, isotropic kernels project a significant portion of such force onto the space of discretely divergence-free vector fields, which ultimately drives spurious currents and persistent volume loss even if the fluid velocity should be at steady-state and quiescent.

We observed for tests concerning the pure advection of Lagrangian markers (Section 4.1), composite B-spline regularized delta functions of C0 or higher regularity achieved area errors determined solely by second-order time discretization, matching the DFIB method’s performance. Whereas the IB4 kernel demonstrated second-order convergence for relatively large time step sizes, further time step refinement revealed that errors from the non-divergence-free interpolated velocity field ultimately dominate area conservation. The discontinuous composite B-spline, BS2BS1, similarly shows initial second-order convergence in time step size, but its convergence rate eventually degrades to first order. This degradation, though initially surprising given that BS2BS1 provides a continuously divergence-free interpolant, occurs because the discontinuity in the kernel reduces the traditionally second-order midpoint rule to a first-order method. A detailed analysis of this phenomenon is provided in Appendix A.2.

Concerning the quasi-static pressurized membrane problem (Section 4.2), the more regular composite B-splines kernels, BS4BS3, BS5BS4, and BS6BS5, all maintained the initial area to within machine precision, similar to the DFIB method. Less regular kernels still achieved better area conservation compared to the IB4 regularized delta function, which produces a linear rate of area loss in time [20,21]. Our analysis revealed that these differences in performance stem from the approximation of the force spreading operator. By examining the discrete curl of the spreading operator, we analyzed how much of the spread force projects onto the space of discretely divergence-free vector fields. These divergence-free components of the spread force directly drive spurious flows at steady state. Both the IB method with composite B-spline regularized delta functions and the DFIB method show that this problematic projection converges to zero at rates consistent with periodic trapezoidal rule estimates, with more regular kernels achieving faster convergence and consequently generating smaller spurious velocities. For isotropic kernels like IB4, the discrete curl of the force spreading operator at steady state contains persistent 𝒪h-2 errors, generating spurious flows and sustained volume conservation errors. These force spreading properties also impact the accuracy of computed Lagrangian forces. Both the DFIB method and IB method with composite B-spline regularized delta functions produced pointwise convergent Lagrangian forces, with errors decreasing for more regular kernels. In contrast, the IB4 kernel failed to achieve convergent Lagrangian force densities even under simultaneous temporal and spatial grid refinement.

In the dynamic simulations of parametrically excited membranes (Section 4.3), we observed that composite B-splines of regularity class C1 or higher produced results essentially identical to the DFIB method. For these higher-regularity kernels, errors were primarily dominated by time-stepping errors rather than spatial discretization errors. Lower-regularity composite B-splines were less competitive, as they provided poorer approximations of the force spreading operator. Not surprisingly, the discontinuous BS2BS1 kernel produced the largest errors, yielding the poorest volume conservation estimates. Moreover, for the largest time step size of Δt=h10, simulations using this kernel became unstable. The interpolation and force spreading operator errors were dominant for the IB4 kernel at each choice of time-step size.

The lid-driven cavity flow example (Section 4.4) further demonstrates the robustness of our approach by showing that composite B-spline regularized delta functions effectively mitigate volume conservation errors even in the presence of physical boundary conditions. This capability extends the applicability of our method beyond the periodic boundary conditions required by both the DFIB and FSIB methods. The results confirmed the expected 𝒪Δt2 convergence in volume conservation errors with time step refinement, indicating that time stepping errors dominated over spatial discretization errors when using composite B-spline kernels. This example underscores the practical advantages of our approach, as it maintains the computational efficiency of the standard IB method while providing enhanced volume conservation across a broader range of boundary condition types than existing alternatives.

Our findings indicate that composite B-spline regularized delta functions require a minimum level of regularity to be competitive with the DFIB method developed by Bao et al [27]. For practical implementations of the IB method, we recommend the C1 BS4BS3 kernel. This kernel represents the least regular B-spline with the smallest set of support that consistently performed comparably to the DFIB method across all our tests. However, we note that the dependence on B-spline regularity is perhaps largely a consequence of our use of the periodic trapezoidal rule to approximate the line integral associated with the force spreading operator. An important direction for future work is to analyze the performance of the method using quadrature rules that are less sensitive to the regularity of the integrand. This would allow force spreading operations to be made more accurate for the less regular composite B-spline kernels, potentially offering a better balance between accuracy and computational efficiency.

Implementing the IB method using composite B-spline regularized delta functions offers a compelling alternative to existing approaches for improving volume conservation in the IB method. It achieves greatly improved volume conservation properties without the computational overhead of the DFIB method, making it particularly attractive for large-scale, three-dimensional simulations where computational efficiency is crucial. Importantly, adopting this approach requires only a single modification to existing IB code: changing the delta function implementation. This minimal change allows users to significantly enhance volume conservation of IB simulations with minimal effort, making it an accessible improvement for a wide range of IB method applications.

Acknowledgments

Cole Gruninger is grateful for support from the Department of Defense (DoD) through the National Defense Science and Engineering Graduate (NDSEG) Fellowship Program. Boyce E. Griffith gratefully acknowledges support from the National Institutes of Health (NIH) under grant numbers NIH U01HL143336, NIH R01HL157631, and NIH R41GM136084, as well as the National Science Foundation (NSF) under grant numbers OAC 1652541 and OAC 1931516. This manuscript is the result of funding in whole or in part by the NIH. It is subject to the NIH Public Access Policy. Through acceptance of this federal funding, NIH has been given a right to make this manuscript publicly available in PubMed Central upon the Official Date of Publication, as defined by NIH.

Appendix A.

A.1. Analysis of spurious flows associated with isotropic kernels

In Section 4.2, we observed that the force density spread by the isotropic regularized delta function constructed using the IB4 kernel generated significant spurious flows even if the Lagrangian force density is conservative. More specifically, our analysis focused on a pressurized membrane at equilibrium, in which the Lagrangian force density is F(s)=κrnˆ(s), with κ representing the membrane’s stiffness and r the radius of the membrane’s circular equilibrium configuration. We observed that using isotropic regularized delta functions to spread this force resulted in substantial spurious flows near the circle’s boundary.

In the subsequent discussion, we posited that the induced vorticity resulting from the spread force does not converge under grid refinement and scales proportionally to 𝒪κμ, in which μ is the fluid’s dynamic viscosity. Here we provide a heuristic argument supporting this claim and present additional empirical evidence, further elaborating on our findings for isotropic regularized delta functions.

To analyze these spurious flows, we work in the context of the equilibrium pressurized membrane problem. We once again examine the discrete curl of the force spreading operator, assuming the line integral associated with it is exact. This approach is chosen because, theoretically, for no flow to be induced, the discrete curl of the force spreading operator should vanish assuming the resulting force being spread is indeed a conservative vector field. Taking the discrete curl of the force spreading operator if using an isotropic regularized delta function yields:

h×fi,j=κh302πnˆ(s)-ϕxi-12-X(s)hϕyj-Y(s)h-ϕyj-1-Y(s)hϕyj-12-Y(s)hϕxi-X(s)h-ϕxi-1-X(s)hrds. (A.1)

Applying the divergence theorem to this equation, we can see that the curl of the Eulerian force density is

h×fi,j=-κh4ϕxi-Xh-ϕxi-1-Xhϕyj-12-Yh-ϕyj-Yh-ϕyj-1-Yhϕxi-12-XhdXdY (A.2)
=-κh4ϕxi-12-Xh+12-ϕxi-12-Xh-12ϕyj-12-Yh-ϕyj-12-Yh+12-ϕyj-12-Yh-12ϕxi-12-XhdXdY, (A.3)

in which the double integral above is taken of the interior of the circle. Clearly, if the central differences of the kernels, e.g., ϕyj-12-Yh+12-ϕyj-12-Yh-12, are equivalent to their derivatives — or even good approximations of those derivatives — the curl of the Eulerian force density would be zero or relatively small, respectively. Isotropic kernels, however, cannot achieve this. Even if the kernel is smooth, central difference approximations typically produce errors that are 𝒪(1). As a result, errors in the curl of the Eulerian force density will be supported along the circle and will be of size 𝒪κh2. This scaling can be inferred from the fact that the integrand is supported on a set with area proportinal to h2.

Fig. A.1.

Fig. A.1.

Dependence of the magnitude of spurious velocity and vorticity on the background mesh width h. The membrane stiffness κ and fluid viscosity μ are kept constant at values of κ=1 and μ=0.1, respectively.

Because the discrete curl of the Eulerian force density scales like 𝒪κh2, an order of magnitude analysis indicates that the resulting vorticity ought to scale like 𝒪κμ. This is because, at steady-state, assuming the nonlinear convective term is small compared to the other terms, taking the discrete curl of the equations tells us

μΔhω~-h×fi,j. (A.4)

Since the Δh operator is of magnitude 𝒪1h2, we expect ω to scale like 𝒪κμ.

Similarily, we can determine the scaling of the velocity field. Because ui,j may be obtained by solving Δhui,j=hω, we expect the spurious velocity to scale like 𝒪hκμ. Consequently, the velocity is still expected to converge under grid refinement. This result was first rigourously proven by Mori for the IB method applied to Stokes flow [30].

In the remainder of this section, we provide empirical evidence confirming our claims regarding the magnitude of the vorticity and spurious velocity induced by using isotropic regularized delta functions. To test the heuristic analysis above, we use two isotropic regularized delta functions to spread the equilibrium Lagrangian force density F(s)=-κrnˆ(s) onto the background grid and measure the maximum vorticity and spurious flow induced by the spread force. The isotropic delta functions we employ are constructed using the IB4 kernel function and the “Gaussian-like” IB6 kernel function [27]. Each test uses the same numerical implementation detailed in Section 3, and each computation proceeded until the final time of 0.05 using a Lagrangian grid spacing corresponding to Mfac=18. Although not shown here, we have observed that the velocity and vorticity vary little after that time.

Figs. A.1A.3 illustrate the magnitude of vorticity ω and velocity u as a function of the parameters h,κ, and μ, respectively. In all cases, we find that the scalings predicted by our heuristic analysis above are consistent with the simulation results.

A.2. Error analysis of explicit time integration methods for the discontinuous velocity fields generated by the BS2BS1 kernel

In this section of the appendix, we investigate why the discontinuous BS2BS1 kernel produces area errors for the pure advection problem that exhibit 𝒪(1) errors after initially demonstrating second-order convergence in time. To explain this behavior, we analyze the local truncation error associated with applying the forward Euler method to pure advection problem where the velocity field is interpolated using the BS2BS1 delta function. We demonstrate that the discontinuous nature of the interpolated velocity field results in a first order location truncation error of the time stepping scheme, resulting in a global truncation error that is 𝒪(1).

The ordinary differential equations for the coordinates of a given Lagrangian marker X(s,t)=(X(s,t),Y(s,t)) associated with the pure advection problem are:

Xts,t=UXs,t,Ys,t,t=i,jui,jtBS2xi-12-Xs,thBS1yj-Ys,th, (A.5)

Fig. A.2.

Fig. A.2.

Dependence of the magnitude of spurious velocity and vorticity on the value of κ. The background meshwidth h and fluid viscosity μ are kept constant at values of h=164 and μ=0.1, respectively.

Fig. A.3.

Fig. A.3.

Dependence of the magnitude of spurious velocity and vorticity on the value of μ. The background meshwidth h and membrane stiffness κ are kept constant at values of h=164 and κ=1, respectively.

Yt(s,t)=V(X(s,t),Y(s,t),t)=i,jvi,j(t)BS1xi-X(s,t)hBS2yj-12-Y(s,t)h. (A.6)

Because the function BS1 is discontinuous, the interpolated velocities U(X(s,t),Y(s,t),t) and V(X(s,t),Y(s,t),t) are discontinuous in their Y(s,t) and X(s,t) arguments, respectively. Consequently, the time derivatives Xt and Yt are discontinuous functions. Unless the time stepping scheme is adaptive or explicitly designed to handle these discontinuities, the local truncation error is reduced to first order. To illustrate this, consider the forward Euler method applied to the ordinary differential equation:

dwdtt=fwt,t, (A.7)

in which f(w(t),t) is discontinuous with respect to w(t). The forward Euler method at starting time t is

wt+Δt=wt+Δtfwt,t. (A.8)

If f is smooth in the interval [t,t+Δt], the local truncation error is 𝒪Δt2. However, if f(w(t),t) is discontinuous at t*(t,t+Δt), the local truncation error reduces to first order and is proportional to the jump in the time derivative. Assuming f(w(t),t) is smooth before and after t*, we can demonstrate this using a Taylor series expansion. Let t+*=t*+ε and t-*=t*-ε, where 0<ε1 is on the order of Δt2 or smaller. Expanding w(t+Δt) at t+* and w(t) at t-*, we have

wt+Δt=wt+*+wtt+*t+Δt-t*+𝒪Δt2, (A.9)
w(t)=wt-*+wtt-*t-t*+𝒪Δt2. (A.10)

Defining wt*=limε0+wt+*wt* as the jump in w(t) at t*, we can rewrite the expansion of w(t+Δt) as

wt+Δt=wt*+wt-*+wtt*t+Δt-t*+wtt-*t+Δt-t*+𝒪Δt2. (A.11)

Subtracting Eq. (A.10) from (A.11), we get:

wt+Δt-wt=wt*+Δtwtt-*+wtt*t+Δt-t*+𝒪Δt2. (A.12)

Taylor expanding f(w(t),t) about t-* and subtracting from the above equation, we find the local truncation error for the forward Euler method:

wt+Δt-wt-Δtfwt,t=wt*+wtt*t+Δt-t*+𝒪Δt2. (A.13)

Assuming w is continuous at t*, wt* vanishes, and the local truncation error becomes first order accurate. The principal error term is proportional to the jump in the derivative at t*:

wt=limε0+fwt+*,t+*-fwt-*,t-*. (A.14)

Fig. A.4.

Fig. A.4.

Plots demonstrating the local truncation errors in the computed area of a circle advected using (a) the forward Euler method and (b) the explict midpoint rule.

For the pure advection problem, these jump terms are proportional to the differences in velocity sampled at different grid values as a Lagrangian marker crosses grid cell boundaries during a time step. Assuming the background velocity field is smooth, Taylor series analysis suggests that the jump terms should be proportional to the magnitude of the velocity’s partial derivatives multiplied by the background grid’s meshwidth. Thus, we expect the local truncation error for the forward Euler method applied to the pure advection problem is 𝒪(hΔt).

Our analysis focuses on the local truncation error of the forward Euler method, but the findings are applicable to any explicit time stepping scheme not adapted for discontinuities in the time derivative. Fig. A.4 shows the error in the computed area after a single time step. In this test, Lagrangian markers were initially arranged to form a circle with radius 14 centered at 12,12. These markers were then advected using the velocity field:

u(x,y)=3cos4πy-π4,2sin2πx-π4. (A.15)

For both the forward Euler and explicit midpoint rule methods, the local truncation error exhibits different convergence regimes depending on the choice of time step size Δt. At relatively larger time step sizes, the error is higher order and behaves roughly as one would expect when applying time integration schemes to problems without discontinuities in the time derivative. Specifically, the forward Euler method initially demonstrates apparent quadratic convergence, whereas the explicit midpoint rule shows roughly cubic convergence for larger time steps before quickly transitioning to a quadratic rate. In addition, in this regime, the error in the computed area appears to be independent of the background grid spacing. However, as anticipated by our analysis above, the asymptotic local truncation error rate is indeed first order for each method. For the smallest choices of time step size, the error appears to be linearly proportional to h, which aligns with our theoretical predictions based on the presence of discontinuities in the interpolated velocity as a result of the BS2BS1 kernel.

This contrast between the two regimes highlights that for relatively large choices of time step size, the local truncation error is roughly the expected rate for each method when applied to problems without discontinuities in the time derivative. However, as the time step size becomes sufficiently small, the linear error rate associated with the discontinuity in the time derivative becomes dominant and the local truncation error associated with the area reduces to first order yielding a global error rate which is 𝒪(1). Although the analysis provided here gives a reasonable explanation as to why the area error for the BS2BS1 kernel in Fig. 3 reduces to 𝒪(1) for the smaller choices of time step size, we note that there are also conceivably errors which are of similar size which are committed when fitting the cubic splines to the updates in the positions of the Lagrangian markers. However, empirical tests not reported herein have indicated that using splines to interpolate the positions of the Lagrangian markers advected by a discontinuous velocity field incorporates errors which are much smaller than the local truncation errors admitted by our choice of time stepping scheme.

The analysis provided here makes explicit the critical role of the BS2BS1 kernel in generating a discontinuous interpolated velocity field, which in turn yields discontinuities in the time derivative of the Lagrangian marker positions. The errors made by applying time-integration schemes naive to the presence of discontinuities in the time derivative are the root cause of first order local truncation errors, which lead to 𝒪(1) global truncation errors in the area over the course of a computation. Our findings emphasize the limitations of applying standard explicit time stepping methods to problems involving discontinuous interpolated velocity fields, such as those produced by the BS2BS1 kernel. Future work might explore alternative interpolation methods or adaptive time stepping strategies that can better maintain higher-order accuracy in the presence of such discontinuities, potentially improving the overall accuracy of IB method simulations using the BS2BS1 kernel.

Footnotes

CRediT authorship contribution statement

Cole Gruninger: Writing – review & editing, Writing – original draft, Visualization, Validation, Software, Methodology, Investigation, Funding acquisition, Formal analysis, Data curation, Conceptualization; Boyce E. Griffith: Writing – review & editing, Validation, Supervision, Software, Resources, Project administration, Methodology, Investigation, Funding acquisition, Formal analysis, Conceptualization.

Declaration of competing interest

The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper.

Data availability

Data will be made available on request.

References

  • [1].Peskin CS, The immersed boundary method, Acta Numer 11 (2002) 479–517. 10.1017/S0962492902000077 [DOI] [Google Scholar]
  • [2].Griffith BE, Patankar NA, Immersed Methods for Fluid-Structure Interaction, Annu. Rev. Fluid Mech 52 (2020) 421–488. 10.1146/annurev-fluid-010719-060228 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • [3].Griffith BE, Luo XY, McQueen DM, Peskin CS, Simulating the fluid dynamics of natural and prosthetic heart valves using the immersed boundary method, Int. J. Appl. Mech 01 (01) (2009) 137–177. 10.1142/S1758825109000113 [DOI] [Google Scholar]
  • [4].Hasan A, Kolahdouz EM, Enquobahrie A, Caranasos TG, Vavalle JP, Griffith BE, Image-based immersed boundary model of the aortic root, Med. Eng. Phys 47 (2017) 72–84. 10.1016/j.medengphy.2017.05.007 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • [5].Griffith BE, Immersed boundary model of aortic heart valve dynamics with physiological driving and loading conditions, Int. J. Numer. Method Biomed. Eng 28 (3) (2012) 317–345. 10.1002/cnm.1445 [DOI] [PubMed] [Google Scholar]
  • [6].Davey M, Puelz C, Rossi S, Smith MA, Wells DR, Sturgeon GM, Segars WP, Vavalle JP, Peskin CS, Griffith BE, Simulating cardiac fluid dynamics in the human heart, PNAS Nexus 3 (10) (2024) pgae392. 10.1093/pnasnexus/pgae392 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • [7].Chen WW, Gao H, Luo XY, Hill NA, Study of cardiovascular function using a coupled left ventricle and systemic circulation model, J. Biomech 49 (12) (2016) 2445–2454. Cardiovascular Biomechanics in Health and Disease. 10.1016/j.jbiomech.2016.03.009 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • [8].Crowl L, Fogelson AL, Analysis of mechanisms for platelet near-wall excess under arterial blood flow conditions, J. Fluid Mech 676 (2011) 348–375. 10.1017/jfm.2011.54 [DOI] [Google Scholar]
  • [9].Kaiser AD, McQueen DM, Peskin CS, Modeling the mitral valve, Int. J. Numer. Method Biomed. Eng 35 (11) (2019) e3240. 10.1002/cnm.3240 [DOI] [PubMed] [Google Scholar]
  • [10].Skorczewski T, Griffith BE, Fogelson A, Multi-bond models for platelet adhesion and cohesion, in: Anita LT, Sarah OD (Eds.), Biological Fluid Dynamics: Modeling, Computations, and Applications, 648, American Mathematical Society, 2014, pp. 149–172. https://books.google.co.in/books?hl=en&lr=&id=U9aPBQAAQBAJ&oi=fnd&pg=PA149&dq=Multi-bond+models+for+platelet+adhesion+and+cohesion&ots=3iOHqBPTJ3&sig=-GGS12OpdIHugWC5HPycxGi1Lk8&redir_esc=y#v=onepage&q=Multi-bond%20models%20for%20platelet%20adhesion%20and%20cohesion&f=false [Google Scholar]
  • [11].Fogelson AL, Guy RD, Immersed-boundary-type models of intravascular platelet aggregation, Comput. Methods Appl. Mech. Eng 197 (25) (2008) 2087–2104. 10.1016/j.cma.2007.06.030 [DOI] [Google Scholar]
  • [12].Jones SK, Laurenza R, Hedrick TL, Griffith BE, Miller LA, Lift vs. drag based mechanisms for vertical force production in the smallest flying insects, J. Theor. Biol 384 (2015) 105–120. 10.1016/j.jtbi.2015.07.035 [DOI] [PubMed] [Google Scholar]
  • [13].Santhanakrishnan A, Jones SK, Dickson WB, Peek M, Kasoju VT, Dickinson MH, Miller LA, Flow structure and force generation on flapping wings at low Reynolds numbers relevant to the flight of tiny insects, Fluids 3 (3) (2018) 1–22. 10.3390/fluids3030045 [DOI] [Google Scholar]
  • [14].Alben S, Miller LA, Peng J, Efficient kinematics for jet-propelled swimming, J. Fluid Mech 733 (2013) 100–133. 10.1017/jfm.2013.434 [DOI] [Google Scholar]
  • [15].Bhalla APS, Bale R, Griffith BE, Patankar NA, Fully resolved immersed electrohydrodynamics for particle motion, electrolocation, and self-propulsion, J. Comput. Phys 256 (2014) 88–108. 10.1016/j.jcp.2013.08.043 [DOI] [Google Scholar]
  • [16].Tytell ED, Hsu C, Fauci LJ, The role of mechanical resonance in the neural control of swimming in fishes, Zoology 117 (1) (2014) 48–56. 10.1016/j.zool.2013.10.011 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • [17].Bale R, Neveln ID, Bhalla APS, MacIver MA, Patankar NA, Convergent evolution of mechanically optimal locomotion in aquatic invertebrates and vertebrates, PLoS Biol 13 (4) (2015) 1–22. 10.1371/journal.pbio.1002123 [DOI] [Google Scholar]
  • [18].Hoover AP, Griffith BE, Miller LA, Quantifying performance in the medusan mechanospace with an actively swimming three-dimensional jellyfish model, J. Fluid Mech 813 (2017) 1112–1155. 10.1017/jfm.2017.3 [DOI] [Google Scholar]
  • [19].Nangia N, Bale R, Chen N, Hanna Y, Patankar NA, Optimal specific wavelength for maximum thrust production in undulatory propulsion, PLOS ONE 12 (6) (2017) 1–23. 10.1371/journal.pone.0179727 [DOI] [Google Scholar]
  • [20].Peskin CS, Printz BF, Improved volume conservation in the computation of flows with immersed elastic boundaries, J. Comput. Phys 105 (1) (1993) 33–46. 10.1006/jcph.1993.1051 [DOI] [Google Scholar]
  • [21].Griffith BE, On the volume conservation of the immersed boundary method, Commun. Comput. Phys 12 (2) (2012) 401–432. 10.4208/cicp.120111.300911s [DOI] [Google Scholar]
  • [22].Cortez R, Minion M, The blob projection method for immersed boundary problems, J. Comput. Phys 161 (2) (2000) 428–453. 10.1006/jcph.2000.6502 [DOI] [Google Scholar]
  • [23].LeVeque RJ, Li Z, The immersed interface method for elliptic equations with discontinuous coefficients and singular sources, SIAM J. Numer. Anal 31 (4) (1994) 1019–1044. 10.1137/0731054 [DOI] [Google Scholar]
  • [24].Li Z, Ming-Chih Lai M, The immersed interface method for the Navier-Stokes equations with singular forces, J. Comput. Phys 171 (2) (2001) 822–842. 10.1006/jcph.2001.6813 [DOI] [Google Scholar]
  • [25].LeVeque RJ, Li Z, Immersed interface methods for Stokes flow with elastic boundaries or surface tension, SIAM J. Sci. Comp 18 (3) (1997) 709–735. 10.1137/S1064827595282532 [DOI] [Google Scholar]
  • [26].Lee L, LeVeque RJ, An immersed interface method for incompressible Navier-Stokes equations, SIAM J. Sci. Comput 25 (3) (2003) 832–856. 10.1137/S1064827502414060 [DOI] [Google Scholar]
  • [27].Bao Y, Donev A, Griffith BE, McQueen DM, Peskin CS, An immersed boundary method with divergence-free velocity interpolation and force spreading, J. Comput. Phys 347 (2017) 183–206. 10.1016/j.jcp.2017.06.041 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • [28].Chang J, Partono R, Azevedo VC, Batty C, Curl-Flow: boundary-respecting pointwise incompressible velocity interpolation for grid-based fluids, ACM Trans. Graph 41 (6) (2022). 10.1145/3550454.3555498 [DOI] [Google Scholar]
  • [29].Chen Z, Peskin CS, A Fourier spectral immersed boundary method with exact translation invariance, improved boundary resolution, and a divergence-free velocity field, J. Comput. Phys 509 (2024) 113048. 10.1016/j.jcp.2024.113048 [DOI] [Google Scholar]
  • [30].Mori Y, Convergence proof of the velocity field for a Stokes flow immersed boundary method, Comm. Pure Appl. Math 61 (9) (2008) 1213–1263. 10.1002/cpa.20233 [DOI] [Google Scholar]
  • [31].Raviart PA, Thomas JM, A mixed finite element method for second-order elliptic problems, in: Galligani I, Magenes E (Eds.), Mathematical Aspects of Finite Element Methods, 606 of Lecture Notes in Mathematics, Springer, Berlin, Heidelberg, 1977. 10.1007/BFb0064470 [DOI] [Google Scholar]
  • [32].Evans JA, Hughes TJR, Isogeometric divergence-conforming B-splines for the steady Navier-Stokes equations, Math. Models Methods Appl. Sci 23 (8) (2013) 1421–1478. 10.1142/S0218202513500139 [DOI] [Google Scholar]
  • [33].Tong GG, Kamensky D, Evans JA, Skeleton-stabilized divergence-conforming B-spline discretizations for incompressible flow problems of high Reynolds number, Comput. Fluids 248 (2022) 105667. 10.1016/j.compfluid.2022.105667 [DOI] [Google Scholar]
  • [34].Casquero H, Zhang YJ, Bona-Casas C, Dalcin L, Gomez H, Non-body-fitted fluid-structure interaction: divergence-conforming B-splines, fully-implicit dynamics, and variational formulation, J. Comput. Phys 374 (2018) 625–653. 10.1016/j.jcp.2018.07.020 [DOI] [Google Scholar]
  • [35].Casquero H, Bona-Casas C, Toshniwal D, Hughes TJR, Gomez H, Zhang YJ, The divergence-conforming immersed boundary method: application to vesicle and capsule dynamics, J. Comput. Phys 425 (2021) 109872. 10.1016/j.jcp.2020.109872 [DOI] [Google Scholar]
  • [36].Handscomb DC, Spline representation of incompressible flow, IMA J. Numer. Anal 4 (4) (1984) 491–502. 10.1093/imanum/4.4.491 [DOI] [Google Scholar]
  • [37].Schroeder C, Roy Chowdhury R, Shinar T, Local divergence-free polynomial interpolation on MAC grids, J. Comput. Phys 468 (2022) 111500. 10.1016/j.jcp.2022.111500 [DOI] [Google Scholar]
  • [38].Roy-Chowdhury R, Shinar T, Schroeder C, Higher order divergence-free and curl-free interpolation on MAC grids, J. Comput. Phys 503 (2024) 112831. 10.1016/j.jcp.2024.112831 [DOI] [Google Scholar]
  • [39].Harlow FH, Welch JE, Numerical calculation of time-dependent viscous incompressible flow of fluid with free surface, Phys. Fluids 8 (12) (1965) 2182–2189. 10.1063/1.1761178 [DOI] [Google Scholar]
  • [40].Kallemov B, Bhalla A, Griffith BE, Donev A, An immersed boundary method for rigid bodies, Comm. App. Math. Comp. Sci 11 (1) (2016) 79–141. 10.2140/camcos.2016.11.79 [DOI] [Google Scholar]
  • [41].Griffith BE, Luo XY, McQueen DM, Peskin CS, Simulating the fluid dynamics of natural and prosthetic heart valves using the immersed boundary method, Int. J. Appl. Mech 1 (1) (2009) 137–177. 10.1142/S1758825109000113 [DOI] [Google Scholar]
  • [42].E W, Jian-Guo L, Projection method III: spatial discretization on the staggered grid, Math. Comput 71 (237) (2001) 27–47. 10.1090/S0025-5718-01-01313-8 [DOI] [Google Scholar]
  • [43].Dobrowolski M, Stoyan G, Algebraic and discrete Velte decompositions, BIT Numer. Math 41 (3) (2001) 465–479. 10.1023/A:1021911027524 [DOI] [Google Scholar]
  • [44].Stoyan G, Strauber G, Baran Á, Generalizations to discrete and analytical Crouzeix-Velte decompositions, Numer. Linear Algebra Appl 11 (5–6) (2004) 565–590. 10.1002/nla.360 [DOI] [Google Scholar]
  • [45].Lee JH, Griffith BE, On the Lagrangian-Eulerian coupling in the immersed finite element/difference method, J. Comput. Phys 457 (2022) 111042. 10.1016/j.jcp.2022.111042 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • [46].Gruninger C, Barrett A, Fang F, Forest GM, Griffith BE, Benchmarking the immersed boundary method for viscoelastic flows, J. Comput. Phys 506 (2024) 112888. 10.1016/j.jcp.2024.112888 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • [47].Schoenberg IJ, Contributions to the problem of approximation of equidistant data by analytic functions. Part A.- On the problem of smoothing or graduation. A first class of analytic approximation formulae. Part B.- On the second problem of osculatory interpolation. A second class of analytic approximation formulae, Q. Appl. Math 4 (1) (1946) 112–141. https://www.ams.org/journals/qam/1946-04-01/S0033-569X-1946-15914-5/S0033-569X-1946-15914-5.pdf [Google Scholar]
  • [48].de Boor C, A Practical Guide to Splines, 27 of Applied Mathematical Sciences, Springer-Verlag, New York, New York, 1978. https://link.springer.com/book/9780387953663 [Google Scholar]
  • [49].Unser M, Aldroubi A, Eden M, On the asymptotic convergence of B-spline wavelets to Gabor functions, IEEE Trans. Inf. Theory 38 (2) (1992) 864–872. 10.1109/18.119742 [DOI] [Google Scholar]
  • [50].Bao Y, Kaye J, Peskin CS, A Gaussian-like immersed-boundary kernel with three continuous derivatives and improved translational invariance, J. Comput. Phys 316 (2016) 139–144. 10.1016/j.jcp.2016.04.024 [DOI] [Google Scholar]
  • [51].Griffith BE, Hornung RD, McQueen DM, Peskin CS, An adaptive, formally second order accurate version of the immersed boundary method, J. Comput. Phys 223 (1) (2007) 10–49. 10.1016/j.jcp.2006.08.019 [DOI] [Google Scholar]
  • [52].Boyd JP, Chebyshev and Fourier Spectral Methods, Dover Publications, Mineola, New York, 2 Edition, Mineola, New York, 2001. Chapter 19, p. 458. https://books.google.co.in/books?hl=en&lr=&id=i9UoAwAAQBAJ&oi=fnd&pg=PP1&dq=related:i2MNwJlnkEQJ:scholar.google.com/&ots=mExmSD8A4y&sig=cI1Df9VYydewjqJ9Gir4s_Fqigc&redir_esc=y#v=onepage&q&f=false [Google Scholar]
  • [53].Griffith BE, An accurate and efficient method for the incompressible Navier-Stokes equations using the projection method as a preconditioner, J. Comput. Phys 228 (20) (2009) 7565–7595. 10.1016/j.jcp.2009.07.001 [DOI] [Google Scholar]
  • [54].Cortez R, Peskin CS, Stockie JM, Varela D, Parametric resonance in immersed elastic boundaries, SIAM J. Appl. Math 65 (2) (2004) 494–520. 10.1137/S003613990342534X [DOI] [Google Scholar]
  • [55].Ko W, Stockie JM, Correction to “Parametric resonance in immersed elastic boundaries”, 2014. arXiv:1207.4744 [Google Scholar]
  • [56].Griffith BE, Luo X, Hybrid finite difference/finite element immersed boundary method, Int. J. Numer. Method Biomed. Eng 33 (12) (2017) e2888. 10.1002/cnm.2888 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • [57].Wells DR, Vadala-Roth B, Lee JH, Griffith BE, A nodal immersed finite element finite difference method, J. Comput. Phys 477 (15) (2023) 11890. 10.1016/j.jcp.2022.111890 [DOI] [Google Scholar]

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Data Availability Statement

Data will be made available on request.

RESOURCES