From a938bc7d6ca9e85ac3f92873baaaca8a4f5b08a2 Mon Sep 17 00:00:00 2001 From: jcchin Date: Wed, 9 Oct 2013 16:14:33 -0400 Subject: [PATCH] Fixed Issue #3 'R' to 'degR' --- src/pycycle/flowstation.py | 4 ++-- src/pycycle/start.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/pycycle/flowstation.py b/src/pycycle/flowstation.py index b1f6320..0c4db68 100644 --- a/src/pycycle/flowstation.py +++ b/src/pycycle/flowstation.py @@ -46,7 +46,7 @@ class AirFlowStation(VariableTree): reactants=["Air", "H2O"] ht=Float(0.0, desc='total enthalpy', units='Btu/lbm') - Tt=Float(0.0, desc='total temperature', units='R') + Tt=Float(0.0, desc='total temperature', units='degR') Pt=Float(0.0, desc='total pressure', units='lbf/inch**2') rhot=Float(0.0, desc='total density', units='lbm/ft**3') gamt=Float(0.0, desc='total gamma') @@ -57,7 +57,7 @@ class AirFlowStation(VariableTree): FAR =Float(0.0, desc='fuel to air ratio') WAR =Float(0.0, desc='water to air ratio') hs=Float(0.0, desc='static enthalpy', units='Btu/lbm') - Ts=Float(0.0, desc='static temperature', units='R') + Ts=Float(0.0, desc='static temperature', units='degR') Ps=Float(0.0, desc='static pressure', units='lbf/inch**2') rhos=Float(0.0, desc='static density', units='lbm/ft**3') gams=Float(0.0, desc='static gamma') diff --git a/src/pycycle/start.py b/src/pycycle/start.py index 0bed79a..97ea41f 100644 --- a/src/pycycle/start.py +++ b/src/pycycle/start.py @@ -10,7 +10,7 @@ class FlowStart(CycleComponent): W = Float(1, iotype="in", desc="mass flow rate", units="lbm/s") Pt = Float(14.7, iotype="in", desc="total pressure", units="psi") - Tt = Float(518, iotype="in", desc="total temperature", units="R") + Tt = Float(518, iotype="in", desc="total temperature", units="degR") Mach = Float(.1, iotype="in", desc="Mach Number") Fl_O = FlowStation(iotype="out", desc="outgoing flow at the specified conditions", copy=None) @@ -25,7 +25,7 @@ class FlowStartStatic(CycleComponent): W = Float(1, iotype="in", desc="mass flow rate", units="lbm/s") Ps = Float(14.7, iotype="in", desc="total pressure", units="psi") - Ts = Float(518, iotype="in", desc="total temperature", units="R") + Ts = Float(518, iotype="in", desc="total temperature", units="degR") Mach = Float(.1, iotype="in", desc="Mach Number") Fl_O = FlowStation(iotype="out", desc="outgoing flow at the specified conditions", copy=None)