Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "aerodynamics/betaFromTheta"

Index

Type aliases

Functions

Type aliases

WeakOrStrongShock

WeakOrStrongShock: 0 | 1

Functions

betaFromTheta

  • betaFromTheta(mach: number, theta: number, n?: WeakOrStrongShock, y?: number): number
  • Calculate the oblique shock wave angle (β) for a given deflectoin angle (θ) and Mach number. The source for this analytic solution can be found here.

    Parameters

    • mach: number

      Mach number for which you want to obtain the value of beta

    • theta: number

      Deflection angle

    • Default value n: WeakOrStrongShock = 0

      Return weak (0) or strong (1) shock data

    • Default value y: number = 1.4

      Ratio of specific heats of the gas used

    Returns number

Generated using TypeDoc