Skip to content
This repository has been archived by the owner on Aug 27, 2019. It is now read-only.

Commit

Permalink
Fixed Issue #3 'R' to 'degR'
Browse files Browse the repository at this point in the history
  • Loading branch information
jcchin committed Oct 9, 2013
1 parent 60632d2 commit a938bc7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/pycycle/flowstation.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand All @@ -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')
Expand Down
4 changes: 2 additions & 2 deletions src/pycycle/start.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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)
Expand Down

0 comments on commit a938bc7

Please sign in to comment.