Heart Hemodynamics (3D)

A Blender cut-away heart driven by the same lumped model as the 2D page: chambers swell and squeeze, valves open and shut, blood flows through lungs and body.

Presets

Playback

Heart muscle

Circulation

Valves

Septal defects and speed

Camera

Layers

Quality

Model check

The science

The model: four pumps in a closed loop

The heart is four chambers (LA, LV, RA, RV) joined by four valves to two circuits in series, the lungs and the body. Every chamber is a time-varying elastance: its pressure is P(t) = E(t) (V − V0) with E(t) = Ed + (Ees − Ed) e(t). The activation e(t) rises smoothly from 0 to 1 during systole (a half-cosine of length Ts ≈ 0.335 √T) and relaxes again, and the atria fire about 0.18 s before the ventricles (the P-R delay). A stiffer or stronger muscle simply means a larger Ed or Ees; the straight lines in the pressure-volume graph are the end-systolic (ESPVR) and end-diastolic (EDPVR) lines of the left ventricle.

Valves, vessels and mass balance

A vessel is a compliance: P = (V − V0)/C. Resistances carry Q = ΔP/R (systemic Rsys, pulmonary Rpul). A valve is a one-way orifice following the Gorlin relation ΔP = Rlin Q + Q|Q| / (44.3 A)2 with A in cm2 and Q in mL/s, so a stenotic valve (small A) needs a pressure gradient growing as Q2. A regurgitant valve leaks through a second orifice when the pressure difference reverses. Holes in the septum (ASD between the atria, VSD between the ventricles) are the same orifice between two chambers. The eight volumes obey dVi/dt = Qin − Qout, integrated with fourth-order Runge-Kutta at 0.5 ms; the sum of all volumes is conserved exactly.

The 3D model

The heart, vessels, valves, lungs and body bed were modelled in Blender as separate named parts. The chambers are cut open at the front so you can see the blood lumen inside: each chamber and its blood scale with the simulated volume (cube root of volume), the muscle flushes during contraction, valve discs close down to a small opening when blood flows through, and the particles in the vessels move in proportion to the simulated flow. The geometry is schematic (a flattened four-chamber layout), but every number on screen comes from the same model as the 2D page.

What the numbers mean

Stroke volume SV = EDV − ESV (net of any leak), cardiac output CO = SV × HR, ejection fraction EF = SV/EDV, and the area enclosed by a pressure-volume loop is the stroke work ∮ P dV (1 mmHg mL = 1.333×10-4 J). Mean arterial pressure follows MAP − CVP = CO × SVR, the Ohm's law of the circulation. Qp:Qs compares the flow through the lungs with the flow through the body: 1.0 normally, above 1.5 for a significant left-to-right shunt. The yellow graph is the Frank-Starling / cardiac function curve: output rises with filling because a more filled ventricle is pushed further along its EDPVR, then saturates; failing hearts (low Ees) flatten the curve.

Honest simplifications

(1) The valves and vessels have no blood inertia, so there is no water-hammer, no pressure wave reflection and no dicrotic notch. (2) Chambers are linear in volume (no exponential passive curve), the two ventricles do not interact mechanically through the septum, and there are no coronary flows. (3) The systemic circuit has a single arterial and a single venous compartment, so the pressures are lumped values. (4) Baroreflexes are absent: heart rate, resistance and venous tone are what you set, not what the body would do. (5) The ECG is a schematic synthetic trace locked to the model's activation times, not a body-surface simulation. (6) The numbers are textbook-typical for an adult at rest (about 5 L/min, 120/80 mmHg), not a patient. This page is educational and not for diagnosis.

Model checks in this page

(1) the total blood volume is conserved to round-off over 30 beats; (2) in a steady state the flow through the systemic resistance computed from mean pressures, (P̄ao − P̄vs)/Rsys, equals the aortic valve output per beat; (3) the Gorlin valve area recovered from the simulated peak flow and gradient matches the area that was set.

Loading model...
Loading Blender model...
Pressures: left ventricle, aorta, left atrium, right ventricle, pulmonary artery
Pressure-volume loops (ventricles) with LV ESPVR and EDPVR
Valve and body flows
Cardiac function curve: output against blood volume
Made with 🟠 Blender · Three.js