Projection method (fluid dynamics)
In fluid dynamics, The projection method is an effective means of numerically solving time-dependent incompressible fluid-flow problems. It was originally introduced by Alexandre Chorin in 1967[1][2] as an efficient means of solving the incompressible Navier-Stokes equations. The key advantage of the projection method is that the computations of the velocity and the pressure fields are decoupled.
The algorithm
The algorithm of the projection method is based on the Helmholtz decomposition (sometimes called Helmholtz-Hodge decomposition) of any vector field into a solenoidal part and an irrotational part. Typically, the algorithm consists of two stages. In the first stage, an intermediate velocity that does not satisfy the incompressibility constraint is computed at each time step. In the second, the pressure is used to project the intermediate velocity onto a space of divergence-free velocity field to get the next update of velocity and pressure.
Helmholtz–Hodge decomposition
The theoretical background of projection type method is the decomposition theorem of Ladyzhenskaya sometimes referred to as Helmholtz–Hodge Decomposition or simply as Hodge decomposition. It states that the vector field [math]\displaystyle{ \mathbf{u} }[/math] defined on a simply connected domain can be uniquely decomposed into a divergence-free (solenoidal) part [math]\displaystyle{ \mathbf{u}_{\text{sol}} }[/math] and an irrotational part [math]\displaystyle{ \mathbf{u}_{\text{irrot}} }[/math]. .[3]
Thus,
- [math]\displaystyle{ \mathbf{u} = \mathbf{u}_{\text{sol}} + \mathbf{u}_{\text{irrot}} = \mathbf{u}_{\text{sol}} + \nabla \phi }[/math]
since [math]\displaystyle{ \nabla \times \nabla \phi = 0 }[/math] for some scalar function, [math]\displaystyle{ \,\phi }[/math]. Taking the divergence of equation yields
- [math]\displaystyle{ \nabla\cdot \mathbf{u} = \nabla^2 \phi \qquad ( \text{since,} \; \nabla\cdot \mathbf{u}_{\text{sol}} = 0 ) }[/math]
This is a Poisson equation for the scalar function [math]\displaystyle{ \,\phi }[/math]. If the vector field [math]\displaystyle{ \mathbf{u} }[/math] is known, the above equation can be solved for the scalar function [math]\displaystyle{ \,\phi }[/math] and the divergence-free part of [math]\displaystyle{ \mathbf{u} }[/math] can be extracted using the relation
- [math]\displaystyle{ \mathbf{u}_{\text{sol}} = \mathbf{u} - \nabla \phi }[/math]
This is the essence of solenoidal projection method for solving incompressible Navier–Stokes equations.
Chorin's projection method
The incompressible Navier-Stokes equation (differential form of momentum equation) may be written as
- [math]\displaystyle{ \frac {\partial \mathbf{u}} {\partial t} + (\mathbf{u}\cdot\nabla)\mathbf{u} = - \frac {1}{\rho} \nabla p + \nu \nabla^2 \mathbf{u} }[/math]
In Chorin's original version of the projection method, one first computes an intermediate velocity, [math]\displaystyle{ \mathbf{u}^* }[/math], explicitly using the momentum equation by ignoring the pressure gradient term:
- [math]\displaystyle{ \quad (1) \qquad \frac {\mathbf{u}^* - \mathbf{u}^n} {\Delta t} = -(\mathbf{u}^n \cdot\nabla) \mathbf{u}^n + \nu \nabla^2 \mathbf{u}^n }[/math]
where [math]\displaystyle{ \mathbf{u}^n }[/math] is the velocity at [math]\displaystyle{ \,n }[/math]th time step. In the second half of the algorithm, the projection step, we correct the intermediate velocity to obtain the final solution of the time step [math]\displaystyle{ \mathbf{u}^{n+1} }[/math]:
- [math]\displaystyle{ \quad (2) \qquad \mathbf{u}^{n+1} = \mathbf{u}^* - \frac {\Delta t}{\rho} \, \nabla p ^{n+1} }[/math]
One can rewrite this equation in the form of a time step as
- [math]\displaystyle{ \frac {\mathbf{u}^{n+1} - \mathbf{u}^*} {\Delta t} = - \frac {1}{\rho} \, \nabla p ^{n+1} }[/math]
to make clear that the algorithm is really just an operator splitting approach in which one considers the viscous forces (in the first half step) and the pressure forces (in the second half step) separately.
Computing the right-hand side of the second half step requires knowledge of the pressure, [math]\displaystyle{ \,p }[/math], at the[math]\displaystyle{ \,(n+1) }[/math] time level. This is obtained by taking the divergence and requiring that [math]\displaystyle{ \nabla\cdot \mathbf{u}^{n+1} = 0 }[/math], which is the divergence (continuity) condition, thereby deriving the following Poisson equation for [math]\displaystyle{ \,p^{n+1} }[/math],
- [math]\displaystyle{ \nabla ^2 p^{n+1} = \frac {\rho} {\Delta t} \, \nabla\cdot \mathbf{u}^* }[/math]
It is instructive to note that the equation written as
- [math]\displaystyle{ \mathbf{u}^* = \mathbf{u}^{n+1} + \frac {\Delta t}{\rho} \, \nabla p ^{n+1} }[/math]
is the standard Hodge decomposition if boundary condition for [math]\displaystyle{ \,p }[/math] on the domain boundary, [math]\displaystyle{ \partial \Omega }[/math] are [math]\displaystyle{ \nabla p^{n+1}\cdot \mathbf{n} = 0 }[/math]. In practice, this condition is responsible for the errors this method shows close to the boundary of the domain since the real pressure (i.e., the pressure in the exact solution of the Navier-Stokes equations) does not satisfy such boundary conditions.
For the explicit method, the boundary condition for [math]\displaystyle{ \mathbf{u}^* }[/math] in equation (1) is natural. If [math]\displaystyle{ \mathbf{u}\cdot \mathbf{n} = 0 }[/math] on [math]\displaystyle{ \partial \Omega }[/math], is prescribed, then the space of divergence-free vector fields will be orthogonal to the space of irrotational vector fields, and from equation (2) one has
- [math]\displaystyle{ \frac {\partial p^{n+1}} {\partial n} = 0 \qquad \text{on} \quad \partial \Omega }[/math]
The explicit treatment of the boundary condition may be circumvented by using a staggered grid and requiring that [math]\displaystyle{ \nabla\cdot \mathbf{u}^{n+1} }[/math] vanish at the pressure nodes that are adjacent to the boundaries.
A distinguishing feature of Chorin's projection method is that the velocity field is forced to satisfy a discrete continuity constraint at the end of each time step.
General method
Typically the projection method operates as a two-stage fractional step scheme, a method which uses multiple calculation steps for each numerical time-step. In many projection algorithms, the steps are split as follows:
- First the system is progressed in time to a mid-time-step position, solving the above transport equations for mass and momentum using a suitable advection method. This is denoted the predictor step.
- At this point an initial projection may be implemented such that the mid-time-step velocity field is enforced as divergence free.
- The corrector part of the algorithm is then progressed. These use the time-centred estimates of the velocity, density, etc. to form final time-step state.
- A final projection is then applied to enforce the divergence restraint on the velocity field. The system has now been fully updated to the new time.
References
- ↑ Chorin, A. J. (1967), "The numerical solution of the Navier-Stokes equations for an incompressible fluid", Bull. Am. Math. Soc. 73 (6): 928–931, doi:10.1090/S0002-9904-1967-11853-6, http://math.berkeley.edu/~chorin/chorin67.pdf
- ↑ Chorin, A. J. (1968), "Numerical Solution of the Navier-Stokes Equations", Math. Comp. 22 (104): 745–762, doi:10.1090/s0025-5718-1968-0242392-2
- ↑ Chorin, A. J.; J. E. Marsden (1993). A Mathematical Introduction to Fluid Mechanics (3rd ed.). Springer-Verlag. ISBN 0-387-97918-2.
Original source: https://en.wikipedia.org/wiki/Projection method (fluid dynamics).
Read more |