Python for Geotechnical Engineers

Automate Geotechnical Workflows

GeotechPython has been created to help geotechnical engineers learn and lead the transition to coding within their organisations.

Build practical, auditable geotechnical workflows in Python designed for real projects and real design reviews.

2 Live Tracks
EC7 Compliant
100% Free to Read
bearing_capacity_ec7.py
# EC7 DA1 — Combination 1
import math

# Characteristic soil parameters
phi_k_deg = 34.0 # φ' (°)
c_k = 0.0 # c' (kPa)
B = 10.0 # width (m)

# DA1C1 partial factors
gamma_G = 1.35
gamma_Q = 1.50

# Bearing capacity factors
phi_d = math.radians(phi_k_deg)
Nq = math.exp(math.pi * math.tan(phi_d))
utilisation = Vd / Rd
▶ Output
Design_approach : EC7 DA1C1
Vd_kN : 4800.0
Rd_kN : 19284.3
utilisation : 0.249
✓ PASS — UC 0.25

━ SOUNDS FAMILIAR?

Every geotechnical engineer
has been here


━ WHY GEOTECHPYTHON

Code that a reviewer
can sign off on

01
Transparent assumptions
Every variable has a name. Every partial factor is explicit. No hidden formula chains — just clean, readable Python that traces directly back to the code clause.
02
Reusable, not one-off
Write a bearing capacity check once, run it for 50 load cases in seconds. The workflow scales; the spreadsheet doesn't.
03
Built for practitioners
Every post comes from real project experience. No toy examples — just the patterns that actually appear in foundation design, GI interpretation, and FEM automation.

━ LEARNING TRACKS

Choose where to start

Four structured tracks, each focused on a real part of geotechnical practice. Follow one or mix as your work demands.

Track 01 Live
AGS Data &
GI Interpretation
Read, validate, and summarise ground investigation data. Build traceable pipelines from raw AGS files to clean design model inputs.
Track 02 Live
Auditable
Calculations
Settlement, bearing capacity, retaining walls — coded with explicit assumptions and structured logs a senior engineer can sign off.
Track 03 Coming
PLAXIS
Automation
Script your FEM models. Automate input, batch parameter studies, extract results — with QA governance built in from day one.
Track 04 Coming
Automated
Reporting
Generate and update large geotechnical reports directly from Python — tables, summaries, and appendices rebuilt automatically every time your data changes.

━ LATEST POSTS

What's been published


━ NEWSLETTER

Weekly Newsletter

Get practical Python workflows in your inbox

Written for practising engineers. No filler. Every email has a script, a concept, or a workflow you can use on a real project.

Free download on signupAGS to Pandas Cheat Sheet, the essential commands for cleaning GI data
No spam. Unsubscribe any time.
Scroll to Top