WorksMathematics
Numerical simulation of biological capsules based on interface-fitted polygonal meshes
Abstract
In this work we introduce a numerical framework for the simulation of biological capsules based on meshes that adapt iteration-wise to the shape of the membrane. The discretization leverages a Hybrid High Order method (HHO) to solve a Stokes problem with a source term distributed on the interface between the internal and the external phases. The HHO discretization supports meshes composed of general polygons, permitting to use fitted meshes that can be easily generated by cutting the elements intersected by the interface. Moreover, polygonal meshes allow arbitrarily accurate interface discretizations without introducing bulk degrees of freedom. The presentation of the simulation algorithm is completed with a proof-of-concept numerical test on a well-established benchmark: the deformation of an elastic capsule immersed in a shear flow.
Introduction
Capsules are physical systems that can be described as thin, soft membranes enclosing a fluid core. Artificial capsules find applications in biotechnology, e.g. for drug design and the culture of artificial organs [6];[38].
Moreover, they stand as a mechanical model of living cells. In numerical simulation of red blood cells, the latter are often treated as elastic capsules suspended in a fluid medium. The accurate description of capsules is still an open research front in biomechanics, and several models can be adopted as a starting point for a computational approach. For a general overview on modeling aspects, the interested reader is referred to [56],[55] and, for a focus on the applications to red blood cells, to [Pozrikidis 2010], [54].
The flow of such fluidic particles is of particular interest for applications like microcirculation [2], drug delivery [39], diagnostics [Krüger, Holmes, and Coveney 2014; Pottier et al. 2026], or in fundamental understanding of particle or suspensions behavior, and simulation has emerged as a precious tool to complement microfluidic experiments [35].
One of the most common modeling strategies considers the membrane of the capsule as an elastic surface suspended in a flow which on the one hand transports it, and on the other hand receives a force originating from the elastic response of the membrane [7] (Breyiannis and Pozrikidis 2000). Therefore, simulation of capsules is a particular application of a broader class of problems of computational mechanics: the numerical representation of fluid-structure interactions at immersed interfaces.
Although a rigorous classification of numerical methods for simulating capsule dynamics would go beyond the scope of this work, a first broad distinction can be between approaches that discretize the volume domain and those that do not. Indeed, artificial capsules or cells are often of a few microns in diameter, so that inertial effects may often be neglected. The flow can then be described by the Stokes equations, which allow to express the fluid-structure interaction problem in terms of boundary integrals, eliminating the need to mesh the bulk [47]. The resulting equations may be solved numerically using the Boundary Element Method (BEM), which may be considered as the reference method for a small number of capsules in Stokes flows [9, 13, 26, 44, 49]. Apart from its limitation to linear equations, BEM also requires the surface mesh to be refined as the distance between the surface and other boundaries decreases and is not adapted to large suspension flows as it feature a dense matrix problem [47].
As an alternative to BEM, a meshing of the domain is introduced to discretize flow equations. Among mesh-based techniques, a distinction can be made between interface-fitted methods, in which the mesh is required to conform to the surface, and unfitted methods, in which this constraint is removed. In an interface-fitted approach, the interface is represented by a subset of faces of the background mesh, facilitating the discretization of transmission conditions [36]. As a drawback, the displacement of the interface over time typically requires a corresponding adaptation of the mesh. The advantage of unfitted methods lies in having a fixed, possibly structured background mesh that does not need to follow the evolving surface, ths removing the need for mesh adaptation at each iteration.
One of the most popular unfitted methods is the Immersed Boundary Method (IBM) [45]. In this framework, the action of the elastic forces on the fluid is represented via an effective volumetric source in the Navier Stokes equations. Conversely, the velocity of the fluid is transmitted to the surface, whose position can be updated at the end of a time iteration. As for the numerical solution of flow equations, several techniques can be considered. Mainstream examples are the Finite-Difference and the Finite-Volume Methods [53]. An IBM algorithm coupled with a Finite-Volume solver for Navier-Stokes equations is used for the red blood cell simulations presented in [41, 2, 32]. A main feature of the method is the fact that the solid surface is meshed. Therefore, common discretizations of surface forces based on triangulations of the membrane [19], [29] are compatible with IBM. As a drawback, the method requires the surface cell diameter to match that of the fluid domain, posing a constraint on the refinement on the mesh close to the surface.
For the sake of completeness, one may also mention other simulation techniques which are not based on solving the Stokes or the Navier-Stokes equations for the fluid flow, such as the lattice-Bolzmann-IBM technique [37, 39], or particle methods such as the Dissipative Particle Dynamics [31], to name a few.
A different approach to the fluid/solid-surface interaction problem identifies the feedback of the membrane in terms of a transmission condition across the interface between the fluid phases. In this sense, the simulation of capsules is directly linked to the numerical solution of problems featuring evolving interfaces. The literature on the subject is large; a general overview can be found in [50 Sec. 16.10]. Common techniques rely on an implicit representation of the surface by means of a scalar field defined on the fluid domain. This approach avoids the complexity introduced by an explicit meshing of the surface. Notable examples of unfitted low-order methods are the Volume Of Fluid method (VOF) [34], the Level Set Method (LSM) [43] and the Ghost Fluid Method (GFM) [30]. These techniques have been generalized to arbitrary order numerical schemes, in particular the Finite Element Method. The family of unfitted Finite Element discretizations of interface problems includes several examples. The XFEM method [10] is based on enriching the trial/test space with discontinuous functions allowing the capture of jumps. It has been adapted to interface Stokes equations in [20]. In the Cut-FEM method [15], jumps are represented thanks by duplicating the degrees of freedom over elements intersected by interface. An application to fluid dynamics models is found in [40]. Still on Finite Elements, the -FEM method [28] ([27] for applications to Stokes) allows a representation of jumps by integrating the level set function in the trial space. The unfitted approach has also been generalized to hybrid schemes such as the Hybrid High Order Method [17]; [16].
The objective of this work is to present a new approach to the numerical simulation of evolving interfaces. The proposed framework leverages a polygonal discretization of the surface in the fashion of IBM and implements a fitted paradigm for the solution of an interface Stokes equation. Interface-fitted meshes are simply generated by clipping a fixed background mesh along the discrete membrane. The price to pay is the appearance of polygonal elements that exclude the adoption of conforming schemes. This problem is solved by adopting the Hybrid High Order method (HHO [24];[23];[1]) for the solution of flow equations. The HHO method is an arbitrary-order, nonconforming numerical scheme supporting general polygonal meshes. Up to our knowledge, this is the first HHO solution of the interface Stokes problem and the first application of a polygonal scheme in the context of capsule simulation.
A feature of the solver proposed in this work is that the discretization of the membrane is substantially independent from the refinement level of the background mesh. As a practical consequence, to reduce discretization errors linked to geometric approximation of the capsule, the surface can be refined while leaving to the background mesh intact. This represents an appealing evolution with respect to mainstream approaches such as IBM and level-set-based methods, in which the accuracy on the membrane is limited by the discretization of the background.
The key passage in modeling capsule suspensions involves predicting the response of a single capsule to viscous forces exerted by the surrounding fluid. In real-world contexts, elastic membranes are typically described by nonlinear constitutive laws, and capsules often experience very large deformations in typical flow configurations. This makes capsule simulation a challenging problem where numerical simulation is a valuable tool for validating membrane models and exploring flow conditions not accessible to analytical treatment. For validating numerical solvers, one particular flow configuration has emerged as a standard benchmark: the evolution of a spherical capsule freely suspended in a linear shear flow, to demonstrate the ability of the solver to accurately predict the maximal deformation of a capsule as a function of its membrane relative stiffness. Therefore, this is the target test for a numerical simulator.
The rest of the article is structured as follows. In § 2, the model of capsule dynamics is recalled. In § 3, the design of the solver is exposed in detail. § 4 is dedicated to numerical tests. In particular, § 4.2 presents the predictions obtained for the capsule in shear flow benchmark. The simulation output is successfully compared with previously published results obtained for the same test case. Implementation aspects are discussed in Appendix § 7.
Two-dimensional Capsule Model
Let be an open bounded, polytopal domain of . The membrane of the capsule is represented by a closed, time-dependent curve . At any time, partitions into the pair of open subdomains (time dependence omitted for readability), representing respectively the internal and external fluid phases (see Figure 1). Given a closed curve , let be the arc-length parametrization orienting positively, such that the position of a point on is provided by the map (to avoid the proliferation of symbols, we identify the support with the parametrization map using the same symbol ). The unitary tangent vector , the unitary outward normal vector and the curvature are expressed by the relationships

Figure 1. Representation of the 2D capsule described in § 2; the membrane is described as a fluid/fluid interface with no thickness.
With , let be the space of -ranked tensors on (, ). Given a smooth field on with values in , define the intrinsic gradient as the field of -ranked tensors
where the tensor product is such that . Consider also the intrinsic divergence and Laplacian operators
The membrane is assumed subjected to a force depending exclusively on its geometry and the state of deformation with respect to an undeformed configuration (this would not be the case for viscoelastic membrane for instance). Force can be represented in terms of the curvilinear force density . In this work, we consider two origins of force: strain and bending, which covers the applications of 2D capsules, vesicles and red blood cells [56]. To describe the elastic behaviour of the membrane, introduce a reference undeformed configuration with arc-length . The current relative extension of the curve element is represented by the strain function
Call the scalar tension along . In this work we consider the linear elastic law
where is the Young modulus of the membrane. The resulting elastic force density reads
The second source of force is linked by the principle of virtual works to the bending energy:
where is the bending modulus of the membrane. The bending force density is defined such that, for any virtual displacement , it holds
The above relationship leads to the following explicit expression:
Putting together (1) and (3), the total force density acting on reads:
The membrane is advected by a velocity field , such that evolves according to the relationship . Velocity is imposed to the membrane by the surrounding fluid, which occupies the volume . The fluid phase is described by a pressure and velocity . The flow is assumed incompressible, namely
As a consequence, using to refer to the jump of a field across ,
Additionally, we consider the no-slip condition
Since is continuous in each component across , can be extended to and can be taken as the restriction . With this premise, from now on we will write only , without making the distinction between fluid velocity and membrane velocity. The hydrodynamical force acting on a portion of fluid is assigned in terms of the tensor field . For a Newtonian fluid, the latter is described as a function of the couple as
where represents the dynamic viscosity of the fluid, possibly discontinuous across the interface, is the symmetric part of the gradient and is the identity. The velocity of the fluid is determined introducing a force balance. At any time, for any volume region with outward normal vector , the resulting force acting on the fluid occupying is zero. If contains a section of , the internal force acting on the membrane section is transferred to the fluid. This leads to the condition
Since is arbitrary, the above integral condition is equivalent to the pair of local conditions
To ensure uniqueness, given , we require
In summary, the membrane dynamics problem can be formulated as follows: given an initial closed curve , determine, for , the curve such that
where and, for any , , are solution to the interface Stokes problem
We stress the fact that in problem (6) there is no explicit dependence on time, and the solution only depends on the current configuration .
Simulation of Capsule Flow
The following Section is structured as follows: in Section 3.1 the discretization of the capsule surface is discussed in detail; in Section 3.2 an HHO scheme for the interface Stokes problem is presented and the main convergence results are recalled with suitable references; in Section 3.3 the time iteration scheme is presented together with a discussion on a volume correction strategy.
Membrane discretization
The goal of this section is to illustrate the discrete model of the membrane at the base of the numerical simulation and a method to compute a discrete membrane force density. We wish to represent the membrane as a time-dependent polygon whose vertices have a time-dependent position. If is a polygon, call the set collecting the edges of , the set collecting its vertices and, for , let be the space of -valued polynomials up to degree over . Define the space of broken polynomials
Consider the space , where is the space of -valued continuous functions on . In this work we will make use of the spaces and , characterized respectively by degrees of freedom associated to and .
We start by considering a closed polygonal chain approximating . The current configuration of the membrane is given by a time-dependent transformation . The transformation is supposed to be continuous and, at any time, the current configuration should also be a polygon. In such a way it is possible to obtain the displacement of the discrete membrane by moving its vertices and reconnecting them by straight lines. In other words, , . Notice then that . We look for a discrete membrane force density in . Given a closed curve and a couple of tensor fields , consider the product
In order to introduce a discrete version of the elastic law (1), we start by considering the integration by parts formula
valid when and are sufficiently regular tensor field on , with respective rank and an . If , the second term in (7) vanishes. For example, when or for some tensor field , we get, respectively,
Projecting(8) onto , we introduce the discrete elastic force density such that
Remark 1 (Comparison with the literature). The present approach matches the spring model adopted among others by [41]. Consider a virtual displacement of a vertex . The latter corresponds to a the perturbation , where is the nodal basis hat function of vertex . The corresponding nodal force applied to is defined as
where is the virtual work corresponding to . Using and to label entities associated to the 2 the edges touching and applying (8), we get
whence
Therefore, expresses the same information of a system of forces applied at nodes in which each edge applies the tension on the neighbouring nodes.
Projecting(9) onto , we introduce the discrete intrinsic Laplace operator such that, for , satisfies
The bending force density is discretized as such that
Remark 2 (Comparison with the literature). The discrete intrinsic Laplace operator can be applied to obtain a discrete curvature in . Let , and use , to label entities adjacent to from both sides. Letting , from (11) we get, for all ,
which, applying mass-lumping, reduces to
retrieving a well-established finite difference approximation of vector curvature.
To conclude, summing together (10) and (12), the total force density supported by the discrete membrane is
HHO approximation of flow velocity
At a given time , the capsule boundary is discretized as a polygonal chain , supporting a force density computed as described in § 3.1. The velocity advecting the capsule is determined as the solution of problem (6). As a constraint to design a numerical scheme, we require the domain to be discretized by a mesh compatible with the membrane . This means essentially that all elements fall entirely only on one side of the membrane and that edges of the membrane are found at the interface between two elements (see Figure 2). In this sense, we wish to adopt a fitted approach, which provides a natural way to account for the presence of an internal interface, since the connectivity between interface edges and bulk elements is explicitly encoded in the mesh. With moving membranes, such a requirement is demanding since a new mesh must be generated after every displacement of . This can become particularly expensive for methods such as the FEM, that has strict requirements on the shape of elements. With the goal of preserving FEM-like arbitrary order accuracy whilst avoiding heavy mesh manipulation, we opt for a high-order numerical scheme supporting generic polygonal meshes, the Hybrid High Order Method. This flexibility allows the mesh to conform to the moving interface through a simple clipping procedure applied to a fixed background mesh. An implementation of such a procedure procedure is illustrated in Appendix § 7. Importantly, clipping generates polygonal elements close to the interface.

Figure 2. An example of admissible mesh compatible with an internal interface . The discrete membrane is highlighted with colored double dots at the position of the nodes of . Elements are either internal (red) or external (blue), with no intersection with the interface but at the boundary. A compatible mesh can be generated starting from a standard triangular mesh by clipping the elements intersected by . The resulting mesh features generic polygons spawning from cut triangles, motivating the introduction of a polygonal method.
The method seeks an approximate velocity in a space featuring polynomial unknowns associated with both elements and edges. The numerical scheme is based on two key ingredients: local reconstruction operators enabling -order consistency errors derived from -degree unknowns and a stabilisation mechanism based on penalizing high-order differences. An exhaustive theoretical study of the scheme for problems without membranes can be found in [22 Chapter 8]. Therefore, in the rest of the present section, we focus on the statement of the discrete problem, recalling briefly the main theoretical results and highlighting differences when necessary.
Discrete Setting
Assume the domain to be a polygon and introduce a mesh , where the set of elements is a collection of mutually disjoint polygons forming a partition of and is the set of element edges, partitioned into internal and boundary edges. For an element , let be the set of edges on its boundary. Similarly, given , let collect the two elements sharing . For , let be a unit vector normal to chosen with arbitrary orientation; for any couple with , define the orientation such that is pointing out of . We assume the mesh to be compatible with , that is, . With , let be the space of scalar polynomials defined on and let be the space of vector-valued polynomials.
Discrete Spaces
We introduce two spaces of polynomial degrees of freedom to approximate respectively velocity and pressure. Let be the polynomial degree of the scheme. For the velocity unknown, we introduce the space
featuring polynomial unknowns on both elements and edges. With , let be the restriction of to the entities attached to . Given , let . The enrichment of the space with edge degrees of freedom has two consequences. On the one hand, it allows to increase the order of approximation inside the elements by introducing local reconstructions. For the Stokes problem, the velocity reconstruction operator is defined such that
The reconstruction is exact for polynomials up to order . This lifts by one order the accuracy of the method with respect to a Finite-Element or Discontinuous-Galerkin scheme with the same polynomial degree.
On the other hand, a hybrid space allows the design of a scheme where element unknowns are coupled exclusively with degrees unknowns associated with the same element; as a result, element unknowns can be expressed in terms of edge unknowns and be eliminated from the global system through static condensation [see 22 Appendix B]. The space for pressure variables is
To take into account boundary conditions and average constraint, introduce the subspaces
Discrete Problem
Introduce the bilinear forms and such that
where the is a positive symmetric stabilization term. The discrete problem reads: find such that:
Remark 3 (Case ). When , the stability of the scheme14 is no more guaranteed. A solution inspired by [12] consists in adding a symmetric penalty term that penalizes the jump of reconstructed velocity at element-element interfaces [22 Section 7.6]. This technique is applied in the numerical tests presented in § 4.
Membrane Position Update
Let be a time step. Given the total number of time iterations , we introduce a sequence (times series) of polygons such that approximates . Given a discrete interface and a fixed background mesh of , let be the (polygonal) mesh compatible with in the sense described in § 3.2 and illustrated in Figure 2 (see Appendix A for the details on the implementation). Given a compatible mesh , let be the corresponding solution to Problem (14). Since every edge on coincides with an edge in , it is possible to extract an interface velocity such that, for any in , its restriction is taken as the corresponding edge velocity variable of . Introduce the projected velocity . Being taken in , is determined by its values at the vertices. In particular, for , . A vertex-based interface velocity allows to define a predictive advanced position by advancing vertices with the scheme
The membrane flow is incompressible. As a consequence, at the continuous level, the volume enclosed by the membrane is expected to be conserved. Since an explicit membrane time advancement does not guarantee this property at the discrete level, a correction step is put in place in order to enforce volume conservation. The correction is designed in the spirit of [21] and is similar in fashion to the a posteriori volume conservation presented in [41]. If is the current position of the discrete membrane, is the predicted configuration after advection and is the volume enclosed by a polygon , the corrected position configuration is found as the solution of the problem: Find such that
Call the solution of Problem (15). To summarize, the sequence is determined as in Algorithm 1.
Algorithm 1 polygonal membrane flow simulation
Initialize:
for do
Generate compatible mesh
Compute discrete force density
Compute velocity by solving Problem (14)
Position advancement: prediction step
Position advancement: correction step
end for
Numerical Tests
The simulation is implemented using the Python package polymemb1 to perform mesh clipping and the solution of (15). The package is presented in Appendix A. The minimization problem (16) is solved with a Sequential Least Square Programming (SLSQP) algorithm [11]. The Section is organized as follows: in Section 4.1, we display a set of preliminary tests with the goal of assessing numerically the convergence properties of the numerical scheme (15). In Section 4.2 the full simulation algorithm is tested on the standard benchmark of a capsule set in a pure shear flow.
Preliminary convergence test
The core of the simulation is the numerical solution of Problem (6). The accuracy of the approximation depends on both the interpolation properties of the discrete space and the polygonal discretization of the interface . For stationary configurations () characterized by a homogeneous , the solution is expressed by a region-wise constant pressure , with a constant jump across , reproduced exactly by Scheme (15). In such configurations, the accuracy of the solution is impacted uniquely by the geometric discretization of the interface. With this in mind, we consider two distinct stationary configurations to assess convergence with respect to the membrane edge diameter . For both configurations the reference membrane is a circle with radius , whose center is taken as the origin of the reference system. The two tests are designed to separate the strain and bending contribution to :
(T1) Pure strain response: . The current configuration is obtained by expanding isotropically by a factor . The resulting constant force density is . The corresponding solution reads
(T2) Pure bending response: . We consider . The resulting constant force density is . The corresponding solution reads
The numerical setting is common to both tests: Problem (6) is solved in the domain , discretized by a fixed background triangular mesh , with diameter . The numerical pressure jump is computed selecting on a sequence of polygonal discretizations of with edge diameter as illustrated in Figure 3a. While the interface is refined at each iteration, the background mesh is kept fixed. The convergence trend of the (normalized) error is reported for (T1) and (T2) in Figure 3b and 3c. The obtained results highlight how the error introduced by the discretization of the membrane decays approximately of order 2 with respect to the edge diameter.

Figure 3. (a) -convergent sequence of compatible meshes used for the convergence test. indicates the number of nodes along . (b) (T1): , (c) (T2): . Numerical error trend for tests (T1)–(T2) from Section 4.1 on the sequence of progressively refined polygonal discretizations of the membrane displayed on Figure 3a.
Capsule in Shear Flow
The goal of the test is to reproduce the well-known dynamics of an elastic capsule in shear flow. Capsules feature a rich variety of predictable motions patterns, making it a perfect benchmark to test the validity of capsule simulation algorithms. Under simplified assumptions (initial spherical/circular capsule, vanishing bending modulus, same viscosity inside and outside), when a capsule initially at rest is deposited in a shear flow, it is progressively deformed, initially in the principal direction of strain, that forms an angle of with the direction of the flow. Deformation continues until the viscous forces are balanced by the elastic response of the membrane [4] (],[Breyiannis and Pozrikidis 2000). At that point, the body of the capsule stabilizes into a tilted elliptic shape and the membrane undergoes a revolving motion around it, referred to as tank-treading. The maximal extent of the deformation and the tilting angle are controlled by the non-dimensional capillary number , measuring the ratio between the imposed viscous stresses and the restoring elastic stresses. At high values of , the elastic response is weaker, capsules get elongated and tend to align more with the main flow.
The specific configuration considered for the test is represented in Figure 4. It is inspired by a numerical test reproduced in [Breyiannis and Pozrikidis 2000] and is based on the following specifications. The undeformed configuration of the capsule is a circle of radius . No resistance to bending is assumed (). The capsule is set in a shear flow and the fluid has uniform viscosity . In a Cartesian coordinate system with center set at the center of , the velocity profile far enough from the capsule is given by

Figure 4. § 4.2: initial configuration of a circular capsule set in pure shear flow
where represents the shear rate. In this setting,
The initial condition is displayed in Figure 4. A systematic parametric study is conducted to check the output of algorithm (1) on a set of increasing values of . The considered regimes span a range going from low-moderate deformation of the capsule (), to fairly large deformation (). The regime is controlled by calibrating the intensity of the shear rate . The time step is set as , where represents the characteristic time of the elastic response of the capsule. All the simulations are run up to , therefore sufficiently beyond the exhaustion of the transient phase. The validity of the solver is checked by tracking two characteristic quantities: the deformation parameter
where and represent respectively the minor and major axis of an equivalent ellipse sharing the same inertia tensor of the capsule; and the tilting angle (), formed by the major symmetry axis of the capsule with the direction. The results of the simulation are summarized in Figure 6 and show very good agreement with previously published independent results on the same configuration: the Integral-Boundary-Method-based solver applied in [Breyiannis and Pozrikidis 2000] (considering an unbounded domain) and a Finite Volume-Immersed-boundary-Method solver adopted in [41]. In particular, the simulated tilting angle is mostly coherent with [Breyiannis and Pozrikidis 2000]. This result, however, is first and foremost explained by the fact that in [41] flow is modelled via full Navier-Stokes equations, instead of Stokes; the departure from [Breyiannis and Pozrikidis 2000] may be mostly explained by nonlinear effects at higher shear rates.
Figure 6. Test of § 4.2: on the top, deformation and tilting angle obtained with the HHO-based Algorithm 1 compared with two simulations from literature: an IBM-based solver applied in [Breyiannis and Pozrikidis 2000] and Finite Volume-IBM solver adopted in [41]. Time is expressed with respect to the inverse shear rate . At the bottom, visualization of the corresponding maximal deformation and tilting angle for the considered regimes.

Figure 5. Test of § 4.2, from left to right: a) Background mesh employed for the test: triangular, unstructured on the domain with refined area close to the capsule; b) Close-up in proximity of the interface at (radius , ); c) Snapshot of the velocity solution for in the regime .
The HHO scheme (15) introduces a discretization error on velocity expressed in a norm controlling derivatives up to first order [22 Lemma 8.15, Theorem 8.18]. As a consequence, it guarantees arbitrary-order accuracy in the approximation of the velocity gradient, and, therefore, of the hydrodynamical stress tensor . This overcomes a known limit of the Immersed Boundary Method, which introduces a strong discretization error on the velocity gradient [45, 42]. This property is exploited to perform a numerical verification of the energy exchanged by the fluid/capsule system. Energetic considerations are an important tool to model the rheology of capsule suspensions; evaluating the energy spent to induce a shearing flow to a capsule/fluid system is instrumental in estimating the effective viscosity of the suspension ([8, 3, 51, 33]). Considering a flow with no suspended capsules, the energy injected to the control volume is entirely dissipated by viscous friction at a rate
For a stationary flow with uniform shear rate this amounts to a constant dissipated power
When a capsule is present, it is deformed by the flow and stores elastic energy in the membrane at a rate:
The total excess power
measures the difference between a fluid/capsule and a fluid-only system in terms of total external power injected in the control volume . In Figure 7, the three quantities , and are plotted as a function of time along the transient phase from the initial circular configuration up to the stationary tank-treading motion. Exploiting the capacity of scheme (14) to compute accurate velocity gradients, this study provides, to the best of our knowledge, the first numerical verification of the dynamic energy rate balance for a single suspended capsule via direct evaluation of viscous dissipation. The energy profile matches the expected behaviour. The shearing flow deforms the capsule membrane, which stores elastic energy as the capsule evolves to a stable tank-treading configuration. The presence of the capsule increases the resistance to the flow, resulting in enhanced viscous dissipation. Initially equal to the dissipation of the capsule-free system, it increases as the capsule perturbs the flow; after reaching a maximum during the transient phase, viscous dissipation decreases slightly at the equilibrium, when the capsule, aligning with the direction of the flow, offers reduced resistance.

Figure 7. Numerical test from § 4.2, analysis of energy flows: case ; . As pointed out in Remark 4, accuracy on velocity is punctually perturbed in reason of sporadical unfavorable cuts; however, the simulation is not severely impacted at the global level.
Remark 4 (Unfavorable cuts). The trajectory of the capsule is accurately reproduced without any special treatment for generated polygonal element with poor quality. Sliver cuts are, however, the crucial challenge in the design of unfitted high-order schemes such as Cut-FEM or Cut-HHO, which typically rely on specific techniques, such as Ghost Penalty, to enforce stability [15] (Burman and Ern 2019). Therefore, nothing prevents scheme (14)’s accuracy to be occasionally degraded in case of unfavorable cuts (see, for example, Figure 7). However, at least on the considered configuration, the noise on the approximation of velocity introduced by sliver cuts seems to have a low impact on the accuracy of the trajectory.
Conclusion and Perspectives
In this work, we have proposed a novel approach for the simulation of capsule dynamics based on interface-fitted polygonal meshes, summarized in Algorithm 1. The methodology leverages a Hybrid High Order discretization for flow equations supporting polygonal meshes. The flexibility of the method in terms of mesh requirements allows to treat in a straightforward way the interface conditions associated to the fluid-structure interaction while keeping the overhead linked to mesh adaptation moderate. As a proof of concept, the performance of the polygonal interface-fitted approach has been tested successfully on a simple yet paradigmatic benchmark featuring a capsule undergoing moderate to strong deformation in shear flow.
The generality of the proposed approach goes beyond the realm of capsule mechanics, and it is possible to foresee applications to more general configurations featuring elastic shells. An extension is the representation of interfacial forces of electric origin according to the Leaky Dielectric Model [52]. The computation of such forces relies on the solution of an elliptic interface problem for which a strategy in the spirit of this work has been presented in [25] and implemented in polymemb. A limitation of the presented approach is the fact that it relies on an explicit, iteration-dependent meshing of the fluid domain. On the one hand, this constitutes a challenge when addressing the extension to a full Navier-Stokes simulator in which the velocity advancement scheme requires access to the fluid velocity across several time steps. On the other hand, as illustrated in Figure 3a, an algorithm based on a polygonal solver allows to refine the interface independently from the background mesh. This opens the way to simulations in which small-scale structures and wrinkles are fully resolved on the capsule’s membrane, while the background mesh is left relatively coarse, or locally refined in a nonconformal fashion. Future research will explore this path to perform simulations in contexts where the membrane undergoes buckling, such as in the case of capsules subject to compression [6].
Acknowledgements
Funded by the European Union (ERC Synergy, NEMESIS, project number 101115663). Views and opinions expressed are however those of the authors only and do not necessarily reflect those of the European Union or the European Research Council Executive Agency. Neither the European Union nor the granting authority can be held responsible for them. Simulations were performed using computer resources from the Institut de Sciences des Données de Montpellier (ISDM).
Iteration-wise generation of interface-compatible meshes
A crucial step of Algorithm 1 is the determination of a mesh compatible with the current configuration of the interface. Since the interface moves across iterations, the procedure requires the generation of a new compatible mesh at each time step. In all the numerical tests that have been presented, compatible meshes are generated by clipping a fixed background mesh along the current configuration of the interface. The simplicity of this approach is justified by the fact that the HHO scheme introduced in § 3.2 supports polygonal elements, which are an inevitable product of clipping. The goal of this Section is to cover implementation aspects related to the mesh clipping procedure at the base of the Python package polymesh, used to produce the numerical simulations presented in this work.
The library integrates a function polymesh.clip, which, given a generic mesh of and a polygonal chain, returns a new mesh where all the elements cut by the chain are replaced by a couple of polygonal elements lying on either side (Figure 8).

Figure 8. On the left, a reference simplicial mesh of a square domain and a polygonal chain (green). In the center, a close-up of the region framed in red, featuring a triangular element (dashed) intersected by the chain. On the right, the polygonal child elements (red and blue) generated by polymemb.clip that replace the cut triangular element of the reference mesh.
The simulation is initialized by loading a background mesh of that is kept as a reference during the entire execution of the program. At each iteration, once the position of the interface has been updated, polymemb.clip is executed to generate a compatible mesh (Figure 9).

Figure 9. Sequence of four time snapshots and the corresponding temporary meshes generated by the clipping algorithm. Internal elements are marked in red, external elements in blue. The same background simplicial mesh is used as primer to generate each temporary mesh.
In polymemb, members of the class mesh are described by the list of node coordinates mesh.coords and the list mesh.elem2node encoding the connectivity. The -th element of mesh.elem2node is a list of integers corresponding to the global indices of the vertices of the -th element. Element vertices are listed counter-clockwise.
class mesh:
def __init__(self, coords, elem2node, ...):
"""
Args:
coords (list[np.ndarray]) : node coordinates
elem2node (list[list[int]]): element-to-node connectivity
"""
self.coords = coords
self.elem2node = elem2node
...
...
Polygonal chains are represented as instances of the class interface. The relevant member of the class is the coordinate list interface.coords, listing counter-clockwise the vertices.
class interface:
def __init__(self, coords, ...):
"""
Args:
coords (list[np.ndarray]) : node coordinates
"""
self.coords = coords
...
...
Iteration-dependent polygonal meshes generated by polymemb.clip are described as instances of the special class clipped_mesh. Clipped meshes retain a reference to a mesh corresponding to the starting background mesh and the interface along which clipping is performed. For a clipped mesh, it is important to establish the connectivity between mesh edges lying along the cut and the corresponding edges on the interface. This is necessary to transmit the information on membrane force stored on the interface to the fluid dynamics solver, and, conversely, to broadcast flow velocity to the interface. This information is encoded in the list clipped_mesh.intf_edges.
class clipped_mesh:
def __init__(self, mesh_0, intface, ...):
"""
Args:
mesh_0 (polymemb.mesh) : fixed background mesh
intface (polymemb.intface): polygonal interface along which to clip
"""
self.mesh_0 = mesh_0
self.intface = intface
[
self.mesh, # new polymemb.mesh instance
self.intf_edges # mesh-to-interface connectivity
] = polymemb.clip (mesh_0, intface) #clipping function
...
...
Each element of the intf_edges is a dictionary, collecting the indices of the two elements sharing the edge lying respectively in and . The dictionary also takes note of the index of the edge on the interface, and other complementary information to reconstruct directly the mesh/interface connectivity.
intf_edge = { # dictionary
"elem_int" : ..., # (int): internal adjacent element
"elem_ext" : ..., # (int): external adjacent element
"local_idx_int": ..., # (int): local index on internal element
"local_idx_ext": ..., # (int): local index on external element
"intface_ie" : ..., # (int): index of associated edge on the interface
...
}
The polymemb.clip procedure is structured as an ordered loop over the edges of the polygonal chain until the first edge entering an element of the background mesh . When such an element is detected, the algorithm proceeds by generating the child elements, flagging the shadowed cut element and recording the mesh/interface connectivity. Once the first element has been processed, the search goes on with the next until the chain has been completely explored. The element clipping procedure is illustrated in Figure 10.

Figure 10. Step-by-step illustration of the implementation of the clipping process.
The edges of the interface are looped over in order until the first that injects an element of
mesh_0(el_to_cut) is found and flagged asie_in. The counter on the edges ofintfaceis increased until the edge getting out ofel_to_cutis found and flagged asie_out. The section ofintfacecuttingiel_to_cutis determined.
The couple of new compatible elements is assembled. The coordinates of the intersection point of
iel_inandiel_outwithel_to_cutand of the collection of interface nodes falling insideel_to_cutis collected in the listnew_pointsand indexed. Two elementschild_el_inandchild_el_outare assembled as lists of node indexes and indexed.
For every element edge of the cut, a dictionary of type
intf_edgestores the indexes of the generated elements, the local index of the edge with respect to both elements and the corresponding index onintface.
The next element to cut is found and steps 2) and 3) are repeated on the new el_to_cut. The procedure is repeated until the interface has been completely explored.
References
- [1]Aghili, J., S. Boyaval, and D. A. Di Pietro (2015). “Hybridization of Mixed High-Order Methods on General Meshes and Application to the Stokes Equations”. In: Comput. Meth. Appl. Math. 15.2, pp. 111–134. doi: 10.1515/cmam-2015-0004.DOI
- [2]Balogh, P. and P. Bagchi (2017). “Direct Numerical Simulation of Cellular-Scale Blood Flow in 3D Microvascular Networks”. In: Biophys. J. 113, pp. 2815–2826.DOI
- [3]Barthes-Biesel, D. and J. M. Rallison (1981a). “The time-dependent deformation of a capsule freely suspended in a linear shear flow”. In: Journal of Fluid Mechanics 113, pp. 251–267. DOI: 10.1017/S0022112081002662.
- [4]Barthes-Biesel, D. (1980). “Motion of a Spherical Microcapsule Freely Suspended in a Linear Shear Flow”. In: Journal of Fluid Mechanics 100.4, pp. 831–853.
- [6]Barthès-Biesel, D. (2011). “Modeling the motion of capsules in flow”. In: Current Opinion in Colloid & Interface Science 16.1, pp. 3–12. DOI: 10.1016/j.cocis.2010.08.001.
- [7]Barthes-Biesel, D. and J. Rallison (1981b). “The time-dependent deformation of a capsule freely suspended in a linear shear flow”. In: Journal of Fluid Mechanics 113, pp. 251–267.
- [8]Batchelor, G. K. (1970). “The stress system in a suspension of force-free particles”. In: Journal of Fluid Mechanics 41.3, pp. 545–570. doi: 10.1017/S0022112070000745.DOI
- [9]Becic, B., K. Graessel, and S. Gekle (2025). “Origin of red blood cell slippers in confined geometries”. In: Phys. Rev. Fluids 10, p. L061101.DOI
- [10]Belytschko, T. and T. Black (1999). “Arbitrary discontinuities in finite elements”. In: Interna- tional Journal for Numerical Methods in Engineering 45.5, pp. 601–620. DOI: 10.1002/ (SICI)1097-0207(19990620)45:5<601::AID-NME598>3.0.CO;2-S.
- [11]Boggs, P. T. and J. W. Tolle (Jan. 1995). “Sequential Quadratic Programming”. In: Acta Numerica 4, pp. 1–51. ISSN: 1474-0508, 0962-4929. DOI: 10.1017/S0962492900002518. (Visited on 06/03/2025).DOI
- [12]Botti, M., D. A. Di Pietro, and A. Guglielmana (2019). “A Low-Order Nonconforming Method for Linear Elasticity on General Meshes”. In: Comput. Meth. Appl. Mech. Engrg. 354, pp. 96–118. DOI: 10.1016/j.cma.2019.05.031.DOI
- [13]Brebbia, C. A. (1978). “The boundary element method for engineers”. In: (No Title).
- [15]Burman, E., S. Claus, P. Hansbo, M. G. Larson, and A. Massing (2015). “CutFEM: Discretizing Geometry and Partial Differential Equations”. In: Int. J. Numer. Meth. Engng 104, pp. 472–501. DOI: 10.1002/nme.4823.DOI
- [16]Burman, E., G. Delay, and A. Ern (2021). “An unfitted hybrid high-order method for the Stokes interface problem”. In: IMA Journal of Numerical Analysis 41.4, pp. 2362–2387.DOI
- [17]Burman, E. and A. Ern (2018). “An Unfitted Hybrid High-Order Method for Elliptic Interface Problems”. In: SIAM J. Numer. Anal. 56.3, pp. 1525–1546. DOI: 10.1137/17M1154266.DOI
- [19]Charrier, J., S Shrivastava, and R Wu (1989). “Free and constrained inflation of elastic membranes in relation to thermoforming—non-axisymmetric problems”. In: The Journal of Strain Analysis for Engineering Design 24.2, pp. 55–74.
- [20]Chessa, J. and T. Belytschko (2003). “An enriched finite element method and level sets for axisymmetric two-phase flow with surface tension”. In: International journal for numerical methods in engineering 58.13, pp. 2041–2064.
- [21]D’Elia, M., D. Ridzal, K. J. Peterson, P. Bochev, and M. Shashkov (May 2016). “Optimization-Based Mesh Correction with Volume and Convexity Constraints”. In: Journal of Computational Physics 313, pp. 455–477. ISSN: 0021-9991. DOI: 10.1016/j.jcp.2016.02.050. (Visited on 06/03/2025).
- [22]Di Pietro, D. A. and J. Droniou (2020). The Hybrid High-Order Method for Polytopal Meshes: Design, Analysis, and Applications. Modeling, Simulation and Application 19. Springer International Publishing. DOI: 10.1007/978-3-030-37203-3.
- [23]Di Pietro, D. A. and A. Ern (2015). “A Hybrid High-Order Locking-Free Method for Linear Elasticity on General Meshes”. In: Comput. Meth. Appl. Mech. Engrg. 283, pp. 1–21. DOI: 10.1016/j.cma.2014.09.009.
- [24]Di Pietro, D. A., A. Ern, and S. Lemaire (2014). “An Arbitrary-Order and Compact-Stencil Discretization of Diffusion on General Meshes Based on Local Reconstruction Operators”. In: Comput. Meth. Appl. Math. 14.4, pp. 461–472. DOI: 10.1515/cmam-2014-0018.
- [25]Di Pietro, D. A., S. Mendez, and A. E. Spadotto (June 2025). “A Discrete de Rham Discretization of Interface Diffusion Problems with Application to the Leaky Dielectric Model”. In: Journal of Computational Physics 530, p. 113920. ISSN: 0021-9991. DOI: 10.1016/j.jcp.2025.113920. (Visited on 06/03/2025).
- [26]Dupont, C., F. Delahaye, B. Barthès-Biesel, and A.-V. Salsac (2016). “Stable equilibrium configurations of an oblate capsule in simple shear flow”. In: J. Fluid Mech. 791, pp. 738–757.
- [27]Duprez, M., V. Lleras, and A. Lozinski (2023). “ϕ-FEM: an optimally convergent and easily implementable immersed boundary method for particulate flows and Stokes equations”. In: ESAIM: Mathematical Modelling and Numerical Analysis 57.3, pp. 1111–1142.
- [28]Duprez, M. and A. Lozinski (2020). “φ-FEM: a finite element method on domains defined by level-sets”. In: SIAM Journal on Scientific Computing 42.2, A1398–A1422. Doi: 10.1137/19M1278152.
- [29]Farutin, A., T. Biben, and C. Misbah (2014). “3D numerical simulations of vesicle and inextensible capsule dynamics”. In: Journal of Computational Physics 275, pp. 539–568.DOI
- [30]Fedkiw, R. P., T. Aslam, B. Merriman, and S. Osher (1999). “A Non-Oscillatory Eulerian Approach to Interfaces in Multimaterial Flows (the Ghost Fluid Method)”. In: Journal of computational physics 152.2, pp. 457–492.
- [31]Fedosov, D. A., H. Noguchi, and G. Gompper (2014). “Multiscale modeling of blood flow: from single cells to blood rheology”. In: Biomech. Model. Mechanobiol. 13, pp. 239–258.DOI
- [32]Gai, G., F. Plouraboué, and A. Wachs (2026). “Capturing the motion of a pair of elastic capsules in a shear flow: emergent nonlinear hydrodynamic ordering”. In: Journal of Fluid Mechanics 1026, A50.DOI
- [33]Gross, M., T. Krüger, and F. Varnik (2014). “Rheology of dense suspensions of elastic capsules: normal stresses, yield stress, jamming and confinement effects”. In: Soft Matter 10.24, pp. 4360–4372. doi: 10.1039/C4SM00155C.DOI
- [34]Hirt, C. W. and B. D. Nichols (1981). “Volume of fluid (VOF) method for the dynamics of free boundaries”. In: Journal of computational physics 39.1, pp. 201–225.DOI
- [35]Iss, C., D. Midou, A. Moreau, D. Held, A. Charrier, S. Mendez, A. Viallat, and E. Helfer (2019). “Self-organization of red blood cell suspensions under confined 2D flows”. In: Soft Matt. 15, pp. 2971–2980.DOI
- [36]Klöppel, T. and W. A. Wall (2011). “A novel two-layer, coupled finite element approach for modeling the nonlinear elastic and viscoelastic behavior of human erythrocytes”. In: Biomech. Model. Mechanobiol. 10, pp. 445–459.DOI
- [37]Krüger, T., D. Holmes, and P. V. Coveney (2014). “Deformability-based red blood cell separation in deterministic lateral displacement devices - A simulation study”. In: Biomicrofl. 8.5, p. 0541414.DOI
- [38]Lanza, R. P., W. L. Chick, T. M. S. Chang, and W. M. Kuhtreiber (1999). Cell Encapsulation Technology and Therapeutics. 1st ed. 1999. Tissue Engineering. Boston, MA: Birkhäuser Boston. ISBN: 978-1-4612-1586-8. doi: 10.1007/978-1-4612-1586-8.DOI
- [39]Liu, Z., J. R. Clausen, R. R. Rao, and C. K. Aidun (2019). “Nanoparticle diffusion in sheared cellular blood flow”. In: J. Fluid Mech. 871, pp. 636–667.
- [40]Massing, A., M. G. Larson, A. Logg, and M. E. Rognes (2014). “A stabilized Nitsche fictitious domain method for the Stokes problem”. In: Journal of Scientific Computing 61.3, pp. 604–628.arxiv.org/abs/1206.1933
- [41]Mendez, S., E. Gibaud, and F. Nicoud (2014). “An unstructured solver for simulations of deformable particles in flows at arbitrary Reynolds numbers”. In: Journal of computational physics 256, pp. 465–483.DOI
- [42]Mittal, R. and G. Iaccarino (2005). “Immersed Boundary Methods”. In: Annual Review of Fluid Mechanics 37.1, pp. 239–261. DOI: 10.1146/annurev.fluid.37.061903.175743.DOI
- [43]Osher, S. and R. P. Fedkiw (2001). “Level set methods: an overview and some recent results”. In: Journal of Computational physics 169.2, pp. 463–502.DOI
- [44]Peng, Z., R. J. Asaro, and Q. Zhu (2011). “Multiscale modelling of erythrocytes in Stokes flow”. In: J. Fluid Mech. 686, pp. 299–337.DOI
- [45]Peskin, C. S. (2002). “The Immersed Boundary Method”. In: Acta numerica 11, pp. 479–517.
- [47]Pozrikidis, C. (1992). Boundary integral and singularity methods for linearized viscous flow. Cambridge university press.DOI
- [49]Puthumana, V., P. Chen, M. Leonetti, R. Lasserre, and M. Jaeger (2024). “Assessment of coupled bilayer-cytoskeleton modelling strategy for red blood cell dynamics in flow”. In: J. Fluid Mech. 979, A44.
- [50]Quarteroni, A. and A. Valli (1994). Numerical Approximation of Partial Differential Equations. Vol. 23. Springer Series in Computational Mathematics. Springer-Verlag, Berlin.
- [51]Ramanujan, S. and C. Pozrikidis (1998). “Deformation of liquid capsules enclosed by elastic membranes in simple shear flow”. In: Journal of Fluid Mechanics 361, pp. 117–143. doi: 10.1017/S0022112098008713.DOI
- [52]Saville, D. A. (1997). “Electrohydrodynamics: The Taylor-Melcher Leaky Dielectric Model”. In: Annual Review of Fluid Mechanics 29.1, pp. 27–64.DOI
- [54]Viallat, A. and M. Abkarian (2019). Dynamics of Blood Cell Suspensions in Microflows. CRC Press.DOI
- [55]Vlahovska, P. M., D. Barthes-Biesel, and C. Misbah (2013). “Flow Dynamics of Red Blood Cells and Their Biomimetic Counterparts”. In: Comptes Rendus Physique 14.6, pp. 451–458.DOI
- [56]Vlahovska, P. M., T. Podgorski, and C. Misbah (2009). “Vesicles and Red Blood Cells in Flow: From Individual Dynamics to Rheology”. In: Comptes Rendus Physique 10.8, pp. 775–789.DOI
