Coupled water and heat transport in nonuniform soils