Skip to content

Getting started

cSlope in the browser

The templates at app.cslope.com, what they model and what they do not, how to read F, and what to do with the downloads.

app.cslope.com analyzes a slope from a template, in the browser, without installing anything. You fill in a form; the page draws the section and computes F with the cSlope engine on your own computer. The parameters travel only in the page's address, so a link you share carries them and opens the same section.

Warning

This is a template calculation. Check the model and the result before you use them in a design.

The templates

Choose the template at the top of the page. The address carries its name (t=excavation or t=embankment); a link without it opens the excavation.

  • Excavation. An excavation of depth H with a slope 1:n and a flat bottom, in level ground. Without a bottom width it is one-sided, its bottom as wide as the model needs; with a bottom width b it is a trench: the bottom is b wide and the opposite side rises 1:n to the ground. Behind the crest an optional haul road: a fill with sides 1:2.5, its own Mohr-Coulomb material (c′, φ′) and a traffic load q over its top.
  • Embankment on clay. An embankment of height h with a crest of width B and both sides 1:n, on level ground, of a Mohr-Coulomb (drained) fill. An optional load q over the crest.

Both have:

  • Layers, from the ground down, each with its thickness and a material model, named as in the app: Undrained (Su, constant, or increasing with depth when you fill in the Su increase rate), Mohr-Coulomb (c′ and φ′) or Impenetrable (bedrock). The layers stack down from the ground level: the first starts at the ground, each one at the bottom of the one above, and the model's base is the ground level less all the thicknesses. A layer is at least 0.05 m thick; in the excavation a layer can end exactly at the excavation bottom (an excavation down to the top of a layer) but not closer than 0.05 m to it otherwise, and the last layer ends at least 0.05 m below it (the message says how thick the layers must be in all). Each layer's header shows its model, its thickness with its levels ("13.5 m (−1.5 to −15 m)") and its strength, and has buttons to move the layer up or down and to insert a new layer above it (1 m thick); since the layers are thicknesses, the layers below follow. + Add layer adds one 5 m thick at the bottom. After you remove a layer, or press Reset to defaults, the line under the result card's buttons says so with Undo for a few seconds ("Removed Clay. Undo"); Undo brings the layer back in its place, with all its values and its color, or every field as it was before the reset. Each layer has a Color, one of 14 swatches (the first six are the app's material colors), used in the drawing and written into the analysis document, so that the app shows the same colors.
  • A ground-water level, a horizontal line. Empty for a dry slope. By default it is cut at the ground: where the level is above the ground, the water follows the ground surface and seeps out of the slope, and no free water stands on it. With Free water above ground (ponding) checked, the water above the ground stands as ponded water up to the level (in the excavation, or beside the embankment) and its weight acts on the ground. Under an embankment the level may stand above the ground, up to the crest; a level above the crest is refused.

One unit weight γ per material applies above and below the water. The values are checked against the same limits as in the app's Materials window (for example γ above 0, φ′ from 0 to below 90°, c′ and φ′ not both 0), and Su must be above 0. The excavation opens with typical values, so that the page computes F at once: a trench H = 3 m deep with sides 1:1 and a bottom 2 m wide, through a crust (Mohr-Coulomb, c′ 15 kPa, φ′ 0°, γ 18 kN/m³, 1.5 m) over a clay (Undrained, Su 18 kPa increasing by 1.2 kPa/m, γ 16.5 kN/m³, 2 m) over sand (Mohr-Coulomb, c′ 0, φ′ 38°, γ 20 kN/m³, 5.5 m, down to 3H below the ground), the ground water 1 m below the ground, and a haul road 0.3 m high, 4 m wide and 1 m behind the crest (c′ 0, φ′ 38°, γ 20 kN/m³) with a traffic load of 20 kPa. Replace them with your own. The embankment's strengths and unit weights have no default: its fields stay empty until you fill them in. F is computed once every required field is. The page runs the analysis by itself a moment after each change, and the section drawing follows as you type.

What the template decides for you

  • The model's extent. Each side reaches 1.5 times the model's depth beyond the slope (in a trench, beyond its opposite side), and at least 3 times its height.
  • The model's base is the last layer's bottom, the ground level less the layers' thicknesses, treated as firm ground; it is never extended. When it is less deep than recommended (3H below the ground for the excavation; 3h, or half the embankment's width at its foot B + 2nh, for the embankment), a note under the form says so: if the soil continues deeper, enter its real bottom, since a deeper base can give a lower F. In a uniform clay under a flat slope, F keeps falling as the clay gets deeper. In the excavation the last layer must end below the excavation bottom.
  • The search limits. In the excavation, slip surfaces enter on the ground (and the road) behind the crest and exit anywhere from the crest to the model's right edge, in the face or the bottom; in a trench, from the crest to the far end of the bottom, so that no surface exits beyond the trench. On the embankment, they enter on the embankment (its crest and its far side) and exit anywhere from the crest's edge to the right edge: in the face, at the toe or on the ground beyond it. An embankment fill with a low φ′ and no cohesion can govern by a shallow slide in its face, with F close to tan φ′/tan β. The haul road's sides are flat (1:2.5) so that such a slide down them does not govern for usual fills.
  • The options of a new model in the app: Morgenstern-Price with a half-sine interslice function, 30 slices, the circular search with composite surfaces along bedrock (Analysis options, Slip surface search). The excavation adds an automatic tension crack (the embankment has none, since in its cohesionless fill a crack would raise F): its depth from the soil at each surface's entry, and at a base steeper than 65°, so that a steep entry that would need tension at the base is cut off (Tension crack).
  • The direction. The slope slides to the right, as drawn. The embankment is symmetric, so its left side has the same F.

Limitations

The templates model only the sections above:

  • No free geometry: no other outline, no sloping ground or layers, no second slope, berm or ditch, no imported drawings.
  • No reinforcement: no anchors, nails, geosynthetics or piles.
  • No finite element analysis, no probabilistic or sensitivity analysis, no 3D correction, no seismic coefficients.
  • Water only as a level: cut at the ground, or with Free water above ground (ponding) standing above the ground up to the level; no piezometric lines per material, no pore pressure ratio, no drawdown.
  • Loads only where the template puts them: the haul road's traffic load, the load on the crest.
  • Characteristic values only: no partial factors, so F is always a factor of safety. For a check on design values, with partial factors on the strength and the loads, use the app or the Python package.

The limitations of the program apply too: a two-dimensional limit equilibrium analysis per meter run, which finds the lowest F among the surfaces it tries.

Reading the result

The result card shows F with three decimals, labeled Minimum factor of safety. The page computes F on characteristic values: the strengths and the loads as you typed them, without partial factors. Design values with partial factors are for the app and the Python package.

Under F: the method, the critical surface's entry and exit points, the surface (a circle's center and radius) and the number of surfaces searched. The drawing shows the critical surface in red with its slices. It always reaches down to the model's base, drawn as a thick dashed line labeled Firm base, so that you see how deep the model goes; across, it shows the slope and the critical surface with some ground around them, not the model's whole width.

The page does not show the engine's warnings; the app does. The excavation uses an automatic tension crack, so that steep entries relying on tension at the base are cut off (Troubleshooting).

While a new analysis runs, the last result stays in view, dimmed and marked Previous result. A field marked in red says what is wrong with it; the status line says how many fields are still empty. On a phone, a bar at the bottom keeps F in view, with a small picture of the section; tap it to see the drawing across the screen, and close it with the × (or Escape).

Copy link copies the page's address, which holds the template and every field you filled in.

Download JSON saves the analysis document of the section (cslope-excavation.json or cslope-embankment.json): the model and the options in the engine's own format ("format": "cslope-analysis"). It runs with the command line of the cslope Python package and gives the same F as the page:

cslope analyze cslope-embankment.json

The command comes with the Python package: pip install cslope (see Python).

Download .cslp saves the section as a cSlope project (cslope-excavation.cslp or cslope-embankment.cslp), which the cSlope app opens to go on with it, for example to add reinforcement or another analysis. The project has one model, named after the template, with the layers in their colors, the options of the template and the result shown on the page: the app opens it with that result, current, and its own run of the model gives the same F. A horizontal ground-water level becomes a piezometric line across the model at that level, which gives the same pore pressures. While the analysis has not finished (or after a change, before the new F shows), the project is saved without a result and the page says so; the app computes F when you run the model there. The page loads the part of the engine that writes projects (about 0.4 MB) only when you download one. Get the cSlope app leads to the download page.

The cSlope app cannot open the JSON file: it opens project files (.cslp). Its Open dialog also offers .json, for projects saved by older versions; the analysis document is not one, and opening it there ends with the message Unable to open project: File must include at least one model. Use Download .cslp to go on in the app.

Suggest a change to this page