Foundation (engineering)
Foundations are designed to have an adequate load capacity depending on the type of subsoil/rock supporting the foundation by a geotechnical engineer, and the footing itself may be designed structurally by a structural engineer. The primary design concerns are settlement and bearing capacity. When considering settlement, total settlement and differential settlement is normally considered. Differential settlement is when one part of a foundation settles more than another part. This can cause problems to the structure which the foundation is supporting. Expansive clay soils can also cause problems.
Geotechnical engineering
A geotechnical engineer then determines and designs the type of foundations, earthworks, and/or pavement subgrades required for the intended man-made structures to be built. Foundations are designed and constructed for structures of various sizes such as high-rise buildings, bridges, medium to large commercial buildings, and smaller structures where the soil conditions do not allow code-based design.