Anyone used robot structural analysis to calculate underground objects like well's, tunnels, reservoirs? How you discretize soil around objects? How to divide soil in finite elements?

Any ideas?