X-Mozilla-Keys:
Perry Mick wrote:
Hi Paul, I've been doing a similar analysis lately, deriving
all the formulas in a spreadsheet, but I would like to have
the programs you're talking about, they fit in with what I'm
doing.
--
Perry
These will probably run in a DOS window if you have quick BASIC.
If not I can zip it and send it to you.
'accfan.bas
DEFDBL A-Z
CLS
OneHP = 550 'ft lb sec
FlatPlate = 3
HP = 120
GrossWt = 1200
TimeStep = .05
MPH = 1
OPEN "accfan.txt" FOR OUTPUT AS #1
PRINT #1, " Sea level"
PRINT #1, " Time MPH Drag Prop Eff Thrust Acc Distance"
FOR TimeOne = .1 TO 20 STEP TimeStep
FPS = MPH * (88 / 60)
ThrustFan = 299 - (((299 - 250) / 60) * MPH)
Drag = (.0026) * MPH ^ 2 * FlatPlate
AccGs = (ThrustFan - Drag) / GrossWt
AccFPS = AccGs * 32
FPS = FPS + (AccFPS * TimeStep)
MPH = FPS * (60 / 88)
PropEff = (ThrustFan / ((HP * 550) / FPS)) * 100
DeltaDist = FPS * .5 * TimeStep
Dist = Dist + DeltaDist
IF MPH - INT(MPH) < .1 THEN GOSUB printit
IF MPH > 60 THEN GOTO EndIt
NEXT
EndIt:
CLOSE
SHELL "more < accfan.txt"
SYSTEM
printit:
PRINT #1, USING "###.#"; TimeOne;
PRINT #1, USING "#####.#"; MPH;
PRINT #1, USING "#####.#"; Drag;
PRINT #1, USING "#######"; PropEff;
PRINT #1, USING "#########"; ThrustFan;
PRINT #1, USING "#####.##"; AccGs;
PRINT #1, USING "#######"; Dist
RETURN
'accprop.bas
DEFDBL A-Z
CLS
OneHP = 550 'ft lb sec
FlatPlate = 3
HP = 82
GrossWt = 1200
TimeStep = .05
MPH = 1
OPEN "accprop.txt" FOR OUTPUT AS #1
PRINT #1, " Sea level"
PRINT #1, " Time MPH Drag Prop Eff Thrust Acc Distance"
FOR TimeOne = .1 TO 20 STEP TimeStep
FPS = MPH * (88 / 60)
ThrustProp = 315 - (((315 - 259) / 60) * MPH)
Drag = (.0026) * MPH ^ 2 * FlatPlate
AccGs = (ThrustProp - Drag) / GrossWt
AccFPS = AccGs * 32
FPS = FPS + (AccFPS * TimeStep)
MPH = FPS * (60 / 88)
PropEff = (ThrustProp / ((HP * 550) / FPS)) * 100
DeltaDist = FPS * .5 * TimeStep
Dist = Dist + DeltaDist
IF MPH - INT(MPH) < .1 THEN GOSUB printit
IF MPH > 60 THEN GOTO EndIt
NEXT
EndIt:
CLOSE
INPUT z$
SHELL "more < accprop.txt"
SYSTEM
printit:
PRINT #1, USING "###.#"; TimeOne;
PRINT #1, USING "#####.#"; MPH;
PRINT #1, USING "#####.#"; Drag;
PRINT #1, USING "#######"; PropEff;
PRINT #1, USING "#########"; ThrustProp;
PRINT #1, USING "#####.##"; AccGs;
PRINT #1, USING "#######"; Dist
RETURN
Paul Lamar
The Aircraft Rotary Engine Newsletter. Powered by Linux.
http://home.earthlink.net/~rotaryeng/ http://www.linux.org