Medlea
Benchmarks

Solver verification

Each case compares a LeaFlow result with an analytic solution, a published reference or experimental data. Each case is reported against an acceptance threshold set before the run; the SimInhale airflow case is a cross-code comparison without a threshold. Most met it; where a case did not, it is shown as such. Open cases and known limits are documented in the full dossier, available on request.

Method: lattice Boltzmann. Resolution is given in lattice nodes or grid spacing. Engineering and R&D use.

Summary

CaseMetricMeasured
Single-phase laminar flow
B01 · Pipe flow: steady (Poiseuille) and pulsatile (Womersley) Steady: bulk velocity −0.061 %criterion ≤ 2 %
B02 · Lid-driven cavity, Re = 100 Centreline profiles u / v, RMS error 0.0018 U / 0.0021 Ucriterion ≤ 0.01 U
B05 · FDA benchmark nozzle, throat Re = 500 Centreline points inside the 95 % CI 13/15 (d = 16); 9/15 (d = 32)criterion all 15
Turbulence
B08 · Taylor–Green vortex, Re = 1600 Peak of the dissipation rate +1.30 %criterion ≤ 5 %
Two-phase flow
M1a · Static drop: Laplace law Laplace pressure jump 1.65 % / 0.99 %criterion ≤ 5 %
M1b · Drop in shear flow: small deformation Deformation / theory 1.043 / 1.054criterion ± 10 %
Airway and aerosol
SimInhale-flow · Airflow in the SimInhale airway: comparison with a published URANS solution, 60 L/min Section-mean velocity, 25 sections mean relative deviation 10.1 %; r = 0.970no threshold set
SimInhale · Particle deposition in the SimInhale airway, 15 and 60 L/min Deposited fraction, 4.3 µm 7.4 % (15 L/min, met); 15.3 % (60 L/min, not met)criterion 8 ± 3 %; 26 ± 5 %

Single-phase laminar flow

B01

Pipe flow: steady (Poiseuille) and pulsatile (Womersley)

Checks that the solver reproduces the exact velocity profile, flow rate and wall shear stress in a straight pipe, for steady flow and for an oscillating flow.

Reference. Analytic solutions: Poiseuille; Womersley (1955), J. Physiol. 127:553–563.

MetricMeasured
Steady: bulk velocity −0.061 %criterion ≤ 2 %
Steady: velocity profile, L2 error 0.337 %criterion ≤ 2 %
Steady: wall shear stress, spread around the wall 1.23 %criterion ≤ 5 %
Pulsatile, α = 5 / 10: flow amplitude −0.058 % / +0.081 %criterion ≤ 2 %
Pulsatile, α = 5 / 10: flow phase +0.25° / +0.99°criterion ≤ 2°

Resolution. 40 nodes per diameter; curved wall represented by surface elements.

Steady values identical with the default wall model.

Set-up: periodic pipe cell driven by a body force G(t), steady or pulsatile.
Set-up: periodic pipe cell driven by a body force G(t), steady or pulsatile.
Error against resolution for three wall treatments; the results in the table use surface elements (dark blue). Dashed line: acceptance threshold.
Error against resolution for three wall treatments; the results in the table use surface elements (dark blue). Dashed line: acceptance threshold.
B02

Lid-driven cavity, Re = 100

A standard test of recirculating flow: fluid in a square box driven by a sliding lid, where the shape and position of the main vortex are compared with a high-resolution reference solution.

Reference. Marchi, Suero, Araki (2009), J. Braz. Soc. Mech. Sci. Eng. 31(3):186–198, 1024² grid. Comparison points in the figure: Ghia, Ghia, Shin (1982), J. Comput. Phys. 48:387–411.

MetricMeasured
Centreline profiles u / v, RMS error 0.0018 U / 0.0021 Ucriterion ≤ 0.01 U
Minimum stream function ψ_min −1.27 %criterion ≤ 2 %
Primary vortex centre, distance 0.0010criterion ≤ 1/N = 0.0078
Observed order (N = 32, 64, 128): RMS u, RMS v, ψ_min 1.05, 1.04, 1.00criterion declared order 1
ψ_min, Richardson extrapolation −0.10350 vs −0.10352 (−0.02 %)

Resolution. N = 128 nodes per side; series 32 / 64 / 128 for the order.

Set-up: square cavity, moving lid, three fixed walls.
Set-up: square cavity, moving lid, three fixed walls.
Centreline velocity profiles at N = 32, 64, 128 against the reference.
Centreline velocity profiles at N = 32, 64, 128 against the reference.
B05

FDA benchmark nozzle, throat Re = 500

An interlaboratory benchmark published by the U.S. Food and Drug Administration for medical-device flows: a nozzle with a contraction and a sudden expansion, and the computed jet is compared with the jet measured by several laboratories.

Case. Axisymmetric nozzle: inlet pipe, conical collector, throat, sudden expansion. Newtonian blood-analogue fluid, fully developed inlet profile. Criterion declared before the runs: centreline axial velocity inside the experimental 95 % confidence interval at every measurement point, at the finest resolution.

Reference. Interlaboratory PIV data: Hariharan, Malinauskas, Round Robin 1 Data Sets v2.0, U.S. Food and Drug Administration, doi:10.17917/C78G69. Geometry, conditions and confidence intervals: Stewart et al. (2012), Cardiovasc. Eng. Technol., doi:10.1007/s13239-012-0087-5. Protocol: Hariharan et al. (2011), J. Biomech. Eng. 133:041002.

MetricMeasured
Centreline points inside the 95 % CI 13/15 planes (d = 16); 9/15 (d = 32): refinement moves away from the datacriterion all 15
Points outside the CI at d = 16 z = −0.064 m: +4.9 % (CI ±2.6 %); z = −0.042 m: −9.2 % (CI ±1.2 %)
Jet downstream of the throat at d = 32 jet length 0.126 m vs 0.0878 m; +2.1 % to +11.5 % above the FDA mean

Supporting checks (no threshold set before the run)

MetricMeasured
Mass flow along the nozzle (d = 16) Conserved along the nozzle within 0.04 % (inlet pipe 1.0146, chamber 1.0150 of the nominal mass flow; the 1.5 % offset from nominal comes from the inlet density at Mach 0.1)
Density drop against Mach², ratio between Mach 0.1 and 0.05 on 9 planes 0.239–0.257 (expected 0.25)

Resolution. d = 16 and d = 32 nodes across the throat; Mach 0.1. A d = 16 rerun on the same build reproduces the first within 3.5 × 10⁻⁵, so the change between d = 16 and d = 32 is due to resolution.

The criterion is met at neither resolution; this is a declared limit, not a pass.

Centreline axial velocity: LeaFlow at d = 8, 16 and 32 against the FDA interlaboratory data (mean ± 95 % CI; grey: individual datasets). At d = 16, 13 of 15 points lie inside; the finest resolution, d = 32, gives a longer jet and lies further from the data downstream of the throat (9 of 15). The d = 16 runs with the original and the corrected outlet overlap. The Mach 0.05 line is faded beyond z = 0.06 m, where that solution is not steady (declared limit).
Centreline axial velocity: LeaFlow at d = 8, 16 and 32 against the FDA interlaboratory data (mean ± 95 % CI; grey: individual datasets). At d = 16, 13 of 15 points lie inside; the finest resolution, d = 32, gives a longer jet and lies further from the data downstream of the throat (9 of 15). The d = 16 runs with the original and the corrected outlet overlap. The Mach 0.05 line is faded beyond z = 0.06 m, where that solution is not steady (declared limit).
LeaFlow, d = 16: time-averaged axial velocity on the centreline and across the measurement planes, drawn inside the nozzle.
LeaFlow, d = 16: time-averaged axial velocity on the centreline and across the measurement planes, drawn inside the nozzle.

Turbulence

B08

Taylor–Green vortex, Re = 1600

A standard test of transition to turbulence: an ordered vortex field breaks down into small-scale turbulence, and the rate at which kinetic energy is dissipated is compared with a reference.

Reference. Published DNS, pseudo-spectral, 512³ (high-order CFD workshop case C3.5).

MetricMeasured
Peak of the dissipation rate +1.30 %criterion ≤ 5 %
Time of the dissipation peak, deviation |Δt*| 0.02criterion ≤ 0.3
Kinetic energy over t* = 0–20 within 1.89 % of E_k(0)criterion ≤ 2 % of E_k(0)

Resolution. 256³ nodes.

Reference curve not shown.

Set-up: periodic box, initial vortex field.
Set-up: periodic box, initial vortex field.

Two-phase flow

M1a

Static drop: Laplace law

Checks the surface-tension model: the pressure inside a drop at rest must exceed the pressure outside by the amount set by Laplace's law.

Reference. Analytic Laplace law, Δp = 2σ/R (as in Liu, Valocchi, Kang (2012), Phys. Rev. E 85:046309).

MetricMeasured
Pressure jump across the interface, R = 12 / 16 nodes 1.65 % / 0.99 %criterion ≤ 5 %

Resolution. Drop radius 12 and 16 nodes.

Set-up: drop at rest in a closed box.
Set-up: drop at rest in a closed box.
M1b

Drop in shear flow: small deformation

Checks a deforming interface: a drop stretched by a shear flow must deform as predicted by small-deformation theory.

Reference. Small-deformation relation D = (35/32) Ca, as stated in Liu, Valocchi, Kang (2012), Eq. 42.

MetricMeasured
Deformation / theory, R = 12 / 16 nodes 1.043 / 1.054 (4.3 % / 5.4 %)criterion ± 10 %

Resolution. Effective drop radius 12 and 16 nodes. Drop in simple shear at low Reynolds number (0.1), confinement 2R/H = 0.25.

Set-up: drop between two plates moving in opposite directions.
Set-up: drop between two plates moving in opposite directions.

Airway and aerosol

SimInhale-flow

Airflow in the SimInhale airway: comparison with a published URANS solution, 60 L/min

Compares the airflow computed by LeaFlow in a public, realistic airway geometry with the solution of another published code.

Case. Public SimInhale bench geometry, steady inspiration at 60 L/min. Metric: section-mean air velocity in 25 numbered cross-sections along three paths through the bronchial tree. Cross-code comparison; no acceptance threshold was set in advance, so deviations are reported as measured.

Reference. Spasov, Rossi, Vanossi, Cottini, Benassi (2024), Comput. Biol. Med. 170:107948, Fig. 10(b), doi:10.1016/j.compbiomed.2024.107948: unsteady RANS (k–ω SST), 8.1 M cells. Values read from the figures (both LeaFlow and reference).

MetricMeasured
Sections compared 25, on three paths (A: 1–9, B: 10–15, C: 16–25)
Range of reference values 1.27–9.29 m/s
Mean absolute deviation / root-mean-square deviation 0.37 m/s / 0.47 m/s
Mean relative deviation, all sections; path A / B / C 10.1 %; 11.4 / 14.2 / 6.4 %
Largest relative deviation, single section 25.6 %
Correlation coefficient 0.970

Resolution. Not stated: the plotted values were read from figures and cannot be tied to the grid of a single run.

Reference values digitised from Spasov et al. 2024 (Comput. Biol. Med. 170:107948), Fig. 10b; code-to-code comparison, not measurements.

Limits

  • The reference is another simulation, not measurements.
  • Its authors report agreement with the reference LES only down to the fourth bronchial generation; further downstream the reference itself is not verified.
  • Both curves were read from published or manuscript figures, not taken from raw solver output.
Airflow only (no particles): streamlines computed with LeaFlow in the SimInhale reference airway (public geometry).
Airflow only (no particles): streamlines computed with LeaFlow in the SimInhale reference airway (public geometry).
Left: LeaFlow against the URANS solution of Spasov et al. (2024), one point per section; dashed line: equality. Right: values along the three paths.
Left: LeaFlow against the URANS solution of Spasov et al. (2024), one point per section; dashed line: equality. Right: values along the three paths.
SimInhale

Particle deposition in the SimInhale airway, 15 and 60 L/min

Checks how many inhaled particles deposit: the fraction of particles of a given size that deposits in the airways is compared with in-vitro bench data.

Case. Public SimInhale bench geometry: oral cavity, pharynx, larynx, trachea and bronchial tree down to branches of about 3 mm, ten outlets. No patient data. Steady inspiration; particles of density 914 kg/m³ released at the mouth. Metric: fraction deposited in the airways (mouth–throat + tracheobronchial), as a percentage of the released particles, at 4.3 µm, with a check at 1 µm. Uncertainty: binomial statistical error. Criteria fixed and recorded before each run.

Reference. In-vitro deposition as reported by Koullapis et al. (2018), Eur. J. Pharm. Sci. 113:77–94, Fig. 12, doi:10.1016/j.ejps.2017.09.003 (values read from the figure). Experimental method: Lizal et al. (2015), Proc. IMechE H 229(10):750–757, doi:10.1177/0954411915600005.

MetricMeasured
15 L/min, 4.3 µm (reference about 8 %) 7.4 ± 0.5 %, of which mouth–throat 2.5 %criterion 8 ± 3 %, mouth–throat > 0
15 L/min, 1 µm 1.2 ± 0.2 %criterion ≤ about 3 %
60 L/min, 4.3 µm (reference 26 %) 15.3 ± 0.6 %: not metcriterion 26 ± 5 %, mouth–throat > 0
60 L/min, 1 µm 1.8 ± 0.2 %criterion ≤ about 5 %
60 L/min, 4.3 µm, grid series 0.74 / 0.37 / 0.25 mm 6.1 / 11.2 / 15.3 %: not converged, no extrapolation

Resolution. Uniform spacing 0.25 mm, one GPU.

Limits

  • At 15 L/min the comparison rests on one reference point, read from a figure, and on one grid: convergence at this flow rate is not shown.
  • At 60 L/min the deposited fraction still changes with the grid; the comparison is not resolved at the resolution of a single GPU.
  • At 60 L/min, with the wall-treatment setting first registered as the reference (air velocity read 0.43 mm from the wall instead of 0.123 mm, as in the 15 L/min run), the value is 10.0 ± 0.5 %; the criterion is not met with either setting.
  • Wall resolution (y⁺) and density checks of the 15 L/min run are not yet reported.
Numerical deposits on the SimInhale benchmark geometry at settled inlet flow, 60 L/min (top) and 15 L/min (bottom), for particles of 1, 4.3 and 10 µm; one dot per deposited particle, frontal view. The pale outlet chambers belong to the bench model, not to the airway: deposits there are not shown and not counted. Deposit locations are compared with the experiment only through the regional totals in the table, not site by site.
Numerical deposits on the SimInhale benchmark geometry at settled inlet flow, 60 L/min (top) and 15 L/min (bottom), for particles of 1, 4.3 and 10 µm; one dot per deposited particle, frontal view. The pale outlet chambers belong to the bench model, not to the airway: deposits there are not shown and not counted. Deposit locations are compared with the experiment only through the regional totals in the table, not site by site.
Airway deposition against particle diameter at 60 and 15 L/min (LeaFlow, 0.25 mm grid, binomial error bars) with the in-vitro data (Lizal et al. 2015, as reported by Koullapis et al. 2018) and the LES reference of Koullapis et al. 2018. Reference values read from the published figures. At 60 L/min the criterion at 4.3 µm is not met and the result still changes with the grid.
Airway deposition against particle diameter at 60 and 15 L/min (LeaFlow, 0.25 mm grid, binomial error bars) with the in-vitro data (Lizal et al. 2015, as reported by Koullapis et al. 2018) and the LES reference of Koullapis et al. 2018. Reference values read from the published figures. At 60 L/min the criterion at 4.3 µm is not met and the result still changes with the grid.

Scope

  • Two-phase cases (M1a, M1b): colour-gradient model, density and viscosity ratio 1, serial runs. The parallel version of the two-phase model is not covered by these results.
  • Errors are relative to the reference unless a unit is given.
  • Deposition results are compared with in-vitro data in a bench geometry; they are not clinical results.
  • Source: internal verification and validation dossier and internal study, not peer reviewed.