From d3ba2db4551c5f8e63f58aaebc3382a9ad5504b7 Mon Sep 17 00:00:00 2001 From: Flight Test Engineering Date: Mon, 6 Jan 2025 20:09:27 -0500 Subject: [PATCH] Update high_bypass_turbofan.py Proposed fix for [issue #78](https://github.com/OpenMDAO/pyCycle/issues/78) SolverWarning can be avoided by having off-design points that are closer together (in terms of Mach and Altitude for this case). --- example_cycles/high_bypass_turbofan.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/example_cycles/high_bypass_turbofan.py b/example_cycles/high_bypass_turbofan.py index 64de995..b61964b 100644 --- a/example_cycles/high_bypass_turbofan.py +++ b/example_cycles/high_bypass_turbofan.py @@ -436,7 +436,7 @@ def setup(self): prob.set_solver_print(level=-1) prob.set_solver_print(level=2, depth=1) - flight_env = [(0.8, 35000), (0.7, 35000), (0.4, 35000), + flight_env = [(0.8, 35000), (0.7, 35000), (0.55, 35000), (0.4, 35000), (0.4, 20000), (0.6, 20000), (0.8, 20000), (0.8, 10000), (0.6, 10000), (0.4, 10000), (0.2, 10000), (0.001, 10000), (.001, 1000), (0.2, 1000), (0.4, 1000), (0.6, 1000), @@ -476,4 +476,4 @@ def setup(self): print() - print("Run time", time.time() - st) \ No newline at end of file + print("Run time", time.time() - st)