Solving boundary value problems in geotechnical engineering