[Thermo] Handle temperature bounds when setting HP/UV/SP/SV

Depending on whether "enforceTemperatureBounds" is set, either warn
or raise an exception if the bounds are exceeded.
This commit is contained in:
Ray Speth
2026-05-18 22:37:29 -04:00
committed by Ray Speth
parent eac26c8e2e
commit d11c04f4d9
6 changed files with 332 additions and 211 deletions
+1 -1
View File
@@ -56,7 +56,7 @@ def equilSoundSpeeds(gas, rtol=1.0e-8, max_iter=5000):
# Calculate sound speed at a range of temperatures
gas = ct.Solution('gri30_highT.yaml')
gas.X = 'CH4:1.00, O2:2.0, N2:7.52'
T_range = np.arange(300, 5901, 200)
T_range = np.arange(300, 5001, 200)
data = []
print(' T Equilibrium Frozen manual Frozen built-in')
print(' [K] [m/s] [m/s] [m/s]')