Hemodialysis - 3D Treatment Bay

A dialysis machine, blood pump and hollow-fibre dialyzer: watch urea leave the blood and read the dose (URR, Kt/V).

Switch to 2D

Presets

Playback

Dialyzer and machine

Flows, dialyzer size, time and fluid removal; the session restarts.

Patient

Size, starting urea and urea generation.

Camera

Quality

Layers

Model checks

The science

The dialyzer: a counter-current exchanger

Blood flows up thousands of hollow fibres while dialysate flows down around them. Urea crosses the membrane at a rate set by the local concentration difference, dCb/dx = −(KoA/Qb)(Cb − Cd) and dCd/dx = −(KoA/Qd)(Cb − Cd), with fresh dialysate (Cd = 0) entering at the blood outlet end. The solution is the clearance K = Qb(eZ − 1) / (eZ − Qb/Qd) with Z = KoA(1/Qb − 1/Qd). The page also integrates the two equations numerically along 200 segments (Runge-Kutta, shooting on the dialysate inlet) and shows both numbers. Raising Qb helps less and less because the membrane, not the pump, becomes the limit - see the third graph.

The patient: one urea pool with generation and ultrafiltration

The body is treated as one well-mixed pool of water V = 0.55 × weight. Urea is generated at a constant rate G and removed by the dialyzer; the removed fluid (ultrafiltration, UF) also shrinks the pool: d(VC)/dt = G − KtotC, dV/dt = −Quf, with Ktot = K + Quf(1 − K/Qd). Dose is reported as URR = 1 − Cend/C0, as the simple Kt/V = K t / V, and with the second-generation Daugirdas formula Kt/V = −ln(R − 0.008 t) + (4 − 3.5R) UF/W (R = post/pre urea, t in hours, UF in L, W in kg), which corrects for urea generated during the run and for the volume removed.

Honest simplifications: urea only (no potassium, phosphate or middle molecules); a single well-mixed pool here, so rebound is ignored - the 2D companion adds a second, intracellular pool; the dialyzer is drawn at twice life size so the fibres are visible, and 48 fibres stand for roughly 10,000; no blood recirculation, access flow limits, clotting or membrane fouling; typical adult values (urea generation 0.15 mmol/min, KoA 400-1,600 mL/min, Daugirdas 2 formula) are illustrative and not clinical advice. This is an educational model, not a prescription tool.

What to try
  • Press Slow blood pump (200) and watch the red dots leave the dialyzer carrying more urea; then Fast pump, double dialysate for the opposite.
  • In the third graph, move along a curve: doubling Qb from 200 to 400 mL/min raises K by far less than a factor of two.
  • Use Pump and screen to read the live machine display, and Dialyzer close-up to see the yellow-green urea cross the membrane.
  • Set Heavy fluid removal: the UF cylinder fills and Kt/V (Daugirdas II) rises above the plain K t / V.
Loading Blender model...
Blood urea through the session
Urea along the dialyzer fibre
Clearance against blood flow (diminishing returns)
Made with 🟠 Blender · Three.js