Application | PLAXIS 2D |
Version | PLAXIS 2D 2024.2 and later |
Date created | 07 April 2025 |
Date modified | 07 April 2025 |
Original author | Stefanos Papavasileiou -
Technical Support Group
|
Keywords | PLAXIS, automation, Python, scripting, API, py, cookbook, excavation |
Excavation projects can be challenging, often requiring multiple analyses to capture various scenarios and possibilities in geotechnical numerical analysis.
It is common to expect small variations in geometry, wall embedment length, anchoring and even loading conditions. Ensuring that the model is quickly generated with the right configuration is important to every geotechnical engineer.
This Python script creates a full excavation model by allowing the direct input of specific geometry parameters along with the retaining wall system information. The PLAXIS project covers the creation of the excavation structure, meshing and staged construction phases.
The Python solution calculates the project and provides some specific key results based on what is pre-selected in the script.
Base PLAXIS model containing:
This script has been tested with PLAXIS 2D and Python 3.12.3.
plaxis_2d_parametric_excavation_files.py [Python compressed file]