E-Code

Potential flow past a spinning cylinder — a TI-84 Plus CE program

By E-Code · updated

CYLFLOW is a TI-BASIC program for the TI-84 Plus CE. Uniform stream, doublet and vortex: surface pressure coefficient and speed at any angle, Kutta-Joukowski lift, and the stagnation points.

What it asks for and what it shows

It asks for 5 values at its prompts. In the example below it shows GAM*, CP, V SURF, LIFT, STAG1, STAG2.

Example run

One of its oracle test cases: “no circulation, top of cylinder (Cp = -3)”. The inputs are typed in order, and the results are the values the case expects on the screen.

StepValue
You enter
Input 110
Input 20.5
Input 30
Input 41.2
Input 590
The screen shows
GAM*=0
CP=-3
V SURF=20
LIFT=0
STAG1=0
STAG2=180

How it's checked

4 test cases, each checked against an independent method. Replayed key by key on a virtual TI-84 Plus CE, they make 26 checks.

How E-Code checks every program

Run it or put it on your calculator

Related programs

All TI-84 Plus CE engineering programs · All TI-84 Plus CE programs