MATLAB_Fluid_Seepage_1D Description and Help

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

(| ∂-(           ∂2-      )     ∂2-
|{ ∂t u (x,t) - α ∂x2u(x,t) = β ∂x2u(x,t), - 1 < x < 1,t > 0,
  u(x,0) = u (x), - 1 < x <  1,
||( ∂u(- 1,t)   0∂u(1,t)
  --∂t---=  -∂t-- = 0,t > 0.
(1)

(   (            2       )      2
||{ ∂∂t u (x,t) - α ∂∂x2u(x,t) = β ∂∂x2u(x,t), - 1 < x < 1,t > 0,

|| u(x,0) = u0(x), - 1 < x <  1,
( u(- 1,t) = u (1,t),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_1D 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) = 0,
u0(x) = 1,
u0(x) = cos (4πx),
u0(x) = e-40x2 ,
u0(x) = {            1 1
    1,x ∈ [- 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.


The movie will play twice before outputting a surface plot 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 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.