proptools.isentropic_test module¶
Unit test for isentropic relations.
-
class
proptools.isentropic_test.TestStagDesnityRatio(methodName='runTest')¶ Bases:
unittest.case.TestCaseUnit tests for isentropic.stag_density_ratio
-
test_sonic()¶ Check the ratio when Mach=1.
-
test_still()¶ Check that the ratio is 1 when Mach=0.
-
-
class
proptools.isentropic_test.TestStagPressureRatio(methodName='runTest')¶ Bases:
unittest.case.TestCaseUnit tests for isentropic.stag_pressure_ratio
-
test_sonic()¶ Check the ratio when Mach=1.
-
test_still()¶ Check that the ratio is 1 when Mach=0.
-
-
class
proptools.isentropic_test.TestStagTemperatureRatio(methodName='runTest')¶ Bases:
unittest.case.TestCaseUnit tests for isentropic.stag_temperature_ratio
-
test_sonic()¶ Check the ratio when Mach=1.
-
test_still()¶ Check that the ratio is 1 when Mach=0.
-
-
class
proptools.isentropic_test.TestVelocity(methodName='runTest')¶ Bases:
unittest.case.TestCaseUnit tests for isentropic.velocity.
-
test_equal_pressure()¶ Test that the velocity is the same if the pressure is the same.
-
test_rpe_3_2()¶ Test against example problem 3-2 from Rocket Propulsion Elements.
-