Skip to main content
Proceedings of the National Academy of Sciences of the United States of America logoLink to Proceedings of the National Academy of Sciences of the United States of America
. 1999 May 11;96(10):5378–5381. doi: 10.1073/pnas.96.10.5378

Numerical simulation of incompressible viscous flow in deforming domains

Phillip Colella 1,, David P Trebotich 1
PMCID: PMC21867  PMID: 10318891

Abstract

We present a second-order accurate finite difference method for numerical solution of the incompressible Navier-Stokes equations in deforming domains. Our approach is a generalization of the Bell-Colella-Glaz predictor–corrector method for incompressible flow. In order to treat the time-dependence and inhomogeneities in the incompressibility constraint introduced by presence of deforming boundaries, we introduce a nontrivial splitting of the velocity field into vortical and potential components to eliminate the inhomogeneous terms in the constraint and a generalization of the Bell-Colella-Glaz algorithm to treat time-dependent constraints. The method is second-order accurate in space and time, has a time step constraint determined by the advective Colella-Friedrichs-Lewy condition, and requires the solution of well behaved linear systems amenable to the use of fast iterative methods. We demonstrate the method on the specific example of viscous incompressible flow in an axisymmetric deforming tube.


The incompressible Navier-Stokes equations are a combination of evolution equations and constraints caused by the incompressibility condition. As such, the formulation of appropriate time-discretization methods is more subtle than that for evolution equations. To address this issue, Chorin (1) introduced projection methods based on the Hodge decomposition of any vector field into a divergence-free part and a gradient of a scalar field. Projection methods are fractional step methods for which an intermediate velocity is computed that does not necessarily satisfy the incompressibility constraint. This velocity then is corrected so that it satisfies the constraint. More recently, Bell, Colella, and Glaz (BCG) (2) introduced a predictor–corrector method based on Chorin’s ideas. Some of the key advantages of their method are that the advective terms can be treated by using explicit high-resolution finite difference methods for hyperbolic partial differential equations and that only linear systems coming from standard discretizations of second-order elliptic and parabolic partial differential equations, which are amenable to solution using fast iterative methods such as multigrid, must be solved. This leads to a method that is second-order accurate in space and time, a stability constraint on the time step due only to the Courant-Friedrichs-Lewy condition for the advection terms, and a robust treatment of underresolved gradients in the Euler limit. This method has been the basis for the extensive development of new algorithms for the treatment of a variety of low-Mach number flow problems (311).

The purpose of this paper is to present the extension of the BCG algorithm to the case of moving deformable boundaries. The principal difference is that the boundary conditions for the divergence-free constraint become both inhomogeneous and time-dependent. There have been a number of previous methods that model deformable boundaries (1214), but none combine the accuracy, efficiency, and robustness of the BCG approach. We attack this problem by using two ideas. First, we eliminate the inhomogeneity in the constraint equation by performing a nontrivial Hodge splitting of the velocity field into a potential component that carries the inhomogeneities in the boundary conditions for the divergence constraint and a vortical component that satisfies an evolution equation with time-dependent, but homogeneous, constraints. The second idea is a generalization of the BCG time discretization for the solenoidal component that properly accounts for the temporal variation in the constraint. The end result is a method that retains the advantages of the BCG algorithm but for the more general case of flows in deforming domains.

Physical Problem

We consider the problem of flow in an axisymmetric, flexible tube (see Fig. 1). The dashed upper boundary of the figure is the centerline, or axis of symmetry, of the tube where r = 0. There is flow into the tube at the left boundary where the classic Poiseuille velocity profile for viscous flow in pipes is prescribed. The wall of the tube is the bottom boundary, r = R(z, t). This infinitely thin solid wall boundary is allowed to move in the middle section of the tube with a prescribed velocity. The inlet and outlet remain fixed.

Figure 1.

Figure 1

Flow through an axisymmetric deforming tube.

Split-Velocity Formulation.

We alleviate the problem of inhomogeneous boundary conditions with a split-velocity formulation on a moving, mapped grid. We first define a continuous mapping from an abstract fixed coordinate system, ξ = (ξ, η), to real axisymmetric coordinates which are time-dependent, x(t) = (r(t), z(t)):

graphic file with name M1.gif 1

We then define divergence, gradient and Laplacian operators:

graphic file with name M2.gif
graphic file with name M3.gif
graphic file with name M4.gif 2

where u and p are velocity and pressure, respectively, and J is the determinant of F = ∂x/∂ξ. The incompressible Navier-Stokes equations in mapped coordinates are

graphic file with name M5.gif
graphic file with name M6.gif 3

where s = ∂χ/∂t is the velocity of the moving coordinate system and ν is the kinematic viscosity. The boundary conditions for viscous incompressible flow in an axisymmetric deforming tube are as follows: (i) axis of symmetry (no-flow) u⋅n = 0; (ii) solid wall (prescribed boundary motion) u = ub; (iii) inflow (prescribed Poiseuille flow) u = 0, v = 2(1 − r2); and (iv) outflow ∂u/∂z = 0. In addition, we need a boundary condition on p at outflow and will defer discussion for later.

We use the Hodge decomposition (15) to split the velocity field into its divergence-free and potential components, ud and up, respectively:

graphic file with name M7.gif
graphic file with name M8.gif
graphic file with name M9.gif 4

Here, φ is the solution to Laplace’s equation, Δφ = 0, with normal boundary conditions (see Fig. 1 for geometry): (i) axis of symmetry (no-flow) upn = 0; (ii) solid wall (prescribed boundary motion) upn = ubn; (iii) inflow (constant mean flow) upn = vin; and (iv) outflow (conservation of mass, one-dimensional mean flow) upn = vout, where vout is the one-dimensional solution obtained from conservation of mass for flow in a flexible tube with fixed inlet and outlet (see ref. 16 for details).

This leads to the following equation of motion for ud:

graphic file with name M10.gif
graphic file with name M11.gif 5

where

graphic file with name M12.gif
graphic file with name M13.gif
graphic file with name M14.gif 6

A Bernoulli pressure, π, has been defined to absorb all gradients in the split, transformed equations. If the flow is frictionless and purely potential (u = ∇φ), the equation of motion (Eq. 5) reduces to Bernoulli’s equation.

The boundary conditions on ud are as follows: (i) axis of symmetry, udn = 0; (ii) solid wall, udn = 0, udt = (ubup)⋅t; (iii) inflow, ud = 0, vd = 1 − 2r2; and (iv) outflow, ∂ud/∂z = 0. The boundary condition on p at outflow is π = 0 at outflow. This is required for the potential flow solution, up, to satisfy the Euler equations.

These boundary conditions lead to div and grad operators appearing in Eq. 5 that are formally adjoints to each other:

graphic file with name M15.gif 7

if w and ψ satisfy the boundary conditions. The reason this is the case is that the boundary conditions for ud and π are set so that the boundary terms coming from application of the divergence theorem to ∫Ω∇⋅(wψ)d𝒱 vanish.

Model Problem

A model problem is discussed to address the issue of a time-dependent incompressibility constraint. The model problem is a general form of the equation of motion (Eq. 5). Let f, u ∈ ℛn, π ∈ ℛm, A = n × m matrix where u, A, f = u(t), f(t), A(t) are smooth functions in time. The constrained system is comprised of an equation of motion and a homogeneous constraint:

graphic file with name M16.gif
graphic file with name M17.gif 8

u corresponds to the fluid velocity in Eq. 5, and f corresponds to the advection and viscosity terms. A and AT are adjoint matrix operators that correspond to div and grad and include boundary conditions.

The constraint can be used to obtain an equation for π in order to evolve the system exactly. To obtain a “pressure-Poisson” type of equation, we differentiate the constraint (d/dt(Au) = 0) and compare to the divergence of the equation of motion Eq. 8:

graphic file with name M18.gif 9

where LAAT. Solvability is assumed for Eq. 9. In the case of an incompressible fluid, either L is invertible, or it has a null-space that is independent of time.

One can express the constraint condition in Eq. 8 in terms of projection operators. We define Q = ATL−1A and P = IQ. The operators P and Q are projections onto the subspace of vectors that satisfy the constraint and onto the orthogonal complement of that subspace: If Au = 0, then Pu = u and Qu = 0. Note that these projection operators are functions of time if A, AT are functions of time.

First, we consider the case in which A is independent of time. The projection operator can be used to eliminate the constraint and reduce the problem to a system of ordinary differential equations:

graphic file with name M19.gif 10

where we use the fact that PATπ = 0. This system is equivalent to the original one, provided the initial data satisfy the constraint, i.e. (Au)(0) = 0. In that case, the BCG discretization reduces to

graphic file with name M20.gif 11

where Δt is the discrete time step and u0 = u(0). This discretization is inherently second-order because of the use of the midpoint rule for f. Also, P(un+1) = un+1 if P(un) = un.

The BCG discretization can be written in predictor-corrector form:

graphic file with name M21.gif
graphic file with name M22.gif
graphic file with name M23.gif 12

where unu(tn), πn−1/2 ≈ π(tn − Δt/2).

Next, we generalize the BCG discretization for the model problem with time-dependent A. The difficulty is that, in the time-independent case, we obtained a second-order accurate method by eliminating the constraint and applying the midpoint rule to the resulting system of ordinary differential equations. A reduction corresponding to Eq. 10 does not exist when the constraint is time-dependent, and we must construct a second-order accurate discretization directly for the original constrained system. Such a discretization is given as follows:

graphic file with name M24.gif
graphic file with name M25.gif
graphic file with name M26.gif 13

Let wnew, qnew be solutions approximated by the predictor-corrector scheme:

graphic file with name M27.gif
graphic file with name M28.gif 14

Define uen = u(tn), πen+1/2 = π(tn+1/2) where u, π are solutions to the model problem (Eq. 8). If w = uen and q = πen−1/2 + Ot), then

(i) the method is second-order accurate:

graphic file with name M29.gif

and

(ii)

graphic file with name M30.gif

Proof of i. In order to prove the consistency of the predictor–corrector discretization, the solution wnew is compared to the standard of a Crank-Nicolson solution, which uses the midpoint rule. It is noted that the midpoint rule for ordinary differential equations yields global second-order accuracy.

graphic file with name M31.gif
graphic file with name M32.gif
graphic file with name M33.gif
graphic file with name M34.gif
graphic file with name M35.gif

because Pn+1(An+1/2)T is Ot).

Proof of ii.

graphic file with name M36.gif
graphic file with name M37.gif
graphic file with name M38.gif

Note that ii depends only on q being bounded independent of time; i.e., the proof begins with a statement of the truncation error and ends with the same statement.

There are several points to be made regarding this method. The first is that it requires only the application of a succession of fixed time operators, rather than a solution to problems resulting from differentiation of the constraint with respect to time, such as Eq. 9. In particular, this leads to a solution that satisfies the constraint at the end of each time step. The second point is that, although we obtain a second-order accurate method for the solution u, the approximation for π is only first-order accurate in time, which is, in fact, all that is required. Finally, although we will apply this method to a very specific approach to discretizing the spatial derivatives, the time discretization presented here is itself quite general and could be applied equally well to other discretization strategies.

Discretization for Incompressible Flow

We apply the new time discretization to the split-velocity formulation for incompressible flow. Finite difference approximations are used to discretize the derivatives in the equations of motion. Any time step in the algorithm begins with the knowledge of a cell-centered discrete velocity, Ud,i,jn, at time tn, and a discrete cell-centered Bernoulli pressure, πi,jn−1/2, at the lagged time, tn−1/2 = tn − Δt/2. Also, the discrete potential velocity, Up, is known at all times from the discrete Dirichlet problem that it satisfies; it is known at both edges and cell centers through averaging operators. The discrete vortical velocity and pressure are evolved by the predictor–corrector scheme discovered in the model problem. Evolution of the dependent variables is predicated on a known initial solution that satisfies the boundary conditions and the incompressibility constraint. Dn, Gn+1/2, Ln, and Lνn are the discrete representations of the operators div, grad, Δ, and Δν, respectively, including boundary conditions.

We now apply the time-discretization in the previous section to the system of equations (Eq. 5) describing the time evolution of ud. We do this in two steps. First, we compute a time-centered estimate of the right-hand side corresponding to fn+1/2. Following ref. 2, we solve the system of equations

graphic file with name M39.gif
graphic file with name M40.gif
graphic file with name M41.gif 15

Here, As(Ud, Up)n+1/2 is an estimate of the advective terms at time tn + Δt/2, computed by using a second-order accurate Godunov method. If πn−1/2 were replaced by πn+1/2, this would be a Crank-Nicolson discretization for the diffusion terms. As is, it is sufficient to obtain an Ot2) estimate of ν(Lνn(Un) + Lνn+1(U*))/2.

In the second step, we apply the discrete evolution. We form

graphic file with name M42.gif
graphic file with name M43.gif
graphic file with name M44.gif 16

and obtain the updated solution:

graphic file with name M45.gif
graphic file with name M46.gif 17

Results

We present the convergence results of two flow regimes for incompressible viscous flow in an axisymmetric deforming tube. The flow is characterized by Reynolds number, Re = v̄d/ν, where v̄ is the mean velocity, d is the diameter of the tube (d = 2 in all cases), and ν is the kinematic viscosity. The following grid motion is used:

graphic file with name M47.gif 18

where R0 is a radius of unity for an initially rectangular grid and zc is the axial location of the extremum for a Gaussian movement.

The first case is a low Reynolds number calculation, Re = 8, where v̄ = 1 and ν = 0.25. The convergence results for this case are shown in Table 1 at a time t = 0.5 when the inward boundary velocity is at a maximum where the tube has moved to a position that is 0.875 of the original radius. The second case is a high Reynolds number calculation, Re = 200, where v̄ = 1 and ν = 0.01. The convergence results for this case are shown in Table 2 at a time t = 1 when the boundary has stopped moving at a fully pinched tube position, or 0.75 of the original radius. (See ref. 16 for details on convergence analysis.)

Table 1.

Error for flow in deforming tube (Re = 8)

Case e1/16 Rate e1/32 Rate e1/64
u 4.01  ×  10−3 1.69 1.24  ×  10−3 1.75 3.68  ×  10−4
v 8.25  ×  10−3 2.04 2.01  ×  10−3 2.01 4.99  ×  10−4

Table 2.

Error for flow in deforming tube (Re = 200)

Case e1/16 Rate e1/32 Rate e1/64
u 2.71  ×  10−2 2.34 5.36  ×  10−3 1.94 1.40  ×  10−3
v 7.50  ×  10−2 2.39 1.43  ×  10−2 2.22 3.06  ×  10−3

We also present the salient flow features for a complete cycle of the inward and outward movement of the tube wall. Fig. 2 depicts snapshots of the axial velocity for Re = 200 at times when the wall velocity is at a maximum (see Fig. 1 for geometry). A notable feature in this flow scenario is a very sharp gradient that is captured in the axial component of the velocity at time t = 3.5, when the hump is moving back inward from its fully expanded outward position. The strong gradient, which indicates the presence of a shear layer, exists in the axial direction as well as the radial direction. Another observation is movement of the point of separation, which is indicated in the axial component of velocity by a change in sign from positive to negative. As the hump expands outward, the separation point marches from a location just before the midpoint of the hump toward the inlet.

Figure 2.

Figure 2

Axial velocity in tube with inward/outward-moving hump (inlet Re = 200). (a) Time t = 1.5 when the wall is moving outward to the flat position. (b) Time t = 2.5 when wall is moving outward from flat position. (c) Time t = 3.5 when the wall is moving inward to the flat position. (Scale = −1.703–3.773.)

Acknowledgments

This research was supported at the Lawrence Berkeley National Laboratory by the U.S. Department of Energy Mathematical, Information, and Computing Sciences Division, Contract DE-AC03-76SF00098; and at the University of California, Berkeley by the U.S. Department of Energy Mathematical, Information, and Computing Sciences Division, Grants DE-FG03-94ER25205 and DE-FG03-92ER25140, and the National Science Foundation Graduate Fellowship Program.

ABBREVIATION

BCG

Bell-Colella-Glaz

References

  • 1.Chorin A J. Math Comp. 1968;22:745–762. [Google Scholar]
  • 2.Bell J B, Colella P, Glaz H M. J Comput Phys. 1989;85:257–283. [Google Scholar]
  • 3.Lai M F, Bell J B, Colella P. Proceedings of the Eleventh AIAA Computational Fluid Dynamics Conference. New York: American Institute of Aeronautics and Astronautics; 1993. pp. 776–783. [Google Scholar]
  • 4.Almgren A, Bell J B, Colella P, Howell L H. J Comput Phys. 1998;142:1–46. [Google Scholar]
  • 5.Sussman M M, Almgren A S, Bell J B, Colella P, Howell L H, Welcome M. J Comput Phys. 1999;148:81–124. [Google Scholar]
  • 6.Kupferman R. J Comput Phys. 1998;147:22–59. [Google Scholar]
  • 7.Bell J B, Colella P, Trangenstein J A, Welcome M. Proceedings of the Ninth AIAA Computational Fluid Dynamics Conference. New York: American Institute of Aeronautics and Astronautics; 1989. pp. 471–479. [Google Scholar]
  • 8.Almgren A, Bell J B, Szymczak W. SIAM J Sci Comput. 1996;17:358–369. [Google Scholar]
  • 9.Colella P, Pao K. J Comput Phys. 1999;149:245–269. [Google Scholar]
  • 10.Minion M L. J Comput Phys. 1996;123:435–449. [Google Scholar]
  • 11.Bell J B, Szymczak W. AIAA J. 1994;32:1961–1969. [Google Scholar]
  • 12.Peskin C S, McQueen D M. Crit Rev Biomed Engrg. 1992;20:451–459. [PubMed] [Google Scholar]
  • 13.Cortez R. J Comput Phys. 1996;123:341–353. [Google Scholar]
  • 14.LeVeque R J. SIAM J Sci Comput. 1997;18:709–735. [Google Scholar]
  • 15.Chorin A J. Math Comp. 1969;23:341–353. [Google Scholar]
  • 16.Trebotich D P. Ph.D. thesis. Berkeley: Univ. of California; 1998. [Google Scholar]

Articles from Proceedings of the National Academy of Sciences of the United States of America are provided here courtesy of National Academy of Sciences

RESOURCES