Potential flow past a spinning cylinder — a TI-84 Plus CE program
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.
| Step | Value |
|---|---|
| You enter | |
| Input 1 | 10 |
| Input 2 | 0.5 |
| Input 3 | 0 |
| Input 4 | 1.2 |
| Input 5 | 90 |
| 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
- Open the library in the TI-84 Plus CE calculator and pick “Potential flow past a spinning cylinder” (CYLFLOW).
- Put it on your own calculator with a computer and a USB cable, or type it in by hand.
Related programs
- Pipe friction: Colebrook, Darcy-Weisbach
- Pipe network: series + parallel
- Venturi meter and Pitot tube
- Open channel: Manning, critical depth
- Hydraulic jump
All TI-84 Plus CE engineering programs · All TI-84 Plus CE programs