In this blog, you can find some handy codes in the programming environments listed below:
Excel VBA (Macro): Excel spreadsheets are widely used in all consulting and construction firms. Geotechnical engineers use Excel to carry out their design analysis as well as data analysis. Several useful macros are shared here to facilitate the use of Excel for geotechnical-related analyses.
C++ Code: Common geotechnical design methods are formulated within C++ programming framework and uploaded for your use. The codes might be more applicable for academic purposes.
OPENSEES Tcl Code: I believe that due to the complexity of geotechnical problems, geotechnical engineers should use advanced numerical approaches instead of traditional simplified methods. OPENSEES is a powerful software that can be utilized for this purpose. Some Tcl files for analyzing continuum model of common geotechnical problems (e.g., pile, bridge system) are available to download here.
Please write comments if you find anything incorrect, or you want to share more information about the topics discussed in the links above.