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 · R2

Deck JSON schema

A .fsap deck is plain JSON: a list of nodes, a list of branches, the fluids in play, and solver settings. It diffs cleanly and version-controls.

{
  "fluids": ["Water"],
  "nodes": [
    {"id": "IN",  "type": "boundary", "P": 50,   "unit": "psia"},
    {"id": "OUT", "type": "boundary", "P": 14.7, "unit": "psia"}
  ],
  "branches": [
    {"from": "IN", "to": "OUT", "type": "pipe", "D": 0.025, "L": 2.0}
  ],
  "solver": {"mode": "steady", "tol": 1e-9}
}