Open-source geotechnical engineering application for analyzing laterally loaded piles, modeled after the industry-standard L-Pile program.
๐ Live Demo: (https://mjamiv.github.io/pile-designer/)
- Non-linear pile analysis using P-Y curve methods
- Finite difference solver with Newton-Raphson iteration
- Client-side computation via Pyodide (Python in browser)
- Interactive visualization of results
- Open source and free to use
- Frontend: React + TypeScript + Vite
- Computation: Pyodide (Python + NumPy/SciPy in WebAssembly)
- Visualization: Plotly.js (planned)
- Deployment: GitHub Pages
- Node.js 18+
- npm
# Clone the repository
git clone https://github.com/mjamiv/piledesigner.git
cd piledesigner
# Install dependencies
npm install
# Start dev server
npm run devThe application will be available at http://localhost:3000
npm run buildThe built files will be in the dist/ directory.
pile-designer/
โโโ src/
โ โโโ components/ # React components
โ โโโ engine/ # Pyodide loader & Python solver
โ โโโ types/ # TypeScript type definitions
โ โโโ App.tsx # Main application
โ โโโ main.tsx # Entry point
โโโ public/ # Static assets
โโโ index.html # HTML template
Laterally loaded piles are analyzed using the beam-column equation:
EI ยท dโดy/dxโด + P ยท dยฒy/dxยฒ + p(y) = 0
Where:
y(x)= lateral deflection at depth xEI= flexural rigidityP= axial loadp(y)= soil reaction (from P-Y curves)
- Finite Difference Method: Discretize pile into nodes
- Newton-Raphson Iteration: Solve non-linear system
- P-Y Curves: Matlock (soft clay), Reese (stiff clay), API (sand)
- Project setup and basic UI
- Pyodide integration
- Basic finite difference solver
- Full P-Y curve implementations
- Interactive Plotly charts
- Soil profile builder
- Multiple load cases
- PDF report generation
- GROUP analysis (pile groups)
Contributions are welcome! Please feel free to submit a Pull Request.
MIT License - see LICENSE file for details
- Matlock, H. (1970). Correlations for Design of Laterally Loaded Piles in Soft Clay
- Reese et al. (1975). Field Testing and Analysis of Laterally Loaded Piles in Stiff Clay
- API RP2A (2014). Recommended Practice for Planning, Designing and Constructing Fixed Offshore Platforms
This project is inspired by L-Pile (Ensoft Inc.) and aims to provide an open-source alternative for educational and professional use.