Skip to content

Commit 9157fdf

Browse files
committed
update engine geometry sizing
1 parent ae7da91 commit 9157fdf

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

tut_mission_B737.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
)
2525

2626
from SUAVE.Methods.Propulsion.turbofan_sizing import turbofan_sizing
27+
from SUAVE.Methods.Geometry.Two_Dimensional.Cross_Section.Propulsion import compute_turbofan_geometry
2728
from 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

0 commit comments

Comments
 (0)