Differentiable high-order CFD
A flow solver built to be differentiated
Gyre provides converged flows, functionals, coupling fields and exact derivative products of a high-order discontinuous-Galerkin solver — as a library, a service and an agent interface. It is the discipline an optimization framework wraps; it contains no optimizer.
One site, four depths
Read at the depth you need
Every page starts with a one-minute summary. Passages deeper than your dial fold into a labelled stub that you can open in place. Set the dial here or in the top bar; it follows you across the site.
Reading paths
Start from who you are
Each path is an ordered walk through the documentation and sets a suggested depth. You can leave a path or move the dial at any time.
-
MDO integrator
You wrap Gyre as a discipline in an optimization framework and need its interface, its derivatives and evidence that they are right.
Suggested depth: L2 Practice- What Gyre is
- Integrating with an MDO framework
- Gradients and error estimates
- Coupled aero-structural adjoint
- Inside OpenMDAO
- Linearisation and gradients
- Discipline contract
- Adjoints and sensitivities
-
CFD practitioner
You want to set up, run and judge flow solutions, and to know what the solver can and cannot do.
Suggested depth: L2 Practice- Capabilities and limits
- Getting started
- Cases
- Mesh files
- Inviscid aerofoil
- Transonic aerofoil
- Laminar cylinder
- Turbulent flat plate
- Sphere in three dimensions
- A mesh from Gmsh
- Verification
-
Solver developer
You change the code and need to know how it is organised, how the kernels are written and how changes are tested.
Suggested depth: L3 Mechanics- Architecture at a glance
- Design decisions
- Code structure
- Differentiable programming patterns
- Testing strategy
- Development process
- Authoring guide
-
Numerical analyst
You want the equations, the discretization and the proofs, and the verification studies that test them.
Suggested depth: L4 Theory- Governing equations
- Split-form DG spectral elements
- Two-point and interface fluxes
- Viscous terms — the BR2 scheme
- Turbulence closure (RANS, Spalart–Allmaras)
- Implicit solver
- Adjoints and sensitivities
- Output error estimation
- Order of accuracy
- Turbulence closure
-
Operator
You deploy and run the service for others on a tailnet, and need to know what is running and whether it is healthy.
Suggested depth: L2 Practice Start this path -
AI agent
You are, or you operate, an agent that drives Gyre through its tool interface. Start from llms.txt; every page is also served as Markdown.
Suggested depth: L2 Practice- Agent interface (MCP)
- An agent at work
- MCP tool reference
- REST API reference
- Case schema
- Mesh files
- Pipelines
Capabilities
What Gyre is built to do
-
Differentiable by construction
The numerical kernels are pure JAX functions, so Jacobian products, adjoints and shape sensitivities come from automatic differentiation of the same code that computes the flow.
Read more → -
High-order, entropy-conservative volume terms
Split-form discontinuous-Galerkin spectral elements on curved meshes, with entropy-conservative two-point fluxes. A discrete entropy inequality is proven for the two entropy-stable interface fluxes (matrix dissipation in entropy variables, and Lax–Friedrichs); the default classical Roe flux is dissipative in the verification study.
Read more → -
Exact adjoints, through shocks and turbulence
One transposed solve per output gives derivatives with respect to flow conditions and every surface node, in two and three dimensions; shock capturing and the turbulence closure, wall distance included, are part of the linearisation.
Read more → -
A discipline, not an optimizer
A framework-neutral contract — solve, outputs, loads and displacements, forward and reverse products — that an MDO framework wraps, locally or over the network.
Read more → -
Service, pipelines and agents
One deployable unit serves a REST API with warm sessions, declarative pipelines, a Model Context Protocol endpoint, and this documentation stamped with the running revision.
Read more → -
Evidence with provenance
Verification pages render the output of the verification suite; every chart and table names the revision, time and device that produced it.
Read more →
Contents
71 pages in 7 sections
- Overview What Gyre is, where it sits in a design-optimization stack, how it is put together, and what it does not do. 4 pages · up to L3
- User Guide How to install Gyre, describe a case, bring your own mesh, run it from the command line, the service or Python, obtain gradients and error estimates, wire it into an MDO framework or an agent, and deploy it. 12 pages · up to L4
- Examples Worked cases with real output: an inviscid aerofoil, a transonic flow with shocks, a separated viscous flow, a turbulent boundary layer, a sphere in three dimensions, a case on a mesh imported from Gmsh, a warm-started polar with adjoint slopes, a coupled aero-structural adjoint, OpenMDAO, and an agent session. 12 pages · up to L3
- Verification Every numerical claim in this documentation is backed by an executable study. The studies run as a pipeline, write machine-readable results with provenance, and the charts and tables on these pages are rendered from those files. 12 pages · up to L4
- Software Engineering How the capability is built: design decisions and their costs, the differentiable-programming patterns the solver relies on, code structure, the service architecture, testing, pipelines and provenance, performance, and process. 10 pages · up to L4
- Mathematics & Numerical Methods The equations Gyre solves and the numerical methods it uses — split-form DG spectral elements, entropy-conservative fluxes, curvilinear metrics, BR2 viscous terms, the Spalart–Allmaras turbulence closure, shock capturing, the implicit solver, adjoints and output error estimation — with derivations. 13 pages · up to L4
- Reference Lookup material generated from the code — case schema, command line, REST routes, agent tools — plus glossary, bibliography and the authoring guide for this site. 8 pages · up to L4
This deployment
Which build is serving these pages
Static build
- Version
- gyre 0.4.0
- Revision
- ceb1f4b0be
- Source
- build-time stamp (the service API was not queried yet)
Interfaces
- Interactive API explorerOpenAPI description of the REST service under /api/v1, served by this deployment.
- llms.txtIndex of every page as Markdown, for AI agents; each page is also at its own .md address.
- search-index.json · site-manifest.jsonMachine-readable index and build manifest.