Investigation of controls on secondary circulation in a simple confluence geometry using a three-dimensional numerical model