Compressible Flow Calculator
Public Domain Aeronautical Software (PDAS)
Compressible Flow Calculator
This calculator is an aid in making calculations in compressible fluid dynamics, such as isentropic flow, normal shock, oblique shock, Rayleigh and Fanno flow. A page allows computation of the standard atmosphere at a given altitude and Mach number.
There are several colored buttons across the top of the form. If you click on a button, a computing page appears for the desired calculation. There will be one or more input boxes to be filled in and choices that can be made about which input quantity is to be specified.
After making your choices, click the Compute button and the desired results will appear in a window.
You may dismiss the calculator by closing the browser tab.
To return to this page, press the Main Page button.
To go to the Public Domain Aeronautical Software home page, click here.
Ratio of Specific Heats (gamma)
You may set the value of gamma, the ratio of specific heats of the gas to be computed. The default value is 1.4
gamma =
Isentropic Flow
Select the input quantity. Then type the value of the desired quantity in the input box. Finally, click (or tap) the Compute button to display the Output. Illegal values will be flagged with error messages.
Normal Shock
Select the input quantity. Then type the value of the desired quantity in the input box. Finally, click (or tap) the Compute button to display the Output. Illegal values will be flagged with error messages.
| Input Quantity | Output Data | ||
|---|---|---|---|
| Upstream Mach Number | Upstream Mach number, M1= | ||
| Downstream Mach Number | Downstream Mach Number, M2= | ||
| total pressure ratio, pt2/pt1 | total pressure ratio, pt2/pt1= | ||
| Static pressure ratio, p2/p1 | static pressure ratio, p2/p1 = | ||
| static temperature ratio, T2/T1 | static temperature ratio, T2/T1 = | ||
| static density ratio, ρ2/ρ1 | static density ratio, ρ2/ρ1 = | ||
| pt2/p1 = | |||
| gamma = |
Input value
Oblique Shock
Select the input quantity. Then type the value of the desired quantity in the input box. Next, type the value of the upstream Mach number in its input box. Finally, click (or tap) the Compute button to display the output. Illegal values will be flagged with error messages.
| Input Quantity | Output data | ||
|---|---|---|---|
| Ramp angle, δ, deg. (weak) | Ramp angle, deg., δ = | ||
| Ramp angle, δ deg. (strong) | Shock angle, deg, θ = | ||
| Shock angle, θ, deg. | total pressure ratio, pt2/pt1= | ||
| total pressure ratio, pt2/pt1 | static pressure ratio, p2/ p1 = | ||
| static pressure ratio, p2/p1 | static temperature ratio, T2/T1 = | ||
| static temperature ratio, T2/T1 | static density ratio, ρ2/ ρ1 = | ||
| static density ratio, ρ2/ρ1 | pressure coeff., (p2-p1)/q = | ||
| downstream Mach number, M2 | downstream Mach number, M2 = | ||
| upstream normal Mach number, M1n | M1n = | ||
| gamma = |
Input value
Upstream Mach number
Rayleigh Flow
Select the input quantity. Then type the value of the desired quantity in the input box. Finally, click (or tap) the Compute button to display the output. Illegal values will be flagged with error messages.
| Input Quantity | Output data | ||
|---|---|---|---|
| Mach Number | Mach number, M = | ||
| Tt/Tt* (M < 1) | total temperature ratio, Tt / Tt* = | ||
| Tt/Tt* (M > 1) | static temperature ratio, T / T* = | ||
| T/T* (M < 0.85) | static pressure ratio, p / p * = | ||
| T/T* (M > 0.85) | total pressure ratio, Pt / Pt* = | ||
| p/p* | velocity ratio, V / V* = | ||
| P0/P0* (M < 1) | static density ratio, ρ / ρ* = | ||
| P0/P0* (M > 1) | Smax / R = | ||
| V/V* | gamma = | ||
| ρ / ρ* |
Input value
Fanno Flow
Select the input quantity. Then type the value of the desired quantity in the input box. Finally, click (or tap) the Compute button to display the output. Illegal values will be flagged with error messages.
| Input Quantity | Output data | ||
|---|---|---|---|
| Mach Number | Mach number, M = | ||
| T / T* | static temperature ratio, T/T* = | ||
| P/P* | static pressure ratio, P/P* = | ||
| Pt / Pt* (M<1) | total pressure ratio, Pt/Pt* = | ||
| Pt / Pt* (M>1) | density ratio, ρ / ρt = | ||
| V/V* | velocity ratio, V / V* = | ||
| (fLmax/D) (M < 1) | fLmax/D = | ||
| (fLmax/D) (M > 1) | Smax/R = | ||
| gamma = |
Input value
Atmosphere
Public Domain Aeronautical Software (PDAS)