XSLOPE Input Template

Overview

The XSLOPE input template is the primary means of defining slope stability problems in xslope. It is an Excel workbook that contains all necessary information about the slope geometry, material properties, loading conditions, boundary conditions, and analysis parameters. The template is designed to support three main types of analysis:

  • Limit Equilibrium Method (LEM): Classical slope stability analysis using methods like Bishop, Spencer, Janbu, and others
  • Seepage Analysis: Finite element groundwater flow analysis for steady-state and transient conditions
  • Finite Element Method (FEM): Stress-deformation analysis including the Shear Strength Reduction Method (SSRM)

The template uses a structured format with multiple worksheets (tabs), each dedicated to a specific aspect of the problem definition. This organization makes it easy to prepare complex slope stability analyses while maintaining clarity and avoiding errors.

Download

A template for the Excel file can be downloaded here:

input_template.xlsx

The input file can be modified using any spreadsheet software such as Microsoft Excel, LibreOffice Calc, or Google Sheets.

Loading the Template

The template is loaded into xslope using the load_slope_data() function from the fileio module:

from xslope.fileio import load_slope_data

# Load the input template
slope_data = load_slope_data("path/to/your/input_template.xlsx")

This function reads all worksheets, validates the data, and returns a dictionary containing all parsed information. The resulting slope_data dictionary is then used by various xslope modules for analysis.

Template Structure

The template consists of 12 worksheets, each serving a specific purpose. Different worksheets are used by different analysis types: Limit Equilibrium Method (LEM), seepage analysis (SEEP), and Finite Element Method (FEM).

Sheet Name Description LEM SEEP FEM
main Global parameters and instructions X X X
plot Auto-generated geometry preview X X X
mat Material properties including strength, permeability, and stiffness X X X
profile XY coordinates of profile lines defining slope geometry X X X
polygon Material zones defined as closed polygons (alternative to profile) X X X
piezo Piezometric lines for pore pressure calculations X X
circles Circular failure surface definitions X
non-circ Non-circular failure surface coordinates X
dloads Distributed surface loads X X
reinforce Soil reinforcement elements (anchors, nails, geosynthetics) X X
piles Pile and concrete pier support elements X X
seep bc Seepage analysis boundary conditions X

The following sections describe each worksheet in detail, including the data structure and how it is used in analysis.


Worksheet: main

sheet_main.png

The main worksheet provides global parameters that apply to all analyses and serves as the instruction page for the template. This tab contains:

  • Template version: Tracks template format for compatibility
  • Unit weight of water (γw): Used in pore pressure calculations
  • Tension crack parameters: Depth and water level within tension cracks at the top of the failure surface
  • Seismic coefficient (kh): Horizontal seismic acceleration coefficient for pseudo-static earthquake analysis

These global parameters are accessed throughout the analysis. For example, the unit weight of water is used in computing pore pressures from piezometric lines, and the seismic coefficient is used to add horizontal inertial forces to each slice in limit equilibrium calculations. The tension crack parameters allow the simulation of a tension crack at the top of the slope for cohesive soils to reduce the liklihood that negative normal forces develop along the fact, which are unconservative in the limit equilibrium method. Filling the crack with water adds an extra level of conservatism as this applies a driving force to the failure surface.


Worksheet: plot

sheet_plot.png

The plot worksheet contains an auto-generated visual preview of the slope geometry based on the inputs in other tabs. This plot updates automatically when you modify the profile, piezo, circles, or other geometry-related worksheets.

This worksheet is purely for quality control and visualization within the Excel environment. It allows you to quickly verify that:

  • Profile lines are correctly positioned and form a reasonable slope geometry
  • Piezometric lines are within the slope boundaries
  • Distributed loads and seepage boundary conditions are at correct locations
  • Reinforcement lines are correctly positioned
  • etc.

The plot is not used by xslope during analysis - it exists solely to help you validate your inputs before running calculations. When working with complex multi-layer geometries or multiple water tables, this visual check can catch data entry errors early. It should be noted that the plot does not auto-scale to an equalized aspect ratio so the vertical scale may differ from the horizontal scale.


Worksheet: mat

sheet_mat1.png

The mat worksheet defines material properties for the soil layer defined by the profile lines (see next section). Each profile line from the profile worksheet is assigned a material id referencing one of the materials in the materials table. It is possible for multiple profile lines to reference a single material. The template is formatted for 15 materials. However, you extend the table by adding additional rows as needed. The table includes comprehensive property definitions for strength, permeability, and stiffness.

Strength Properties (for LEM and FEM analysis):

  • \(\gamma\): Unit weight of the soil. This is used to calculate the weight of the soil in each slice.
  • option: Strength model to use for this layer. mc=Mohr-Coulomb, cp= c/p ratio.
  • c (cohesion) and φ (friction angle): Mohr-Coulomb shear strength parameters (option = mc)
  • cp and r-elev: c/p ratio and reference elevation for strength profile where undrained strength increases with depth. (option = cp)
  • d: cohesion intercept for Kc=1 envelope used in rapid drawdown analysis
  • \(\psi\): friction angle for Kc=1 envelope used in rapid drawdown analysis
  • u: pore pressure option for effective stress analysis

Pore Pressure Options (column K):

  • piezo: Use piezometric line from piezo worksheet
  • seep: Interpolate from seepage analysis solution (requires mesh and solution files - see Using Seepage Results for Pore Pressures)
  • none: No pore pressure

Variability (for reliability analysis):

  • σ(γ), σ(c), σ(φ), etc.: Standard deviations for probabilistic analysis

sheet_mat2.png

Permeability (for seepage analysis):

  • k1, k2: Major and minor hydraulic conductivity (can be anisotropic)
  • alpha: Orientation angle of permeability tensor
  • kr0, h0: Unsaturated flow parameters (relative conductivity and suction head at which K = kr0)

Typically, alpha = 0 and K1 = Kx and K2 = Ky.

These parameters are defined in more detail in the seepage analysis section.

Stiffness (for FEM analysis):

  • E: Young's modulus
  • ν: Poisson's ratio

Worksheet: profile

sheet_profile.png

The profile worksheet defines the slope geometry using XY coordinates of profile lines are the primary input for all types of analysis (LEM, SEEP, and FEM). Each profile line the top of a soil layer or profile and all of the soil below that line and above all of the lower profile lines is assumed to consist of the material associated with the profile line. The material id listed for each profile line references one of the materials in the material properties table. The material name in row 6 is found by using the material ids in row 5 to look up the name in the second column of the materials table.

To illustrate how profile lines can be used to define the geometry of a slope, consider the following slope with three layers:

profile_lines.png

The profile lines should always be drawn in the order of increasing depth, from top to bottom and the XY coordinates defining the line should be listed from left to right. In the example above, the top profile line has three points, the next line has three points, and the last line has two points. Each line should have at least two points. The bottom of the slope is defined by the Max Depth parameter at the top of the profile worksheet. This defines a horizontal base to the problem. During a limit equilibrium analysis using an automated search algorithm, the failure surface is not allowed to go below this depth. Thus, it can be thought of as a bedrock surface.

The template includes tables for 15 profile lines, organized horizontally. However, you can copy additional tables to the right as needed. There is no limit to the number of profile lines that can be defined. Furthermore, each table includes 20 rows of XY coordinates, but you can add as many rows as needed.

During analysis, xslope uses these lines to:

  1. Construct the ground surface by finding the highest elevation at each x-coordinate
  2. Determine slice geometry when a failure surface is intersected with the profile
  3. Assign material properties to slices based on which layer they fall within
  4. Build polygons for finite element meshing in seepage or FEM analysis

Worksheet: polygon

The polygon worksheet is an alternative to the profile worksheet for defining slope geometry. Instead of describing each soil layer as a left-to-right line, each material zone is described as a closed polygon — a self-contained region with an assigned material. Use whichever method best fits the geometry; do not fill in both the profile and polygon worksheets in the same file.

alt text

Polygons are well suited to geometries that are awkward to express as stacked profile lines, such as:

  • Irregular or dipping bedrock surfaces
  • Lenticular deposits (lens-shaped inclusions) embedded within another material
  • Complex fill geometries such as zoned dam cross-sections
  • Geometry imported from CAD software, which is typically drawn as closed regions

Each polygon is defined in its own table, organized horizontally just like the profile tables. For each polygon you provide:

  • A Material ID in row 5, which references one of the materials in the mat worksheet. As with the profile sheet, the material name in row 6 is filled in automatically by looking up the material ID in the materials table.
  • The polygon vertices as XY coordinates starting in row 8, one vertex per row.

A few rules govern how the vertices are interpreted:

  • Winding order does not matter — vertices may be listed clockwise or counter-clockwise.
  • Polygons are closed automatically — the last vertex is connected back to the first, so you do not need to repeat the starting point.
  • Nesting is detected from the geometry — if one polygon lies entirely inside another (for example a sand lens within a clay deposit), the inner polygon overrides the outer one in the overlap region. No parent/child bookkeeping is required.
  • Each polygon must have at least three vertices, and the polygons together should tile the cross section without overlaps or gaps.

The template includes tables for 15 polygons, organized horizontally, and you can copy additional tables to the right as needed. Each table includes room for many vertices, and you can add as many rows as required.

Unlike the profile worksheet, the polygon worksheet does not use a Max Depth parameter. The overall extent of the model — including the ground surface and the bottom boundary — is derived from the union of all polygons (the domain polygon). The ground surface is taken from the upper edge of that union, and during an automated limit equilibrium search the failure surface is constrained to stay within the domain polygon, which can therefore represent an irregular bedrock surface directly.


Worksheet: piezo

sheet_piezo.png

The piezo worksheet defines piezometric lines for calculating pore water pressures in limit equilibrium analysis for materials in the mat sheet where the pore pressure option is set to "piezo". This option should only be used on soils where effective stress analysis is being used. A piezometric line represents the top of the phreatic surface or water table elevation. Below this line, pore pressures are positive (hydrostatic); above it, they are zero. Pore pressures are calculated using the vertical distance from the piezometric line to the slice base as follows:

piezo.png

It should be noted that the use of a piezometric line is optional for limit equilibrium analysis. XSLOPE can also calculate pore pressures from a finite element seepage analysis solution, which is more accurate and can be used for more complex problems.

The worksheet provides space for two piezometric lines (columns A-B and D-E), which is useful for rapid drawdown analysis:

  • First line (A-B): Steady-state or initial condition water table
  • Second line (D-E): Drawdown condition water table (optional)

Each piezometric line requires at least two XY coordinate pairs The table is formatted for 20 rows, but XY coordinates can be entered beyond the bottom of the table as needed. The points should be ordered from left to right.


Worksheet: circles

sheet_circles.png

The circles worksheet defines circular failure surfaces for limit equilibrium analysis. Circular surfaces are the most common assumption in slope stability analysis and are required for methods like Bishop's Simplified Method and Spencer's Method. XSLOPE supports up to 10 circular failure surfaces, each of which can be analyzed individually or used as starting points when searching for a critical failure surface with a mininum factor of safety using an automated search algorithm.

circles.png

Each row in the circles table specifies one circular failure surface with the following parameters:

  • Xo, Yo: Coordinates of the circle center
  • Option: Method for defining circle size - "Depth", "Radius", or "Intercept"
    • Depth: Specify depth below ground surface at center location
    • Radius: Directly specify circle radius
    • Intercept: Specify a point (Xi, Yi) where circle should pass through
  • Depth, R, Xi, Yi: Associated values depending on option selected

During a limit equilibrium (LEM) analysis, XSLOPE performs the following steps:

  1. Constructs the circular arc geometry from the parameters
  2. Finds intersection points with the ground surface
  3. Divides the arc into slices
  4. Assigns material properties to each slice based on its position

A common problem in limit equilibrium analysis is finding the critical failure surface. The automated search algorithm sometimes converges to a location corresponding to a local minimum of the factor of safety, but this location may not correspond to the global minimum. To find the critical surface, it is common practice to start the search at multiple locations and then analyze the results to identify the critical surface. XSLOPE automates this process by testing each of the defined circle locations when performing an automated search and then continuing to iterate from the location with the lowest factor of safety. When defining multiple circles, a good strategy is to start define one circle passing through the toe of the slope (for steep slopes) and one circle at the base of each soil layer.


Worksheet: non-circ

sheet_noncirc.png

The non-circ worksheet allows definition of arbitrary non-circular failure surfaces. Some slopes include thin layers with especially weak soils. In such cases, a failure surface where much of the surface is confined to the weak layer can be more critical than a circular failure surface. A non-circular failure surface is defined by a set of XY points, listed from left to right. The table is formatted for 20 rows, but extra rows can be added below the table if needed. Generally, the leftmost point is the entry point and the rightmost point is the exit point and both should correspond to the ground suface.

noncircular.png

The worksheet contains three columns:

  • X, Y: Coordinates of points along the failure surface, defined sequentially from left to right
  • Movement: Direction of movement constraint at each point (used in automated search)

Non-circular surfaces can only be used with LEM methods that support non-circular failure surfaces. For the methods supported in XSLOPE, the following table defines which methods support non-circular failure surfaces:

Method Non-circular
Ordinary Method of Slices No
Bishop's Simplified Method No
Janbu Method Yes
Force Equilibrium - Corps of Engineer's Method Yes
Force Equilibrium - Lowe & Karafiath Method Yes
Spencer's Method Yes

For the movement option, the following values are supported:

  • Free: No movement constraint
  • Horizonal: Point moves in the horizontal direction only
  • Fixed: Fixed movement constraint at each point

For the Free option, if the point is the first or last point in the list, the movement constraint is applied such that the point moves left or right along the ground surface. For interior points, the movement constraint is applied such that the point moves in the direction of tangent of the failure surface at that point. This process is described in more detail in the Automated Search Algorithms section.


Worksheet: dloads

sheet_dloads.png

The dloads and dloads (2) worksheets define distributed surface loads applied to the slope. These represent surcharge loads such as traffic, buildings, stockpiled materials, or other surface loading. They are also used with submerged slopes to represent the force of the water on the slope. During limit equilibrium analysis, distributed loads are applied to the top of each slice, which affects either or both of the driving and resisting forces depending on the slope angle and load orientation. The dloads sheet defines loads used in a normal slope stability analysis or the first stage of a rapid drawdown analysis. The dloads (2) sheet defines loads used in the second stage of a rapid drawdown analysis.

Each worksheet is formatted for 6 distributed loads, but additional loads can be added by copying and pasting more tables to the right. Each table is formatted for up to 20 rows, but additional rows can be added below the end of table if necessary.

Each distributed load is defined by a series of points with:

  • X, Y: Coordinates of points along the load distribution line, ordered from left to right
  • Normal: Normal stress (force per unit area) acting perpendicular to the line

At least two points are required to define each load block. The load distribution typically follows the ground surface. The points should be listed in order from left to right. For example, consider the following load distribution:

dist_loads.png

The forces are defined using a unit width perpendicular to the plane of the slope. For the water load, the force at each point would be the unit weight of water multiplied by the height of water above the point in question. For the example shown above, there distributed load would consist of three points, the first two points having the normal force and the last point having a normal force of zero. The surcharge load on the right would be defined by two points with a normal force for each.


Worksheet: reinforce

sheet_reinforce.png

The reinforce worksheet defines soil reinforcement elements such as soil nails, rock anchors, geosynthetic reinforcement, or tiebacks. These elements provide additional resistance to sliding by mobilizing tensile forces along the failure surface. Each reinforcmeent object is represented as a straight line defined by the XY coordinates of the endpoints. Each line also has a set of properties that define the strength of the reinforcement and the pullout length along the line. The Lp1 and Lp2 parameters control the pullout length along the line. The tensile force is assumed to be zero at the end and linearly increasing to Tmax (or Tres for post-peak behavior) at distance of Lp1 from the left end of the line and Lp2 from the right end of the line.

reinforce.png

The template is formatted for up to 20 reinforcement lines (rows 3-22), but additional rows can be added to the table as needed.

Each reinforcement element is defined by:

  • Geometry:

    x1, y1: Start point coordinates
    x2, y2: End point coordinates

  • Strength Properties:

    Tmax: Maximum tensile force that can be mobilized
    Tres: Residual tensile force (for post-peak behavior)

  • Bond Properties:

    Lp1: Pullout bond length at start end
    Lp2: Pullout bond length at end end

  • Stiffness (for FEM analysis):

    E: Elastic modulus of reinforcement
    Area: Cross-sectional area

The pullout lengths (Lp1, Lp2) control how tensile force develops along the reinforcement as described above. Furthermore:

  • If Lp = 0, the end is fully anchored (immediate maximum tension)
  • If Lp > 0, tension develops linearly over the pullout length
  • If the total line length < Lp1 + Lp2, only partial tension is mobilized

For limit equilibrium analysis, xslope assumes that the reinforcement object is flexible and as the slope moves, the force from the reinforcement object is applied parallel to the bottom of the slice, in a direction resisting sliding or failure. Only the Tmax parameter is used in this calculation (Tres is ignored).

For the finite element method, the reinforcement is modeled as a 1D line element with a constant Young's modulus and cross-sectional area. At any point along the line, if the force applied to the line exceeds Tmax, the line is considered to be in failure and the tension is the line is limited to the residual tension Tres.


Worksheet: piles

sheet_piles.png

The piles worksheet defines pile and concrete pier support elements that provide lateral resistance to slope movement. Unlike flexible reinforcement (soil nails, geogrids) which resists movement through tension along the reinforcement axis, piles are rigid structural elements that resist soil movement through lateral shear and bending at the failure surface intersection.

Pile Example

Each pile is represented as a straight line defined by its top and bottom endpoint coordinates. The line geometry supports both vertical piles (\(x_1 = x_2\)) and battered (inclined) piles. The template is formatted for up to 20 piles, but additional rows can be added to the table as needed.

Each pile is defined by:

  • Geometry:

    x1, y1: Pile top coordinates
    x2, y2: Pile tip (bottom) coordinates

  • LEM Properties:

    H: Pile force magnitude per unit width of slope (force/length). If the user has a row of piles at spacing \(S\) with individual capacity \(H_{\text{single}}\), input \(H = H_{\text{single}} / S\).
    \(\theta\): Force angle from horizontal in degrees (positive = upward). If left blank, \(\theta\) is auto-computed as the direction perpendicular to the pile axis (0° for vertical piles).

  • Pile Geometry:

    D: Pile diameter. Required for Ito & Matsui auto-computation of \(H\). Also used by FEM to compute \(I\) and \(Area\) if those columns are left blank.
    S: Center-to-center spacing. Required for Ito & Matsui auto-computation of \(H\). Also required when structural capacity limits (V_cap, M_cap) are specified, since capacity is per-pile and must be compared against the per-pile force F = H × S. Recommended in general so that xslope can report per-pile forces in the summary output.

  • FEM Properties (for FEM analysis):

    E: Young's modulus of pile material
    I: Moment of inertia. If omitted and D is provided, computed for a solid circular section as I = πD4/64.
    Area: Cross-sectional area. If omitted and D is provided, computed for a solid circular section as A = πD2/4.

  • Structural Capacity (optional, LEM & FEM):

    V_cap: Shear capacity of the pile (force units). This is the maximum lateral shear force that the pile cross-section can resist. If provided, the per-pile force \(F_{\text{pile}}\) is capped at this value. Requires S to be specified.
    M_cap: Moment capacity of the pile (force × length units). This is the maximum bending moment the pile can resist. In LEM, the per-pile force is capped at \(M_{\text{cap}} / L_m\), where \(L_m\) is the moment arm from the pressure centroid to the failure surface. In FEM, a plastic hinge forms when the bending moment at any point along the pile reaches \(M_{\text{cap}}\). Requires S to be specified.
    Fixity: Pile head rotational boundary condition for FEM analysis. free (default) = pile head can rotate freely; fixed = zero rotation at pile top (e.g., pile connected to a pile cap or retaining wall). Blank or omitted = free. This parameter has no effect on LEM analysis.

Both V_cap and M_cap are properties of a single pile, not per unit width. When either is specified, xslope computes the per-pile force \(F_{\text{pile}} = H \times S\) and checks it against the structural limits. If the structural capacity governs, the pile force is reduced accordingly before entering the equilibrium equations. If both V_cap and M_cap are blank, the full soil-computed (or user-specified) force is used with no structural limit.

During limit equilibrium analysis, xslope intersects each pile line with the failure surface to find the point where the pile force is applied. The force \(H\) at angle \(\theta\) is resolved into components normal and tangential to the slice base:

  • Normal to base: \(H\sin(\alpha - \theta)\) — increases effective stress, boosting frictional resistance
  • Tangential to base: \(H\cos(\alpha - \theta)\) — directly resists sliding

For methods with moment equilibrium (OMS, Bishop), the pile force also contributes a resisting moment about the circle center. The pile must extend below the failure surface to be effective — if the failure surface does not intersect the pile line, the pile provides no resistance for that surface.

When \(H\) is left blank and \(D\) and \(S\) are provided, xslope auto-computes \(H\) using the Ito & Matsui (1975) method for each trial failure surface. This auto-computation requires vertical piles (\(x_1 = x_2\)). For battered piles, \(H\) must be specified directly.

See the LEM Piles section for detailed equation derivations and the FEM Piles section for the beam element formulation used in finite element analysis.


Worksheet: seep bc

sheet_seepbc.png

The seep bc and seep bc (2) worksheets define boundary conditions for finite element seepage analysis. Boundary conditions specify where water enters or exits the domain and the magnitude of hydraulic head on the boundary. There are two types of boundary conditions: speficied head and exit face. Specified head boundaries correspond to free water on the face of the slope and the magnitude of the head is the height of water above the datum defined for the problem. Exit face boundaries conditions are used for unconfined problems are applied to the "downstream" side of the slope where water exits the slope. In the unconfined seepage solution, the phreatic surface intersects the exit face at some point (exit point) that is determined as part of an iterative solution process. For points on the exit face below the exit point, a head = elevation (zero pressure) condition is applied. For points on the exit face above the exit point, the head is determined by the pore pressure equation.

For a typical unconfined problem, there is one upstream specified head boundary condition and a single downstream exit face. For confied problems, there is typically one upstream and one downstream specified head boundary condition. Additional specified head boundary conditions can be defined to represent the water level in an excavation, etc. The sheet is formatted for one exit face and up to 5 specified head boundaries. Additional specified head boundary conditions can be added by copying and pasting more tables to the right. Each table is formatted for up to 20 rows, but additional rows can be added below the end of table if necessary.

For most analyses, only the main seep bc sheet is used. However, the seep bc (2) sheet is used for rapid drawdown analysis where a second seepage solution is used to calculate the pore pressures corresponding to the drawdown condition.

During seepage analysis, xslope:

  1. Builds a finite element mesh from the profile geometry
  2. Applies specified head values at nodes on the specified head boundaries
  3. Applies exit face conditions where water exits
  4. Solves the Laplace equation (∇·(k∇h) = 0) for hydraulic head at all nodes
  5. Computes pore pressures (u = γw(h - y)) and flow velocities

For coupled seepage-LEM analysis, the computed pore pressures can be exported and later interpolated onto slice bases using the "seep" option in the mat worksheet.

See the Seepage Analysis section for more details and the samples section for sample input files illustrating various boundary conditions


Notes

  • All variables should use consistent units throughout the template (English or metric)
  • Angles are specified in degrees
  • The template is designed to be flexible - you need not fill in all worksheets for every analysis
  • Always check the plot worksheet after entering data to visually verify your geometry
  • Templates can be saved and reused for parametric studies or similar projects