/embankment

Using Laplace and 2nd order partial differential equations in python to solve engineering design problems.

Primary LanguageJupyter Notebook

Embankment

A numerical approach to determining the flow beneath an embankment.

Figure 1. Cross-section through a conceptual embankment overlying a permeable stratum.

Method

1. Discretization

The solution domain must be broken down into a set of representative points (discretized). This will allow the domain below the embankment to be visualized as a mesh.

2. Set of Governing Equations

Laplace equation is used to represent the physical process through the embankment, expressed as:

3. Numerical Representation of Governing Equations

Using partial derivatives that are accurate to second order in the mesh spacing. The 2nd order finite difference equation is:

where is the head at any internal grid point i, j.

4. Boundary Conditions

The domain is bounded and at each boundary there are potential effects of the boundary on the interior of the domain. The mesh must be constructed so that all boundary points coincide with the boundary of the mesh. An equation must be specified at every boundary point.

  • At the inflow and outflow boundaries, the equation is trivial and the value of at these point is simply the total head. For example, at each inflow point:

  • At the other boundaries, a finite difference expression must be constructed by combining the governing equation with another equation stating that the gradient in normal to the boundary is zero. We need four expressions for the left, right, upper (that is, beneath the embankment) and lower boundaries which are respectively:




  • There are two special boundary condition points: the lower left grid point and the lower right grid point. The applicable boundary conditions at these are respectively:


Solution Method for Numerical Equations

Constructs the full set of linear equations that incorporates an equation for each boundary and internal point. This will form a matrix that maps each point i,j to a row and column number in the matrix.

The solution will be:

where is the coefficient matrix, is the unknown column vector of head values at each grid point and is the column vector containing the constant value from the equation corresponding to each grid point.

Thus in order to solve for , the equation is rearranged to

Once is solved, the velocity components can be computed using 2nd order finite differences again as:


The total volume flux of water beneath the embankment can be determined by integrating the velocity normal to a defined surface. The total volume flux per unit length along the crest of the embankment $q$ can be computed as:

is the velocity vector at the defined surface, is the local unit normal vector of the defined surface and is an elemental area of the defined surface.

The surface beneath the center of the embankment is therefore planar and of unit thickness, thus the above equation reduces to:

Note: the integral in the equation above can be approximated using the Trapezoidal rule. Therefore q can be determined by: