MATLAB_Fluid_Seepage_Non_2D Description and Help

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

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

and

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

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:
(| ∂-(u(x, y,t) - α △u (x,y,t)) = β△u (x, y,t) + f (x, y,t),x,y ∈ (- 1,1)t > 0,
||{ ∂t
  u(x,y,0 ) = u0 (x,y), - 1 < x < 1,- 1 < y < 1
|| 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
(3)

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, an initial condition, and a forcing function before clicking the Solve Seepage Model button.


PIC

Figure 1: MATLAB_Fluid_Seepage_Non_2D GUI


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

u0(x,y) = 0,
u0(x,y) = 1,
u0(x,y) sin (πx) sin (πy),
u0(x,y) = cos (πx) + cos (πy) + 1,
u0(x,y) = e-40(x2+y2),
u0(x,y) = {
    1, x ∈ [- 12, 12 ],y ∈ [- 12, 12]

    0, otherwise ,
respectively. The forcing functions in the dropbox menu of the GUI are labeled as f1, f2, f3, f4, and f5. These labels refer to the functions
f1(x,y,t) = A,A≠0,
f2(x,y,t) = A(x + y) + Bt,A,B≠0,
f3(x,t) = cos (ωt),ω > 0,
f4(x,y,t) = e-at,wherea > 0,
f5(x,y,t) = {        1       1    1        1
  A,   - 2 ≤ x ≤ 2, - 2 ≤ y ≤  2,t > 0
  0    otherwise .

Once all inputs have been specified, click the Solve Seepage Model button to input the forcing function parameters.


PIC

Figure 2: Input forcing function parameters.


Once the forcing function parameters have been specified the GUI will display a movie of the solution.


PIC

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


To explore continuous dependence using the GUI one must first solve 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) = (1 - δ)u0(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. Depending on your choice of norm(s), potentially several plots will appear on the same axis.


PIC

Figure 5: Norm Difference between original and perturbed solution.