Orifice flowmeter
Orifice meter run: ASME B16.36 weld-neck orifice flange pair (class 300 minimum, 1.5 in minimum thickness) with paddle plate with a bored orifice (beta prop) and a stamped tab, spiral-wound gaskets, studs and jack screws. Flange taps 1 in from each face (the opposite pair plugged) feed root valves and close-coupled tubing to a 5-valve manifold and DP transmitter. Upstream and downstream straight lengths are set in pipe diameters.
Installation
Copies instruments/orifice-flowmeter.tsx and the shared lib/ into src/components/deck-twin/. Needs three, @react-three/fiber and @react-three/drei. See installation for the manual route.
Usage
import { Canvas } from '@react-three/fiber'
import { OrbitControls } from '@react-three/drei'
import { Stage } from './components/deck-twin/lib/stage'
import { OrificeFlowmeter } from './components/deck-twin/instruments/orifice-flowmeter'
export default function Scene() {
return (
<Canvas shadows camera={{ position: [8, 5, 9], fov: 35 }}>
<Stage>
<OrificeFlowmeter />
</Stage>
<OrbitControls makeDefault />
</Canvas>
)
}
Props
| Prop | Type | Default | Range |
|---|---|---|---|
nps | number (NPS, in) | null | |
rating | 150 | 300 | 600 | 900 | 1500 | 2500 | null | |
beta | number | null | 0.2 – 0.75 |
upstream | number (D) | null | 2 – 20 |
downstream | number (D) | null | 2 – 10 |
housing | "actuatorBlue" | "stainless" | "aluminium" | "equipmentPaintDark" | null | |
tag | string | null | |
...group | position, rotation, scale… |
P&ID
Two short parallel bars across the line (the orifice flanges with the plate between them), tagged FE, with two taps to an FT or FIT bubble. Some legends draw a single bar, or a box around the line with a diagonal.
With no transmitter and tag RO or FO it is a restriction orifice, not a meter. Venturi and flow nozzle are drawn as a converging / diverging outline instead. A flanged meter run with 10D / 5D straight lengths and a flow conditioner is still this element. ISA codes here: FO = restriction orifice.
npsratingbetaupstreamdownstreamtagFor agents
Machine-readable entry with props, ranges, defaults and ports:
Or fetch /r/orifice-flowmeter.json, or copy a ready-made instruction:
Add the Deck Twin "Orifice flowmeter" component to this project. Run `npx -y https://decktwin.com/cli/deck-twin-0.2.2.tgz add orifice-flowmeter` (it copies the file and the shared lib into src/components/deck-twin/), then `npx -y https://decktwin.com/cli/deck-twin-0.2.2.tgz info orifice-flowmeter` for its props, ranges and ports. Render <OrificeFlowmeter /> inside a React Three Fiber <Canvas shadows>, wrapped in <Stage> from src/components/deck-twin/lib/stage. Set props from my data (metres, NPS in inches, ASME class) and leave the rest at defaults. Install three, @react-three/fiber, @react-three/drei and @types/three if they're missing. Full guide: https://decktwin.com/skill/SKILL.md