Septic drain field

Septic drain fields, also called leach fields or leach drains, are subsurface wastewater disposal facilities used to remove contaminants and impurities from the liquid that emerges after anaerobic digestion in a septic tank. Organic materials in the liquid are catabolized by a microbial ecosystem. 
A septic drain field, a septic tank, and associated piping compose a septic system. 
The drain field typically consists of an arrangement of trenches containing perforated pipes and porous material (often gravel) covered by a layer of soil to prevent animals (and surface runoff) from reaching the wastewater distributed within those trenches. Primary design considerations are both "hydraulic" for the volume of wastewater requiring disposal and "catabolic" for the long-term biochemical oxygen demand of that wastewater. The land area that is set aside for the septic drain field may be called a septic reserve area (SRA).
Sewage farms similarly dispose of wastewater through a series of ditches and lagoons (often with little or no pre-treatment). These are more often found in arid countries as the waterflow on the surface allows for irrigation (and fertilization) of agricultural land.
Design.
Many health departments require a percolation test ("perc" test) to establish the suitability of drain field soil to receive septic tank effluent. An engineer, soil scientist, or licensed designer may be required to work with the local governing agency to design a system that conforms to these criteria.
A more progressive way to determine leach field sizing is by direct observation of the soil profile. In this observation, the engineer evaluates many features of the soil such as texture, structure, consistency, pores/roots, etc.
The goal of percolation testing is to ensure the soil is permeable enough for septic tank effluent to percolate away from the drain field, but fine grained enough to filter out pathogenic bacteria and viruses before they travel far enough to reach a water well or surface water supply. Coarse soils – sand and gravel – can transmit wastewater away from the drain field before pathogens are destroyed. Silt and clay effectively filter out pathogens but allow very limited wastewater flow rates. Percolation tests measure the rate at which clean water disperses through a disposal trench into the soil. Several factors may reduce observed percolation rates when the drain field receives anoxic septic tank effluent:
Catabolic design.
Just as a septic tank is sized to support a community of anaerobic organisms capable of liquefying anticipated amounts of putrescible materials in wastewater, a drain field should be sized to support a community of aerobic soil microorganisms capable of decomposing the anaerobic septic tank's effluent into aerobic water. Hydrogen sulfide odors or iron bacteria may be observed in nearby wells or surface waters when effluent has not been completely oxidized prior to reaching those areas. The biofilm on the walls of the drain field trenches will use atmospheric oxygen in the trenches to catabolize organic compounds in septic tank effluent. Groundwater flow is laminar in the aquifer soils surrounding the drain field. Septic tank effluent with soluble organic compounds passing through the biofilm forms a mounded lens atop the groundwater underlying the drain field. Molecular diffusion controls the mixing of soluble organic compounds into the groundwater and the transport of oxygen from underlying groundwater or the capillary fringe of the groundwater surface, to micro-organisms capable of catabolizing dissolved organic compounds remaining in the effluent plume.
Biofilter.
When a septic tank is used in combination with a biofilter, the height and catabolic area of the drain field may be reduced. Biofilter technology may allow higher density residential construction, minimal site disturbance and more usable land for trees, swimming pools, or gardens. With adequate routine maintenance it may reduce the chances of the drain field plugging up. The biofilter will not reduce the volume of liquid that must percolate into soil, but it may reduce the oxygen demand of organic materials in that liquid.
Operation and maintenance.
Dosing schedules or resting periods.
A drain field may be designed to offer several separate disposal areas for effluent from a single septic tank. One area may be "rested" while effluent is routed to a different area. The nematode community in the resting drain field continues feeding on the accumulated biofilm and fats when the anaerobic septic tank effluent is no longer available. This natural cleansing process may reduce bioclogging to improve the hydraulic capacity of the field by increasing the available interstitial area of the soil as the accumulated organic material is oxidized. The percolation rate after resting may approach, but is unlikely to match, the original clean water percolation rate of the site.
Inappropriate wastes.
Septic tank and drain field microorganisms have very limited capability for catabolizing petroleum products and chlorinated solvents, and cannot remove dissolved metals; although some may be absorbed into septic tank sludge or drain field soils, and concentrations may be diluted by other groundwater in the vicinity of the drain field. Cleaning formulations may reduce drain field efficiency. Laundry bleach may slow or stop microbial activity in the drain field, and sanitizing or deodorizing chemicals may have similar effects. Detergents, solvents and drain cleaners may transport emulsified, saponified or dissolved fats into the drain field before they can be catabolized into short-chain organic acids in the septic tank scum layer.