zeroSecQ: zeroSecQ

Description Usage Arguments Value References See Also Examples

View source: R/zeroSecQ.R

Description

Uses the zero secondary discharge method of rotation to calculate secondary velocities within a cross-section

Usage

1
zeroSecQ(ve, vn, vu, cellHeight, cellWidth, transectHeading)

Arguments

ve

Vector of east velocities within cells

vn

Vector of north velocities within cells. Must be the same length as ve.

vu

Vector of vertical velocities within cells. Must be the same length as ve.

cellHeight

Vector of cell heights. Must be the same length as ve.

cellWidth

Vector of cell Widths. Must be the same length as ve.

transectHeading

Compass heading of transect, assumes transect begins at river right and heads towards river left.

Value

Returns a data.frame with within cell discharge perpendicular to cross-section (qx), within cell discharge parallel to cross-section (qy), within cell discharge in the primary flow direction (qp), within cell discharge in the secondary flow direction (qs), velocity in the primary direction (vp.zsq), velocity in the secondary direction (vs.zsq), compass heading of primary velocity (vpHeading.zsq), within cell compass heading of secondary velocity (vsHeading.zsq), and arithmetic heading of within cell secondary velocity (vsArithmeticHeading.zsq).

References

Lane, S.N., K.F. Bradbrook, K.S. Richards, P.M. Biron, and A.G. Roy. 2000. Secondary circulation cells in river channel confluences: Measurement artefacts or coherent flow structures? Hydrological Processes 14:2047-2071.

See Also

xSec.

Examples

1
2
3
4
data(cellVels)
velSub <- cellVels[transectName == "t1",,]
tHeading <- transectHeading(velSub$UTM_X_Proj, velSub$UTM_Y_Proj, velSub$Vel.E, velSub$Vel.N, velSub$cellDepth)
zsq <- zeroSecQ(velSub$Vel.E, velSub$Vel.N, velSub$Vel.up, velSub$cellHeight, velSub$cellWidth, tHeading)

jasonfischer/rivSurveyR documentation built on May 18, 2019, 5:54 p.m.