Skip to content
DimensionLab

SunaSPHCPU · f64

Body-force channel flow of generalised-Newtonian fluids against the exact steady profile

On an Intel Core i7-11700F CPU, Suna reproduces the steady channel velocity of power-law, Bingham, Carreau, Cross and Casson fluids against the exact 1D profile: RMS error 0.53-0.83 % of the centre-line speed at 40 particles across the gap, and 1.2 % for the Newtonian case at 20 particles (gate 1.8 %); f64, 2026-11-27.

Particles coloured by streamwise velocity
Pass
17 of 17 gates met
0.012RMS velocity error, Newtonian fluid, 20 particles across the gap (fraction of centre-line speed) · gate |x| ≤ 0.018
67 %
Reference
M. Papanastasiou
Hardware
Intel Core i7-11700F
Solver version
Suna 0.1.0+27df4c72
Grid
2D, 10, 20 and 40 particles across the 1 mm gap, periodic length 16…

Results

Figures from the run.

Power-law n = 0.5 profile vs the 1D reference

Power-law n = 0.5 profile vs the 1D reference

Bingham profile vs the 1D reference

Bingham profile vs the 1D reference

RMS error at N = 10, 20, 40

RMS error at N = 10, 20, 40

Metrics and gates

Each gate is fixed before the run. The bar shows how much of its allowance a metric uses: the line marks the gate, so a bar past it fails. A metric without a gate is reported for context and does not decide the verdict.

MetricValueGateAllowance usedResult
RMS velocity error, Newtonian fluid, 10 particles across the gap (fraction of centre-line speed)0.0205|x| ≤ 0.0368 %✓ pass
RMS velocity error, Newtonian fluid, 20 particles across the gap (fraction of centre-line speed)key0.012|x| ≤ 0.01867 %✓ pass
RMS velocity error, Newtonian fluid, 40 particles across the gap (fraction of centre-line speed)0.00607not gatedreported onlyreported
RMS velocity error, power law n = 0.5 fluid, 10 particles across the gap (fraction of centre-line speed)0.103|x| ≤ 0.15567 %✓ pass
RMS velocity error, power law n = 0.5 fluid, 20 particles across the gap (fraction of centre-line speed)0.0359|x| ≤ 0.05466 %✓ pass
RMS velocity error, power law n = 0.5 fluid, 40 particles across the gap (fraction of centre-line speed)0.00832not gatedreported onlyreported
RMS velocity error, power law n = 0.75 fluid, 10 particles across the gap (fraction of centre-line speed)0.0379|x| ≤ 0.05767 %✓ pass
RMS velocity error, power law n = 0.75 fluid, 20 particles across the gap (fraction of centre-line speed)0.0165|x| ≤ 0.02566 %✓ pass
RMS velocity error, power law n = 0.75 fluid, 40 particles across the gap (fraction of centre-line speed)0.00677not gatedreported onlyreported
RMS velocity error, power law n = 1.5 fluid, 10 particles across the gap (fraction of centre-line speed)0.0152|x| ≤ 0.02366 %✓ pass
RMS velocity error, power law n = 1.5 fluid, 20 particles across the gap (fraction of centre-line speed)0.0101|x| ≤ 0.01567 %✓ pass
RMS velocity error, power law n = 1.5 fluid, 40 particles across the gap (fraction of centre-line speed)0.00531not gatedreported onlyreported
RMS velocity error, Bingham fluid, 10 particles across the gap (fraction of centre-line speed)0.124|x| ≤ 0.18667 %✓ pass
RMS velocity error, Bingham fluid, 20 particles across the gap (fraction of centre-line speed)0.0417|x| ≤ 0.06366 %✓ pass
RMS velocity error, Bingham fluid, 40 particles across the gap (fraction of centre-line speed)0.00761not gatedreported onlyreported
RMS velocity error, Carreau fluid, 10 particles across the gap (fraction of centre-line speed)0.034|x| ≤ 0.05167 %✓ pass
RMS velocity error, Carreau fluid, 20 particles across the gap (fraction of centre-line speed)0.0163|x| ≤ 0.02468 %✓ pass
RMS velocity error, Carreau fluid, 40 particles across the gap (fraction of centre-line speed)0.00676not gatedreported onlyreported
RMS velocity error, Cross fluid, 10 particles across the gap (fraction of centre-line speed)0.0663|x| ≤ 0.166 %✓ pass
RMS velocity error, Cross fluid, 20 particles across the gap (fraction of centre-line speed)0.0258|x| ≤ 0.03966 %✓ pass
RMS velocity error, Cross fluid, 40 particles across the gap (fraction of centre-line speed)0.00783not gatedreported onlyreported
RMS velocity error, Casson fluid, 10 particles across the gap (fraction of centre-line speed)0.0654|x| ≤ 0.09867 %✓ pass
RMS velocity error, Casson fluid, 20 particles across the gap (fraction of centre-line speed)0.0234|x| ≤ 0.03567 %✓ pass
RMS velocity error, Casson fluid, 40 particles across the gap (fraction of centre-line speed)0.00705not gatedreported onlyreported
RMS velocity error, ideal Bingham fluid, 20 particles across the gap (fraction of centre-line speed)0.0393|x| ≤ 0.06362 %✓ pass
Smallest error fall from 10 to 20 particles across the gap, over all fluids (gate: above 1.3)1.51not gatedreported onlyreported

Setup and reproducibility

Grid and numerics
2D, 10, 20 and 40 particles across the 1 mm gap, periodic length 16 particle spacings, Wendland C2 kernel, modified dynamic boundary no-slip walls
Solver
Suna 0.1.0+27df4c72
Hardware
Intel Core i7-11700F
Precision
f64
Code revision
27df4c720ee1
Physics
SPH · non-newtonian, channel flow, bingham, power law, wall boundary
Run date

References

  • Analytic solution

    M. Papanastasiou, Flows of materials with yield, J. Rheol. 31 (1987) 385-404 (regularised Bingham model)

    doi:10.1122/1.549926In the Physics Atlas
  • Analytic solution

    R. B. Bird, G. C. Dai, B. J. Yarusso, The rheology and flow of viscoplastic materials, Rev. Chem. Eng. 1 (1983) 1-70 (ideal Bingham plane Poiseuille flow)

    doi:10.1515/revce-1983-0102