TotalPressureAndTemperature:

Path: ACPro/ACEngine

% Computes the total pressure and temperature at a Mach number.
 Computes the total pressure and temperature given a pressure and 
 temperature of a gas flow at Mach number m.

 Type TotalPressureAndTemperature for a demo at 10 km altitude.
--------------------------------------------------------------------------
   Form:
   [p0, t0] = TotalPressureAndTemperature( p, t, gamma, m )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   p       (1,1)   Pressure
   t       (1,1)   Temperature
   gamma   (1,1)   Ratio of specific heats
   m       (1,:)   Mach number

   -------
   Outputs
   -------
   p0      (1,:)   Total pressure
   t0      (1,:)   Total temperature

--------------------------------------------------------------------------
   Reference:  Benson, T. J., "An Interactive Educational Tool for 
               Turbojet Engines," May 1995, NASA Lewis Research Center
--------------------------------------------------------------------------

Children:

AerospaceUtils: AtmosphericCalculations/AtmGamma
Common: Atmosphere/StdAtm
Common: Graphics/Plot2D

Back to the ACPro Module page