|
1 | | -% Terzaghi 1D: using MOLE operators |
| 1 | +% ------------------------------------------------------------------------- |
| 2 | +% Terzaghi One-Dimensional Consolidation Example |
| 3 | +% |
| 4 | +% Consolidation is the process of transient fluid flow through a porous |
| 5 | +% medium that deforms over time. |
| 6 | +% |
| 7 | +% A constant compressive face load of P0 = 10 MPa is applied at the |
| 8 | +% left boundary (x = 0 m) of a saturated porous soil matrix. |
| 9 | +% |
| 10 | +% Zero displacement is assumed at the right boundary (x = L = 25 m), |
| 11 | +% representing a fixed wall or support. |
| 12 | +% |
| 13 | +% The matrix is assumed to be fully saturated, and fluid drainage is |
| 14 | +% permitted only at the loaded boundary (x = 0 m). |
| 15 | +% |
| 16 | +% The MOLE Laplacian operator is used to compute the excess pore pressure |
| 17 | +% p(x, t), satisfies a one-dimensional diffusion equation for pressure. |
| 18 | +% |
| 19 | +% The domain is defined on the interval x ∈ [0, L] meters. |
| 20 | +% |
| 21 | +% The simulation compares the MOLE-based numerical solution to an |
| 22 | +% analytical benchmark solution derived using Fourier series. |
| 23 | +% ------------------------------------------------------------------------- |
| 24 | + |
| 25 | +%% |
2 | 26 | clc; |
3 | 27 | close all; |
4 | 28 |
|
|
32 | 56 | g = 9.81; % Gravity [m/s^2] |
33 | 57 |
|
34 | 58 | %% Numerical (MOLE) Solution |
35 | | -L = lap(k, m, dx); |
36 | | -G = grad(k, m, dx); |
| 59 | +L = lap(k, m, dx); % Mimetic Laplacian operator for diffusion |
| 60 | +G = grad(k, m, dx); % Mimetic gradient operator for Darcy flux |
| 61 | + |
| 62 | +% Boundary modifications to Laplacian |
37 | 63 | L(1,:) = 0; L(end,:) = 0; |
38 | 64 |
|
39 | 65 | p_numerical = zeros(length(xgrid), length(times_sec)); % Pressure field [Pa] |
|
0 commit comments