FSAPBeta
Documentation

Read the docs. Run the tutorials. Reproduce the papers.

Three tracks. Search across all of them. The reference section mirrors the solver source one-to-one — every governing equation links to the file that implements it.

← All documentation
Reference · R3

Governing equations

FSAP solves conservation of mass, momentum, and energy on the network graph using a sparse Jacobian. Closure correlations are cited and swappable per branch.

  • Friction — Darcy-Weisbach with Colebrook-White
  • Two-phase ΔP — Lockhart-Martinelli, Friedel
  • Boiling — Chen, Shah
  • Forced convection — Dittus-Boelter, Gnielinski
  • Heat exchangers — effectiveness-NTU
  • Compressible flow — isentropic / Fanno relations at restrictions
  • Transient — Backward-Euler integration