微分方程数值解作业 5
微分方程Problem 1
![](https://cdn.duanyll.com/img/20240513093730.png)
Question | Dispersion Relation | Phase Velocity | Group Velocity | Dispersive | Dissipative |
---|---|---|---|---|---|
(a) | Yes | No | |||
(b) | Yes | Yes | |||
(c) | Yes | No |
Question (a)
With the plane wave solution
we have
That simplifies to
which holds for all
and this is the dispersion relation. The phase velocity
The group velocity
The equation is dispersive since
Question (b)
With the plane wave solution, we have
That simplifies to
Therefore the dispersion relation is
Since
The phase velocity
The group velocity
It can be shown that
Also,
which is true since
The equation is dispersive since
Question (c)
With the plane wave solution, we have
which simplifies to
The dispersion relation is
The phase velocity
The group velocity
The equation is dispersive since
Problem 2
![](https://cdn.duanyll.com/img/20240513093745.png)
Question (a)
Question (b)
From (5.31) we have
With the initial condition in
That is
All desired
And then compute
Question (c)
The method satisfies CFL condition, since the system described by
Question (d)
From (5.31) we have
With the initial condition in
Therefore
The stencil for
The CFL condition is the same as in the textbook.
Problem 3
![](https://cdn.duanyll.com/img/20240513093812.png)
Question (a)
- Use a uniform grid
where and - Evaluate the difference equation at
- Using centered differences to approximate the derivatives we have
This can be rearranged to where is the truncation error. - Drop the error term to get the finite difference approximation
for and . The first boundary condition in (5.2) can be approximated by The second boundary condition in (5.3) can be handled by introducing ghost points at , described in . With we can calculate for
The stencil for this method is
and
at the first time step The numerical domain of dependence consists of the points
The damped wave equation can be considered as a wave equation combined with a diffusion equation. The wave equation has a finite domain of dependence, while the diffusion equation propagates information instantaneously. Therefore the domain of dependence of the damped wave equation is the entire domain. Thus explicit methods can never satisfy the CFL condition.
Question (b)
Assuming
we can substitute this into
The amplification factor is
From some numerical experiments we can find that the magnitude of the amplification factor
Question (c)
First we investigate the dispersion relation of the damped wave equation
Substituting the plane wave solution, we have
and the dispersion relation is
The phase velocity is
and depends on
Then we investigate the dispersion relation of the finite difference method. The numerical plane wave solution is
Substituting this into
It will be difficult to solve
Problem 4
![](https://cdn.duanyll.com/img/20240513094001.png)
![](https://cdn.duanyll.com/img/20240513094250.png)
Question (a)
With the wave equation
we have
Question (b)
The discrete energy is
and the approximation of the wave equation is
From the boundry condition we have