Averaging window
The averaging window¶
The window is stated in iterations or in last revolutions, ON THE MATRIX ROW, and a row of an unsteady run type must state it.
| column | run type | required | unit |
|---|---|---|---|
LAST_REVS_AVG or LAST_ITERS_AVG |
unsteady_rotor |
exactly one | last revolutions (float) or last iterations |
LAST_ITERS_AVG |
unsteady |
yes | last iterations |
VAR_NAMES_VALUES keys are written in UPPER CASE, exactly as the table spells them, like every
other key of a matrix row. These keys are matched on the exact
spelling: a lower-case last_revs_avg on a workflow row is refused as a key of
no run type, and where that check does not run it is not read at all, so the
window it meant to state is not applied.
It lives in the MATRIX, not in the pproc, because it converses directly with
the temporal setup: DELTA_TIME, TIME_ITERATIONS and RPM are all on the same
row. Putting it in the pproc would separate the window from the quantities that
define it.
The window ends at the run's last step, the resolved TIME_ITERATIONS:
the count the row states, the one REVOLUTIONS and DELTA_THETA work out to,
or the one RUN_WAKE_LENGTH_R works out to from a target wake length,
whichever the row states.
WINDOW_STEPS and WINDOW_REVOLUTIONS are retired -- they were the same idea
under another name in another place, and two spellings of one idea are how two
published numbers come to disagree.
WINDOW_STEPS, WINDOW_REVOLUTIONS and WINDOW_DEGREES
are refused at plan time. Write LAST_ITERS_AVG for steps or LAST_REVS_AVG
for revolutions; divide degrees by 360. A new unsteady plan requires one of
these current keys. Older records retain the window the run was given, with
a warning naming the steps when no current averaging key was recorded.
A continued point is averaged over the last steps of its WHOLE march. A continuation (RESTART) records the row's clock, so
its window as recorded ends at the last step of the run it continues; the post
moves every window of the point, keeping its length, to end at the last step
of the march, so LAST_REVS_AVG: 1 averages the last revolution the solver
turned, in the continuation. The plots table of such a point is the history of
the whole march: the post reads the plots export of each run of the chain from
the archive the next run moved it into (datapoints/DP-<point>/archive/<stamp>/)
and joins them by step number. An export whose first step follows the
history's last is appended; one that starts inside the history and repeats its
rows there restates the march and is taken from where it starts; one that
starts again at step 1 with rows of its own is numbered on from the history's
last step, its time with it. No step is repeated or missing at a seam, and
post.log says how the history was joined and the step the window ends at. A
history that cannot be found or joined is said there, naming the file, and the
table then holds the continuation's own export, as it states its steps. On 26.124, a measured continuation export numbered the whole march from step 1 to step 24; its resumed export restated the march. The package keeps the reopened state without reinitialization; the licensed confirmation of that emitted continuation remains owed, as recorded in the changelog.
A point that continues nothing is averaged exactly as before.
The window of an unsteady_rotor row spans whole blade passages of every rotor the row
turns. A passage is steps_per_revolution / blades steps of that rotor, where blades is
the whole wheel's count. On a SYMMETRY: PERIODIC row the rotor block lists only the meshed
blade families and PERIODIC_COPIES is the number of sector copies round the wheel, so the
wheel has the block's blade families times the copies blades (two meshed families and two
copies are a four-blade wheel); a row with no rotor block takes BLADES, else
PERIODIC_COPIES, as the whole wheel's count. The window of
L steps spans k = L / passage passages. It is valid when round(k) is at least 1 and
round(round(k) * passage) equals L, so a fractional passage is judged on the steps the
solver can take. A row that fails for any rotor is refused at plan, naming the window, the
passages it spans, each failing rotor and the nearest valid window, as LAST_REVS_AVG in
revolutions or LAST_ITERS_AVG in steps. A row with no window key, and a row whose clock is
unknown, are judged where they were before. One blade count serves this check and every
passage cut, and the phase-locked passages are cut by the same rounding: a passage counts as whole when its length, rounded to the step the solver takes,
fits the window, so a window this check accepts is cut into the passages it was accepted for.