MATLAB_Gray_Scott_Model Description and Help

MATLAB_Gray_Scott_Model is a graphical user interface (GUI) that plots solutions to the following Gray-Scott model:

(   ∂u(x,t)   ∂2u(x,t)
||   --∂t--=  --∂x2-- - u(x,t)v(x,t)2 + A (1 - u (x,t)),t > 0,x ∈ [- L, L]
||||   ∂v(x,t)=  ϵ∂2v(x2,t)+  u(x,t)v(x,t)2 - Bv (x,t),t > 0,x ∈ [- L,L ]
||{     ∂t       ∂x
    u(x, 0) = u0(x),x ∈ [- L, L]
||   v(x,0 ) = v0(x ),x ∈ [- L,L ]
|||
|||   u(- L, t) = u (L, t),t > 0
(   v(- L, t) = v(L, t),t > 0
(1)

In addition, the GUI investigates continuous dependence.

To use the GUI, specify a diffusivity constant, a replenishment constant, a diminishment constant, a final time to plot solutions and an initial condition before clicking the Solve Gray-Scott Model button.


PIC

Figure 1: MATLAB_Gray_Scott_Model


The initial condition in the dropbox menu of the GUI is labeled sine corresponding to

{
  u0(x )  = 1 - 1 sin100(π(x-L))
            1   2100 π(x-L)2L
  v0(x)   = 4 sin   (  2L  )
The GUI assumes L = 50. Once all inputs have been specified, click the Solve Gray-Scott Model button to display a movie of the solution.

PIC

Figure 2: Screenshot of movie of solution.


The movie will play once before outputting surface plots of the solution.


PIC

Figure 3: A surface plot in t and x of the solution.


To explore continuous dependence using the GUI one must first solve the IBVP with particular model parameters. Once a solution has been constructed, click the Perturb Parameters and Solve button. Pop-up boxes will appear to specify the perturbed model parameters and/or initial conditions. The GUI assumes the perturbed initial condition is of the form

Żu0(x) = (1 - δ)u0(x),Żv0(x) = (1 - δ )v0(x )
where δ is small and nonnegative. In the pop-up box δ is referred to as the perturbation size.

PIC

Figure 4: Input perturbed parameters


Once completed, the GUI will display the norm difference between the original solution and the perturbed solution.


PIC

Figure 5: Norm Difference between original and perturbed solution.