obliqueshock {viadam}R Documentation

Characteristics of an oblique shock

Description

Computes the deflecting angle, shock thickness, downstream velocity and downstream momentum flux for an oblique shock as functions of shock angle and Froude number.

Usage

 
obliqueshock(teta,Fr)

Arguments

teta shock angle.
Fr Froude number.

Value

obliqueshock returns a dataframe containing the variables teta (shock angle), phi (deflecting angle), delta (difference between teta and phi, i.e. width of the stream along the deflecting wall), h2ph1 (relative change in flow depth across the shock), u2pu1 (relative change in flow speed across the shock) and h2u2ph1u1 (relative change in momentum flux across the shock). These variables have the same number of elements as teta or Fr. The Froude number is returned as the attribute Fr of the list.

Note

The angle teta is given in radians and so are all angles that are returned by the function.

This function returns the theoretically exact oblique shock solution, which represents both the weak and strong shocks, so that the shock angle teta is a double valued function of the deflecting angle phi.

Author(s)

Tomas Johannesson

See Also

obliquenshock and mxphi.

Examples

## Not run: 
obliqueshock(22*pi/180,7)
## End(Not run)

[Package viadam version 1.0 Index]