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
Tutorial · T1

Pump + valve + pipe

Objective: build the smallest useful network and read its operating point.

What you'll build

A single-branch water loop: IN → PUMP → VALVE → PIPE → OUT.

Steps

  1. Place two boundary nodes at 50 and 14.7 psia.
  2. Add a pump with a quadratic head curve.
  3. Add a K-factor valve and a DN25 pipe.
  4. Solve steady.

Expected result

The operating point sits where the pump curve meets the system resistance. FSAP reports the resulting flow rate and the pressure at each node.

Components — pump (quadratic), valve (K-factor), pipe (Darcy-Weisbach + Colebrook-White)