Quantcast

Documentation Center

  • Trial Software
  • Product Updates

dpressure

Compute dynamic pressure using velocity and density

Syntax

q = dpressure(v, r)

Description

q = dpressure(v, r) computes m dynamic pressures, q, from an m-by-3 array of velocities, v, and an array of m densities, r. v and r must have the same length units.

Examples

Determine dynamic pressure for velocity in feet per second and density in slugs per feet cubed:

q = dpressure([84.3905  33.7562  10.1269], 0.0024)


q =

   10.0365

Determine dynamic pressure for velocity in meters per second and density in kilograms per meters cubed:

q = dpressure([25.7222 10.2889 3.0867], [1.225  0.3639])


q =

  475.9252
  141.3789

Determine dynamic pressure for velocity in meters per second and density in kilograms per meters cubed:

q = dpressure([50 20 6; 5 0.5 2], [1.225  0.3639])


q =

  1.0e+003 *

    1.7983
    0.0053

See Also

|

Was this topic helpful?