MATLAB_Fluid_Seepage_2D Description and Help

MATLAB_Fluid_Seepage_2D is a graphical user interface (GUI) that plots solutions to the following two-dimensional fluid seepage through fissured rocks models:

(
|| ∂∂t (u(x,y, t) - α△u (x,y,t)) = β△u (x,y, t),x, y ∈ (- 1,1),t > 0,
||{
  u(x,y,0) = u0(x, y), - 1 < x < 1,- 1 < y < 1
|| ∂u(-∂1x,y,t)=  0 = ∂u(∂1,xy,t), - 1 < y < 1,t > 0
||( ∂u(x,-1,t)=  0 = ∂u(x,1,t), - 1 < x < 1,t > 0
     ∂y            ∂y
(1)

where

             -∂2-           -∂2-
△u (x,y,t) = ∂x2 u(x,y, t) + ∂y2 u(x,y, t)
If the BCs are replaced by periodic boundary conditions the IBVP becomes:
(
|| ∂∂t (u(x, y,t) - α △u (x,y,t)) = β△u (x, y,t), - 1 < x < 1,- 1 < y < 1t > 0,
|{ u(x,y,0 ) = u (x,y), - 1 < x < 1,- 1 < y < 1
               0
||| u(- 1,y,t) = u(1,y,t), - 1 < y < 1,t > 0
( u(x,- 1,t) = u(x,1,t), - 1 < x < 1,t > 0
(2)

In addition, the GUI investigates continuous dependence.

To use the GUI, specify a permeability constant, a porosity constant, a final time to plot solutions, a boundary condition, and an initial condition, before clicking the Solve Seepage Model button.


PIC

Figure 1: MATLAB_Fluid_Seepage_2D GUI


The initial conditions in the dropbox menu of the GUI are labeled as 0, 1, cosine, exponential and step function. These correspond to

u0(x,y) = 0,
u0(x,y) = 1,
u0(x,y) = cos (πx) + cos (πy) + 1,
u0(x,y) = e-40(x2+y2),
u0(x,y) = {            1 1         1 1
    1, x ∈ [- 2,2 ],y ∈ [- 2,2]
    0, otherwise ,
respectively. Once all inputs have been specified, click the Solve Seepage Model button to display a movie of the solution.

PIC

Figure 2: A screenshot of the movie that displays the solution.


To explore continuous dependence using the GUI one must first solve the fluid seepage model with a particular model parameters and initial condition. 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)
where δ is small and nonnegative. In the pop-up box δ is referred to as the perturbation size.

PIC

Figure 3: Input perturbed parameters


Once completed, the GUI will display the norm difference between the original solution and the perturbed solution. Depending on your choice of norm(s), potentially several plots will appear on the same axis.


PIC

Figure 4: Norm Difference between original and perturbed solution.