File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change 2424)
2525
2626from SUAVE .Methods .Propulsion .turbofan_sizing import turbofan_sizing
27+ from SUAVE .Methods .Geometry .Two_Dimensional .Cross_Section .Propulsion import compute_turbofan_geometry
2728from SUAVE .Input_Output .Results import print_parasite_drag , \
2829 print_compress_drag , \
2930 print_engine_data , \
@@ -51,7 +52,7 @@ def main():
5152 results = mission .evaluate ()
5253
5354 # print weight breakdown
54- print_weight_breakdown (configs .base ,filename = 'weight_breakdown .dat' )
55+ print_weight_breakdown (configs .base ,filename = 'B737_weight_breakdown .dat' )
5556
5657 # print engine data into file
5758 print_engine_data (configs .base ,filename = 'B737_engine_data.dat' )
@@ -547,6 +548,12 @@ def vehicle_setup():
547548 #size the turbofan
548549 turbofan_sizing (turbofan ,mach_number ,altitude )
549550
551+ #computing the engine length and diameter
552+ compute_turbofan_geometry (turbofan ,None )
553+
554+ print "sls thrust : " ,turbofan .sealevel_static_thrust
555+ print "engine length : " ,turbofan .engine_length
556+
550557 # add gas turbine network gt_engine to the vehicle
551558 vehicle .append_component (turbofan )
552559
You can’t perform that action at this time.
0 commit comments