ACFD-Lecture-4 Part-2
ACFD-Lecture-4 Part-2
¦A e
u(0,t)=u(1,t)=0 is
f
Dk 2 t
u(x, t) sin(kx)
2 ³ f (x)sin(kx)dx, k
n
nS
n 1
1
where A n
0
Simple Explicit Method
There is no imaginary part and hence no phase
shift.
The exact amplification factor is obtained by
substituting the elemental solution
The present simple explicit scheme marches the solution
outward from the initial data line in much the same
manner as the explicit schemes of the previous section.
We see that the unknown u can be calculated at point P
without any knowledge of the BCs along AB and CD,
since the parabolic heat equation has the characteristic
t=const.
From this we conclude that the present explicit
scheme does not properly model the physical
behavior of the parabolic PDE.
It would appear that an implicit method would
be the more appropriate method for solving a
parabolic PDE, since an implicit method normally
assimilates information from all grid points
located on or below the characteristic t=const.
On the other hand, explicit schemes seem to
provide a more natural finite-difference
approximation for hyperbolic PDEs that possess
limited zones of influence.
Simple Implicit (Laasonen) Method
Crank-Nicolson Method
ADI Methods
Splitting or Fractional-Step Methods
The ADI methods are closely related and in some cases
identical to the method of fractional steps, which were
developed by Soviet mathematicians at about the same
time as the ADI methods were developed in the United
States.
The basic idea of these methods is to split a finite-
difference algorithm into a sequence of 1-D operations.
Simple implicit scheme:
ADE Methods
Unlike the ADI methods, the alternating-direction explicit (ADE)
methods do not require tridiagonal matrices to be “inverted.”
Since the ADE methods can also be used to solve the 1-D heat equation,
we will apply the ADE algorithms to this equation, for simplicity.
Laplace Equation: uxx+uyy=0
Laplace’s equation is the model form for elliptic
PDEs.
Some of the important practical problems
governed by a single elliptic equation include the
steady-state temperature distribution in a solid
and the incompressible irrotational (potential)
flow of a fluid.
The steady incompressible N-S equations are
elliptic but in a coupled and complicated fashion,
since the pressure derivatives as well as velocity
derivatives are sources of elliptic behavior.
The elliptic equation arising in many physical
problem is a Poisson equation: uxx+uyy=f(x,y).
Burgers’ Equation (Inviscid)
A single equation that could serve as a nonlinear analog of
the fluid mechanics equations would be very useful. This
single equation must have terms that closely duplicate the
physical properties of the fluid equation, i.e., the model
equation should have a convective term, a diffusive or
dissipative term, and a time dependent term. Burgers (1948)
introduced a simple nonlinear equation that meets these
requirements:
where I(x)=u(x,0).
The existence of shock waves in inviscid supersonic
flow is an example of a weak solution.
The requirements necessary for the existence of a
solution with a discontinuity such as that shown in Fig.
4.30.
Let w(x,t) be an arbitrary test function that is continuous
and has continuous first derivatives. Let w(x,t) vanish on
the boundary B of the domain D and everywhere outside
D. D is an arbitrary rectangular domain in the (x,t) plane.
We may write
u(x, y) ¦ A n
f
sinh(nSy)
Superposition theorem:
sin(nSx)
sinh(nS)
¦A 2 ³ f (x)sin(nSx)dx
f
sin(nSx), A n
n 1
1
u(x,1) n BACK
0
n 1
BACK
Multiply the first equation by a21/a11 and subtract it from the second
equation to eliminate u1 form the second equation.
Multiplying the pivot equation by a31/a11 and subtracting it form the
third equation eliminates the first term for the third equation.
This procedure can be continued to eliminate the u1 form equations 2
through n.
Next, the second equation is used as the pivot equation
to eliminate u2 from all equations below it.
BACK
Unstructured Grid
Structured Grid
BACK
BACK
BACK