Solve the system of convection-diffusion-reaction equations
on a circular domain (circle.m) with
![]() |
(4) |
As initial conditions, take and
in the
domain
. This corresponds to a situation where we have a
beaker containing substance
(with concentration
). There is
nothing of substance
in the beaker so to get the reaction going,
we need to add
to the system. We do this by taking
![]() |
(5) |
To solve the problem, look at your solver for the bistable equation from computer session E4, or try yourself without looking.
Since the problem is nonlinear, we need to use fixed-point iteration. The procedure is the same as in computer session E4, but since we now have a system of two equations, we need to assemble two vectors and solve two linear systems in each fixed-point iteration.
Note also that both and
depend on both
and
, so
we need to pass the values of both
and
(at the right-hand
side of the interval) to the assembler. As before, you also need to
pass the left-hand side values to the assembler (since the problem is
time-dependent).
Check your answer: Compare your solution with the figure below, which shows the
solution at time .