We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce49d7f commit 9a9aaa0Copy full SHA for 9a9aaa0
Nozzle/nozzle_design.py
@@ -14,7 +14,7 @@
14
from scipy.integrate import simps
15
from pyswarm import pso
16
17
-#from noelle import *
+from noelle import *
18
19
# Defining mathematical parameters and operations
20
sqrt = math.sqrt
@@ -889,7 +889,7 @@ def funct(L):
889
index_i = find_nearest(self.xGeometry, x_i)
890
index_f = find_nearest(self.xGeometry, x_f) + 1
891
892
- y = self.gasH*(np.pi*2*self.yGeometry)*(self.temperatureFunction - self.wallTemperatureFunction)
+ y = self.gasH*(np.pi*2*self.yGeometry)*(self.temperatureFunction - T_sat)
893
Q_total = simps(y[index_i: index_f], self.xGeometry[index_i: index_f])
894
895
Q_total = Q_total*(L)/(self.xGeometry[index_f-1] - self.xGeometry[index_i])
0 commit comments