The upwind answer, against the two problems it might be answering
At its defaults it draws the upwind answer, against the two problems it might be answering. The upwind solution drawn against two exact solutions: the one for the ε that was asked for, whose layer is thin, and the one for ε(1 + Pe) = 0.02063, whose layer is 4.125 times thicker. It lies on the second. The two operators are identical entry for entry, to 1.3·10⁻¹⁶.
upwind-identity is one function in lib/figures/convection.js —
convection — the stencil that is not symmetric, and the fourier arguments that assumed it was. Everything below came out of it during this build, at
arguments taken from the essays rather than invented for this page. A figure here is the
figure a reader meets in an essay, and if the generator changes, this page changes with it.
At its defaults
Drawn even though every essay passes arguments — which on this site is every essay, at 100% of placements since the standard pass. A default nothing exercises is a trap for the next essay to call this with none, and this is the page where a default that has drifted from the figures around it becomes visible.
The upwind solution drawn against two exact solutions: the one for the ε that was asked for, whose layer is thin, and the one for ε(1 + Pe) = 0.02063, whose layer is 4.125 times thicker. It lies on the second. The two operators are identical entry for entry, to 1.3·10⁻¹⁶.
eps: 0.005, n: 255
The arguments are the ones A different equation on every grid passes. A value nobody placed would be a picture no essay asked for and no claim was ever checked against.
The upwind solution drawn against two exact solutions: the one for the ε that was asked for, whose layer is thin, and the one for ε(1 + Pe) = 0.006953, whose layer is 1.391 times thicker. It lies on the second. The two operators are identical entry for entry, to 0.
eps: 0.005
The arguments are the ones A different equation on every grid passes. A value nobody placed would be a picture no essay asked for and no claim was ever checked against.
The upwind solution drawn against two exact solutions: the one for the ε that was asked for, whose layer is thin, and the one for ε(1 + Pe) = 0.02063, whose layer is 4.125 times thicker. It lies on the second. The two operators are identical entry for entry, to 1.3·10⁻¹⁶.
eps: 0.1
The arguments are the ones A different equation on every grid passes. A value nobody placed would be a picture no essay asked for and no claim was ever checked against.
The upwind solution drawn against two exact solutions: the one for the ε that was asked for, whose layer is thin, and the one for ε(1 + Pe) = 0.1156, whose layer is 1.156 times thicker. It lies on the second. The two operators are identical entry for entry, to 0.
eps: 0.005, n: 15
The arguments are the ones A different equation on every grid passes. A value nobody placed would be a picture no essay asked for and no claim was ever checked against.
The upwind solution drawn against two exact solutions: the one for the ε that was asked for, whose layer is thin, and the one for ε(1 + Pe) = 0.03625, whose layer is 7.25 times thicker. It lies on the second. The two operators are identical entry for entry, to 2.6·10⁻¹⁷.
eps: 0.005, n: 63
The arguments are the ones A different equation on every grid passes. A value nobody placed would be a picture no essay asked for and no claim was ever checked against.
The upwind solution drawn against two exact solutions: the one for the ε that was asked for, whose layer is thin, and the one for ε(1 + Pe) = 0.01281, whose layer is 2.563 times thicker. It lies on the second. The two operators are identical entry for entry, to 2.6·10⁻¹⁷.
What it checked while drawing
Every figure above checked its own claims on the way to being drawn, and a claim that failed
would have stopped the picture rather than shipped a wrong one. Those checks used to leave
no trace at all: a passing one returned true and the only evidence the figure had
checked anything was that nothing crashed. The list below is what they actually said, collected
by running this generator with an observer installed — not a description of
what it is believed to check.
10 distinct claims across 6 sets of arguments, grouped below by shape — because most of them are one sentence with a different number in it, and how many separate times that sentence was put to the test is the informative part.
upwinding at ε is central differencing at ε(1 + Pe), n = 31 agree — checked 6 times
a diffusion coefficient the identity is worth drawing at
LU is for square matrices
the artificial diffusion is exactly h/2
the upwind answer is closer to the problem it solves than to the one posed
Against the rule
It draws a decomposition and prints its residual. It calls
solve,
and every figure above carries the badge — which residualcheck verifies by looking
for it in the emitted SVG rather than by finding the call that builds one. A badge that is
constructed and then left out of the body is the failure that check exists for.
Across the library: the rule bites on 217
of 397 generators —
199 print a residual and
18 are exempt with a published reason;
180 factorise nothing.
Read from lib/residual-rule.js, which is the same body the gate enforces from,
and the gate's last check fails the build if this page and it disagree about any generator.
Where it is called
Changing this generator changes every figure on this list. That is what makes the list worth publishing rather than keeping in a check script.
A different equation on every grid
Upwinding is the exact discretisation of a convection–diffusion problem with diffusion ε + h/2, entry for entry, at a relative difference of between 0 and 1.26·10⁻¹⁶ on every mesh from 15 points to 511. The equation it is exact for is chosen by the mesh and not by ε — the added diffusion is 0.01563 on a 31-point grid whether ε is 0.2 or 0.001.
Iterating, instead of factorisingThe stencil that is not symmetric
Past a cell Péclet number of exactly one — measured by bisection at 1.0000000000000002 — the central-difference solution of a convection–diffusion problem oscillates from point to point and leaves the interval the equation guarantees, at 16 of 31 grid points. It is the exact solution of its own linear system, to 4.6·10⁻¹⁸. No solver was involved.