ConstantDynamicPressureVelocity:

Path: ACPro/ACPerformance

% Computes the velocity and Mach profile for constant dynamic pressure.
 
 Computes the velocity and Mach number profile for constant dynamic
 pressure as a function of altitude and desired dynamics pressure.
 This function uses StdAtm. This profile is useful for ramjets
 and scramjets. 

 For speed, if using in a loop, pass it atmData which can be loaded 
 with the operation:

 atmData = load('AtmData.txt');

 Type ConstantDynamicPressureVelocity for an example with a dynamic
 pressure of 7000 N/m^2.

--------------------------------------------------------------------------
   Form:
   [v, mach] = ConstantDynamicPressureVelocity( h, q, atmData )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   h         (1,:) Altitude (km)
   q         (1,1) Dynamic pressure (N/m^2)
   atmData   (1,:) File name for standard atmosphere

   -------
   Outputs
   -------
   v         (1,:) Velocity (m/s)
   mach      (1,:) Mach number

--------------------------------------------------------------------------

Children:

Common: Atmosphere/StdAtm
Common: Graphics/PlotDoubleYAxis

Back to the ACPro Module page