proptools.nozzle_test module¶
Unit tests for nozzle flow.
-
class
proptools.nozzle_test.PressureFromEr(methodName='runTest')¶ Bases:
unittest.case.TestCaseUnit tests for nozzle.pressure_from_er and nozzle.er_from_p
-
test_inverse()¶ Test that pressure_from_er is the inverse of area_from_mach.
-
test_rpe_3_3()¶ Test against example problem 3-3 from Rocket Propulsion Elements.
-
-
class
proptools.nozzle_test.TestCStar(methodName='runTest')¶ Bases:
unittest.case.TestCaseUnit tests for nozzle.c_star.
-
test_hh_1_3()¶ Test against example problem 1-3 from Huzel and Huang.
-
-
class
proptools.nozzle_test.TestMachArea(methodName='runTest')¶ Bases:
unittest.case.TestCaseUnit tests for nozzle.area_from_mach.
-
test_gamma_sonic()¶ Test that the sonic area ratio is 1, across range of gamma.
-
test_inverse()¶ Test that mach_from_area_subsonic is the inverse of area_from_mach.
-
-
class
proptools.nozzle_test.TestMachFormEr(methodName='runTest')¶ Bases:
unittest.case.TestCaseUnit tests for nozzle.mach_from_er.
-
test_hh_1_12()¶ Test mach_from_er against H&H figure 1-12
-
-
class
proptools.nozzle_test.TestMachFromPr(methodName='runTest')¶ Bases:
unittest.case.TestCaseUnit tests for nozzle.mach_from_pr.
-
test_rpe_3_1()¶ Test mach_from_pr against RPE figure 3-1.
-
-
class
proptools.nozzle_test.TestMassFlow(methodName='runTest')¶ Bases:
unittest.case.TestCaseUnit tests for nozzle.mass_flow.
-
test_rpe_3_3()¶ Test against example problem 3-3 from Rocket Propulsion Elements.
-