# Impeller A centrifugal impeller for a pump or a blower: vanes curved backward, radial or forward, running from the eye to the rim and tapering in height on the way. It is open (vanes on the hub alone), semi-open (on a back plate) or closed (between a back plate and a front shroud), with splitter vanes, a hub and a bore. ```js import { impeller } from '@fluidcad/airfoils'; ``` ## Use ```js // A closed pump impeller: six backward-curved vanes with splitters between // them, on a Ø6 hex bore. impeller({ splitters: true, shroud: "closed", plate: 2, bore: "hex", boreDiameter: 6 }); // A blower wheel: twelve radial vanes on a back plate, turning clockwise. impeller({ vanes: 12, diameter: 120, eye: 50, vaneShape: "radial", inletHeight: 20, outletHeight: 20, hand: "cw" }); // A squirrel-cage wheel: many short forward-curved vanes. impeller({ vanes: 24, diameter: 100, eye: 80, vaneShape: "forward", inletAngle: 60, outletAngle: 30, vaneThickness: 1, hubDiameter: 20 }); // On the end face of a motor's shaft, 30 up, centred on it. impeller(select(face().onPlane("xy", 30)), { diameter: 60, eye: 24, bore: "none" }); ``` `impeller(at, { vanes, diameter, eye, vaneShape, inletAngle, outletAngle, inletHeight, outletHeight, vaneThickness, splitters, splitterStart, shroud, plate, hubDiameter, hubLength, bore, boreDiameter, flat, hand, offset, phase, flip })`. It adds by default (`.new()` keeps it a body of its own). **Where it stands.** `at` is optional: left out, go straight to the options. Nothing is the XY plane at the origin, the axis along Z. A planar face (at its centre for a round face), an axis or a connector gives its own plane and axis; a cylindrical face is refused. The vanes stand on that plane and the eye faces out along its normal. The back plate lies under the plane, so on a face it sinks into the stock: `offset` equal to `plate` stands the plate on the face instead. `phase` turns the vanes about the axis and `flip` faces the eye the other way. **The vanes.** The blade angle β is measured between the vane and the tangent of its circle. It runs evenly from `inletAngle` (β1) at the eye to `outletAngle` (β2) at the rim. A backward-curved vane trails behind the rotation, a radial one runs straight out, and a forward-curved one turns into the rotation at the rim (its β2 is measured on its own side of the tangent). The vanes are `inletHeight` high at the eye and `outletHeight` at the rim, straight between, and the front shroud of a closed impeller sits on that line. ## Values | Value | Default | What it does | |---|---|---| | `at` | none | Where it stands (above). | | `vanes` | 6 | How many, 2 to 24. | | `diameter` | 80 | The rim's. | | `eye` | 30 | The eye's diameter, where the vanes start. Well inside the rim (under 0.9 of it). | | `vaneShape` | `"backward"` | `"backward"` (pumps, efficient blowers), `"radial"` (straight, runs either way round) or `"forward"` (squirrel-cage blowers). | | `inletAngle` | 25 | Degrees, β1: the vane's angle to the tangent at the eye. 5 to 90. Not used by radial vanes. | | `outletAngle` | 30 | Degrees, β2: at the rim, on the vane's side. 5 to 90. Not used by radial vanes. | | `inletHeight`, `outletHeight` | 12, 6 | The vanes' height at the eye and at the rim. | | `vaneThickness` | 2 | The vanes' thickness. They must leave room between them at the eye. | | `splitters` | `false` | A short vane between each pair, on the same curve. | | `splitterStart` | 50 | Where the splitters start, % of the way from the eye to the rim. 10 to 90. | | `shroud` | `"semi"` | `"open"` (vanes on the hub, run in to it), `"semi"` (a back plate) or `"closed"` (a back plate and a front shroud). | | `plate` | 2 | The back plate's thickness, and the front shroud's. | | `hubDiameter` | 14 | The hub's diameter, smaller than the eye (than the rim, on an open impeller). | | `hubLength` | 0 | The hub's length from the back of the plate. 0 takes it up to the vanes' height at the eye. | | `bore` | `"round"` | `"none"`, `"round"`, `"dflat"` or `"hex"`, through the hub. | | `boreDiameter` | 5 | The bore's diameter; across the flats for a hex. | | `flat` | 2 | D flat: from the axis to the flat, between 0 and the bore's radius. | | `hand` | `"ccw"` | Which way it turns seen from the eye: `"ccw"` or `"cw"`. | | `offset` | 0 | Along the axis. | | `phase` | 0 | Degrees: turns the vanes about the axis. | | `flip` | `false` | Faces the eye the other way. | ## Frames | Frame | Where it is | |---|---| | `axis` | Origin on the axis on the back face of the plate (an open impeller's: of the hub). Z along the axis out of the back, away from the eye, X the direction a `phase` of 0 measures from. `phase` and `offset` move the impeller on the frame, never the frame. | `connector("axis", i.frame("axis"))` makes it a connector in a part file. ## Buckets | Bucket | What it holds | |---|---| | `startFaces` | The back: the plate's back face. On an open impeller, the hub's back and the vanes' undersides. | | `sideFaces` | The vanes, the hub, the plate's top and rim, and the front shroud. | | `internalFaces` | The bore. | There are no `endFaces`: the eye's side ends on the hub's top, the vanes' tops or the shroud, all `sideFaces`. ## As a part `impellerPart` is the impeller as a part an assembly inserts, with the same values by id (all but `at`: the assembly places it) and the same dialog, under **Generate Parts**: ```js import { impellerPart } from '@fluidcad/airfoils'; const wheel = insert(impellerPart, { shroud: "closed", bore: "hex", boreDiameter: 6 }); mate("revolute", pump.connectors.shaftEnd, wheel.connectors.axis); ``` | Connector | Where it is | |---|---| | `axis` | The `axis` frame. A plain mate on a connector pointing out of a shaft's end or a casing's back wall seats the plate's back on it, with no `.flip()`. |