MATLAB_Gray_Scott_2D_Model Description and Help

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

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

||||   u(- L, y,t) = u (L,y,t),t > 0,y ∈ [- L, L]
|||   u(x, - L, t) = u(x,L,t),t > 0,x ∈ [- L,L ]
|||
|||(   v(- L,y, t) = v (L, y,t),t > 0,y ∈ [- L, L]
    v(x,- L, t) = v (x, L,t),t > 0,x ∈ [- L, L]
(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_2D


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

{
  u0(x, y)  = 1 - 1 sin100( π(x-L)) sin100(π(y-L))
              1   2100  π(x-L-2)L  100 π(y-L)2L
  v0(x,y )  = 4 sin    ( 2L  ) 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 an aerial view of the solution to detect patterns.


PIC

Figure 3: Aeriel view of 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, y) = (1 - δ)u0 (x, y),Żv0(x,y) = (1 - δ)v0(x, y)
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.