Foundation (engineering)
A foundation is the element of a structure which connects it to the ground, and transfers loads from the structure to the ground. Foundations are generally considered either shallow or deep. Foundation engineering is the application of soil mechanics and rock mechanics (Geotechnical engineering) in the design of foundation elements of structures.
Deep foundation
A main consideration regarding timber piles is that they should be protected from rotting above groundwater level. Timber will last for a long time below the groundwater level. For timber to rot, two elements are needed: water and oxygen. Below the groundwater level, dissolved oxygen is lacking even though there is ample water. Hence, timber tends to last for a long time below groundwater level. In 1648, the Royal Palace of Amsterdam was constructed on 13659 timber piles that still survive today since they were below groundwater level. Timber that is to be used above the water table can be protected from decay and insects by numerous forms of wood preservation using pressure treatment (alkaline copper quaternary (ACQ), chromated copper arsenate (CCA), creosote, etc.).