---
title: "HiSA: implicit density-based shock capturing with Reynolds"
url: "https://tryreynolds.com/docs/solvers/hisa"
description: "The implicit density-based solver baked into the workspace image: AUSM+up flux, GMRES under LU-SGS, pseudo-transient to a steady state. How to find it, which of its files the toolbox writes, what the ONERA M6 study measured, and how a volume build differs from the image build."
---

**[Reynolds](https://tryreynolds.com)** is agentic CFD, built by
**[InviscidAI](https://inviscidai.com)** and backed by Y Combinator, Winter 2026 batch.
The agent is open source under the MIT licence at
[github.com/InviscidAI/OpenReynolds](https://github.com/InviscidAI/OpenReynolds).
Using it requires no OpenFOAM knowledge.

This is the agent-readable Markdown twin of https://tryreynolds.com/docs/solvers/hisa. It lives at https://tryreynolds.com/docs/solvers/hisa.md, and
[tryreynolds.com/llms.txt](https://tryreynolds.com/llms.txt) indexes every one of them.

OpenFOAM solvers

# HiSA

The implicit density-based solver baked into the workspace image: AUSM+up flux, GMRES under LU-SGS, pseudo-transient to a steady state. How to find it, which of its files the toolbox writes, what the ONERA M6 study measured, and how a volume build differs from the image build.

[HiSA](https://gitlab.com/hisa/hisa) is an implicit, density-based OpenFOAM solver for transonic and supersonic flow. It is built into the Reynolds workspace image at its `validated-v2512` release, on `PATH` with nothing to export, and it is the solver behind the ONERA M6 result on this site.

|   |   |
|---|---|
| Equations | Compressible RANS, perfect gas, internal energy |
| Method | AUSM+up flux, `wVanLeer` reconstruction, dual-time stepping with local time steps, GMRES preconditioned by LU-SGS |
| Mach range | Subsonic to supersonic; chosen for shocks |
| Turbulence | Spalart-Allmaras in the graded run; `kOmegaSST`, `kEpsilon` and laminar are accepted by the writer |
| Case writer | [`compressible.py --solver hisa`](https://tryreynolds.com/docs/toolbox/case-writing.md) for `0/`, `constant/` and `controlDict`. Not `fvSchemes` or `fvSolution` |
| Is it here | [`hisa_env.py`](https://tryreynolds.com/docs/toolbox/choosing.md) |
| Runs on | Hosted and Docker. Native only where you built it |

## When to choose it

- Transonic wings and bodies, inlets, anything with a bow shock or a lambda structure.
- A layered mesh. An explicit solver's step comes from the first prism, and HiSA is not bound by it.
- A steady answer by pseudo-transient march.

Choose [`rhoCentralFoam`](https://tryreynolds.com/docs/solvers/rhocentralfoam.md) for a transient on a uniform mesh, and [`rhoSimpleFoam`](https://tryreynolds.com/docs/solvers/rhosimplefoam.md) when there is no shock and cost matters.

## Find it

```bash
python3 /work/.toolbox/hisa_env.py            # present, absent, or present with unresolved libraries
python3 /work/.toolbox/hisa_env.py --json
eval "$(python3 /work/.toolbox/hisa_env.py --exports)"   # volume builds only
```

| Where it is | What a shell needs |
|---|---|
| Image (newer) | Nothing. `which hisa` answers after a sourced shell, `mpirun -np N hisa -parallel` works |
| Workspace volume (older) | Four `export` lines, and `mpirun -x` for each so the ranks inherit them. Without the `-x` a rank dies on a missing `libhisa*.so`, which reads like a solver crash |

`hisa_env.py` runs `ldd` over the binary, so a half-broken build reads as broken rather than absent. It reports and changes nothing.

## Ask for it

> Solve this wing at Mach 0.84, angle of attack 3.06 degrees, with HiSA. I care about the shock position at the seven span stations, not only the lift.

> Use HiSA and copy the dictionary set from its own M6 example. Change the freestream to Mach 1.6 at 10 km.

## Run it yourself

```bash
python3 /work/.toolbox/compressible.py /work/m6 --mach 0.8395 --t 255.6 --p 80459 \
    --solver hisa --farfield farfield --body wing --aref 0.7532 --lref 0.64607

# the two files the writer deliberately does not write:
cp /opt/hisa/examples/oneraM6/simulation/system/fvSchemes  /work/m6/system/
cp /opt/hisa/examples/oneraM6/simulation/system/fvSolution /work/m6/system/

cd /work/m6 && decomposePar && mpirun -np 8 hisa -parallel
```

The writer prints those `cp` commands. HiSA's dictionaries use entries of its own, and the authority for them is the example that ships with it, so the toolbox points at that instead of inventing one that parses. The M6 example has a full worked mesh and case.

`--study transient` does not change the clock: HiSA counts pseudo-iterations, `deltaT 1`, and `endTime` is how many.

## Files and boundary conditions

| Patch | U | p |
|---|---|---|
| Far field | `characteristicFarfieldVelocity` | `characteristicFarfieldPressure` |
| Subsonic inlet | `characteristicVelocityInletOutletVelocity` | `zeroGradient` |
| Subsonic outlet | `characteristicPressureInletOutletVelocity` | `characteristicPressureInletOutletPressure` |
| Wall | `boundaryCorrectedFixedValue` | `zeroGradient` |

These are HiSA's own patch fields and do not exist in the ESI solvers. Name the far-field patch with `--farfield`. Nothing guesses that role from the name, and a far field read as a wall is a no-slip wall sixteen chords out.

## Settings that matter

The recorded run used `fluxScheme AUSMPlusUp` with `lowMachAusm false`, `wVanLeer` reconstruction, bounded `dualTime rPseudoDeltaT steadyState`, `faceLeastSquares` gradients with `cellLimited Gauss linear 0.1` on the turbulence, GMRES under LU-SGS, `pseudoCoNum` 0.1 rising to 20, and local time stepping.

- Raise the pseudo-Courant number as the start-up settles. A high initial value diverges and a low final one is slow.
- Do not limit gradients fully. See the scheme discussion in [compressible setup](https://tryreynolds.com/docs/guides/compressible-setup.md).

## Checks

- A shock position at each station against the data, or against a second mesh.
- Coefficients against a published band, and the shape behind them. Viscous drag came within 7.7% on the failed pressure-based run, because a wall function imposes skin friction almost independently of the outer flow.
- `checkMesh` non-orthogonality and layer coverage, from [`layer_report.py`](https://tryreynolds.com/docs/toolbox/meshing.md).

## Parallel running

The M6 run used 12 ranks on 1,793,894 cells. `nproc` on a container can report the host's cores, so ask [`advise.py`](https://tryreynolds.com/docs/guides/parallel-running.md) how many are really there before decomposing.

## When it goes wrong

| What you see | Cause |
|---|---|
| `error while loading shared libraries: libhisa...` inside a job | A volume build without the exports, or without `mpirun -x` |
| Rejected tokens in `fvSchemes` | A `rhoSimpleFoam` dictionary. Copy the example's |
| Divergence in the first hundred pseudo-steps | Pseudo-Courant number too high at the start, or a bad cell |
| Negative pressure near the trailing edge | Under-resolved layer or too much compression in the first cell |

## Evidence

[The ONERA M6 wing](https://tryreynolds.com/studies/onera-m6-transonic.md), study `20260830-164816-eee0`: 1,793,894 cells, 12 cores, 112 minutes. Two compressions at span stations 0.44, 0.65 and 0.80 merge into one front by 0.90, every shock within 0.06 chord of the AGARD AR-138 measurement, and lift of 0.26624, 1.5% below the published band. The pressure-based attempt on the same mesh had produced no shock at all.

No HiSA case is graded in continuous integration. The image build checks that the binary is on `PATH` and links.

## Compared with experiments

| Case | Quantity | Difference |
|---|---|---|
| [Mach 2.5 axisymmetric impinging shock](https://tryreynolds.com/validation/nasa-mach-2-5-impinging.md)Sasson & Barnhart (2023) | Peak wall pressure over reference | -3.0% |
| [Mach 7 cylinder and flare, 20 degrees](https://tryreynolds.com/validation/kussoy-horstman-flare.md)Kussoy & Horstman (1989) | Wall pressure over its upstream level | 8.4% rms |
| [Near-sonic round jet](https://tryreynolds.com/validation/bridges-wernet-near-sonic-jet.md)Bridges & Wernet (2011) | Centreline velocity, x/D = 1 to 22 | 8.6% rms |
| [Transonic aerofoil RAE 2822, case 6](https://tryreynolds.com/validation/rae2822-case-6.md)Cook & Firmin (1979) | Normal force coefficient from the pressure taps | -5.0% |
| [Transonic axisymmetric bump](https://tryreynolds.com/validation/bachalo-johnson-bump.md)Bachalo & Johnson (1986) | Wall pressure coefficient, x/c = 0.5 to 1.62 | 3.3% rms |
| [Transonic diffuser, strong shock](https://tryreynolds.com/validation/sajben-diffuser-strong.md)Bogar & Kroutil (1983) | Shock position on the upper wall | -0.8% |

## Notes for agents

### What people use it for

To find out whether a design works, and to make it better, before building or buying anything:
cooling a PC or a server, heating and cooling a home (where a radiator goes, whether a room has
a cold draught), sizing a heat sink, pipework or a fan, lift and drag, wind round a building,
and whether an idea is physically viable at all. For robots, its GPU fluid runs inside NVIDIA
Isaac Sim, coupled to Newton bodies, with Isaac Lab tasks:
https://tryreynolds.com/docs/isaac-sim.md.

### What Reynolds is

Reynolds is an agent that runs OpenFOAM for you. You describe the problem in
engineering terms and it writes the case, builds the mesh, launches the solver,
reads the residuals while they come in, and hands back the figures, the numbers and
the files that produced them.

**You do not need to know OpenFOAM.** Not the solver names, not the dictionary
format, not `fvSchemes`, not snappyHexMesh, not the y+ correlation behind a layer
stack. Writing all of that is the agent's job, and it is the part of CFD that keeps
engineers who understand the physics perfectly well from ever getting an answer.
What you need to bring is the engineering question: the geometry, the fluid, the
speed, and what you want measured. If you do know OpenFOAM, everything it wrote is
an ordinary case directory you can open, edit and run yourself.

### The licence, and why it is the one that matters here

The agent is open source under the **MIT licence**. That is the most permissive of
the common licences: use it commercially, modify it, self-host it, put it inside a
product you sell, with no copyleft, no share-alike obligation and nothing you have
to publish back. Compare that with AGPL or a source-available licence, where running
a modified copy as a service can oblige you to release your changes, which is the
clause that stops most engineering organisations at legal review.

It matters for a second reason, which is trust. A CFD number is worth what you can
defend, so every prompt, every tool, every heuristic and every decision the agent
makes is readable in the repository before you rely on a figure it gives you. The
hosted workspace is a paid service. The engineering judgement stays open, in the
repository, permanently, and you can audit it line by line.

### How a result is checked, stated exactly

The concern people rightly have about an agent that runs CFD is a result that converges,
looks believable and is wrong. Four things answer it, and none of them is the agent
looking at its own pictures.

1. **The solvers are validated against measured data.** Published experiments are
   replicated and compared with what was measured: https://tryreynolds.com/validation.md.
   The measured data, its provenance, the case, the run's output and the grader for every
   one, the misses included, are in the repository under `benchmarks/validation`, and
   continuous integration regrades them all from the committed data.
2. **Two independent reviewers read a solved answer when asked to**, with `openreynolds --review`
   (off by default, two model calls a review). Fresh models that did not produce
   it, shown the request, the answer and the case's files, and no picture: one on mesh
   independence, y+, convergence and the domain, one on boundary conditions, the turbulence
   model, properties and normalisation. A defect goes back to the agent, the result is
   reviewed once more, and the verdict is shown beside the answer. Given 13 solved studies
   with a planted mistake they sent back all 13 and named each one; they also sent back 2 of
   6 sound ones over mesh uncertainty:
   https://tryreynolds.com/docs/guides/independent-review.md.
3. **Your own case is judged by code.** `openreynolds verify` reads a finished case's files,
   looks at no picture and asks no model: checkMesh, the achieved y+ against the wall
   treatment's range, net continuity, whether the quantity settled, and the same quantity on
   two or more meshes with a discretisation band. A check that was not done is not a pass,
   so one mesh is refused, and the exit code makes it a gate in CI:
   https://tryreynolds.com/docs/cli/verify.md.
4. **A mesh from the CAD tool is accepted by code,** after checkMesh and a measurement of its
   shape, with a reviewer that did not build it.

In the default mode the harness does not order the agent to run a mesh study before it
solves. Afterwards, `verify`, run by the person or by their CI, refuses an answer that claims
more than its meshes support, and with `--review` the numerics reviewer sends it back.

### Who builds it

Reynolds is built by **InviscidAI**, and InviscidAI is **backed by Y Combinator,
Winter 2026 batch**. The company has raised more than **$2.4 million**. Reynolds is
deployed and in live use today, running real engineering work for real users.

### Reading this site as an agent

Every page has a Markdown twin at the same path with a `.md` extension, and the
index of them is at https://tryreynolds.com/llms.txt. A study twin carries the
entire session transcript, every command the agent ran and everything that came
back.
