What’s the difference?
Today I was asked for a one-sentence comment of the difference between finite difference method and finite element method. What I came up was:
In finite difference method we approximate the differential expression, or the partial derivative, while in finite element method we approximate the space in which the solution lies.
Hopefully this shed some light on the issue.
Saddle point problem in Navier-Stokes equation
It is well known that the the optimization problem
is equal to solving a linear operator equation
provided that is symmetric and positive definite. Here
which is a Hilbert space, and
while
is a bilinear operator.
This is a very general problem considered widely in many areas. However, in the real world, some further condition are to be applied on the space where lies on. If this is described as constraint equation
then we are dealing with constraint optimization problem ,to which Lagrange multiplier is usually the first one can come up. We then try to solve the stationary point of Lagrangian
Now supposing we set , using stationary point condition on above equation, we arrive at
where is replaced by
indicating the parallel unknown as
in the problem. The stationary point nature of this solution gives the name of saddle point problem, whose general case is
So, putting a constraint to a minimization problem, one try to solve a saddle problem instead of a simple linear system with SPD matrix.
For a linear system, one can always decompose it in to the form of
and this is the most general form of saddle problem.
For incompressible Navier-Stokes equation, we have (without mentioning the boundary conditions)
Following -scheme by Glowinski, one has the time discretized plan as:
then
then
The first and last step in above scheme are to solve Stokes problem like
Multiply on both sides of the first equation, by using Green’s formula, we can see it is just the saddle point problem, with
as
and
as
:
Here pressure acts as Lagrange multiplier, and the Lagrangian is
where is the seminorm on
and
is in
.
Lagrangian representation for incompressible flow
Even Eulerian representation gives a field description of flow problems, it’s characterized and troubled by the convection terms. On the other hand, Lagrangian representation does not have this drawback, although the nonlinearity problem posed by convection term is replaced by nonlinearity of mapping between initial spacial cooridnates depending on particle index and spacial coordinates at some time later, as I am about to show.
Denote spacial coordinates, velocity, pressure in Eulerian representation as ,
,
(symbol without subscript means the vector of proper dimension), one has the governing equations for inviscid incompressible flow:
For some reference time , and material coordinate (particle index)
, spacial position is described by a particle trajectory mapping from Lagrangian coordinate to Eulerian coordinate:
Mapping between material coordinate
and spacial coordinate
is called deformation.
When material coordinate coincides with spacial coordinate at reference time , we have
in which ,
and
are all generally in
. Then the Lagrangian representation of unknowns are
Here symbols with superscript denotes the variables in Lagrangian representation. The material derivative and spacial/reference derivative, for some variable are related by
in which is the Jacobi matrix of
, i.e. the deformation gradient:
A second order tensor’s reference coordinate form and material coordinate form is connected by Piola transform:
where is a second order tensor in reference configuration, and
is second order tensor corresponding to
in deformed configuration. The superscript
means “inverse” & “transpose”. Considering the divergence operation, we have:
The divergence theorem leads to
Following theorem can be proved for the Piola transform:
and area derivatives and
are related by
Apply results above to the viscosity term in momentum equation, we have
Finally, the Lagrangian formulation for momentum equation is:
here bears the physical interpretation of volume change ratio, which is constantly one for incompressible flow. Depending on whether the reference time
is taken as some time during the movement or always the initial time with initial configuration, the Lagrangian description can be divided into updated Lagrangian formulation or Total Lagrangian formulation.
Sobolev space: I
Sobolev space is based on generalize derivatives and the corresponding norm induced. As a special case, space
has the meaning of finite “intensity” in general physical sense. For example, if
is the flow velocity in spatial domain
, then
means the function and its first order derivatives are all in
, i.e.
Physically it means the total intensity of the sources within is finite, so is the total kinetic energy within the domain. Obviously this requirement is fundamental for any engineering analysis.
Meyers and Serrin proved that is dense in
under the Sobolev space norm. This means that the function in Sobolev space can be approximated using smooth functions, and in many occasions the properties of Sobolev space is obtained by first demonstrate it in
.
The fundamental question of approximating the variational form of a PDE is twofold:
How much the smoothness/differentiability one can have from the weak solution?
How close the boundary condition can be approximated?
The first question is referred to as regularity problem. The properties of embedding, and traces of the Sobolev spaces are fundamental to answer questions above. It must be emphasized that the regularity of a weak solution depends on the data
, the geometry of domain, and the boundary condition. All three factors must be examined in practical finite element convergence analysis.
Time integration: incompressible flow
I try to consolidate last post using a scheme for incompressible flow under Lagrangian description. Those two condition make somehow make the plan much easier against general case. Since for the moment I am reading this paper, I will take some of its ideas, even though this whole modern time splitting scheme by projection methods owns its origin to Chorin and Temam in 1960′s.
Consider the governing equations:
(MEL-in mixed-Eulerian-Lagrangian form) or
(Eulerian form)
For a specific material particle , both the displacement and velocity are functions of time:
Now, let’s suppose the variables at time are known as
. For velocity we have the general time integration:
In equation above, partial derivative by means take the derivative within the spatial configuration of time
. This spatial domain is obtained using velocity updating:
Parameter varies between 0 and 1. When
, RHS is based on time
, i.e. implicit scheme, while when
we have explicit scheme. Generally, implicit schemes are prefered for its stability merit, which I adopt in this post. So we have
There are two choices to implement the discrete governing equations. One is two resolve all together, by coupling equation above with mass conservation equation of Eulerian form
. The other one is try to update velocity separately, for this purpose we have to transform the mass equation, because it is this equation that couples velocities in different directions. On the other hand, we also want to decouple the pressure and velocity. Before introduce the scheme, let’s first take a look at the physical interpretation of the coordnate system.
When solving the dynamical problem numerically, we hope at one time step, we take care of time derivatives and space derivatives separately. Suppose I am examining a fixed time step , the material particle indexed by
can actually be indexed by the spatial position (in Eulerian coordinates)
. In other words, when we talk about some specific material particle, it can be labeled with location
at time
. So
simply means the
location of some particle which at
occupies
. By this notation, the momentum equation, assuming constant density and body force, is
and the mass equation is
In order to decouple velocity and pressure in momentum equation, we split it:
The two terms on both side form pairs accordingly. The second terms gives an implicit scheme for intermediat variable . Similar split in mass equation gives
which gives , then the first terms in split momentum equation is used to obtain
:
The three equations above, are to be used to find sequentially. This means to solve two spatial domain PDEs for the first two equations, and take one derivative for the last.
leave a comment