We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 66d9c8d + a57bf58 commit 8a03180Copy full SHA for 8a03180
1 file changed
pycycle/elements/flight_conditions.py
@@ -1,6 +1,7 @@
1
import openmdao.api as om
2
3
from pycycle.thermo.cea import species_data
4
+from pycycle.thermo.cea import thermo_data
5
from pycycle.constants import THERMO_DEFAULT_COMPOSITIONS
6
from pycycle.elements.ambient import Ambient
7
from pycycle.elements.flow_start import FlowStart
@@ -115,7 +116,7 @@ def setup(self):
115
116
des_vars.add_output('dTs', 0.0, units='degR')
117
118
- fc = p1.model.add_subsystem("fc", FlightConditions())
119
+ fc = p1.model.add_subsystem("fc", FlightConditions(thermo_data=thermo_data.wet_air))
120
121
p1.model.connect('des_vars.W', 'fc.W')
122
p1.model.connect('des_vars.alt', 'fc.alt')
0 commit comments