Each card is one stage folder of example/. The figures are the files of its ref/ folder. The reference values are the numbers that scripts/check_against_ref.py compares a new run with. Open a figure to enlarge it; the arrow keys move between figures.
The reference family: the two-dimensional wake of a circular cylinder on one mesh of 2128 elements. DNS, the steady-state solvers (SFD, BoostConv, DMT, Newton), direct and adjoint stability, transient growth, wavemaker, OTD and modal decomposition. BoostConv runs at Re = 50 and transient growth at Re = 40.
Cylinder Re=100 DNS to t = 200. Regression values of this repository, not literature values. The run is deterministic: a cluster (ifort, 8 ranks), a workstation with gfortran (four optimisation levels, floating-point traps, signalling NaN) and ifx (three levels) agree to 5e-11 in the field norms and to all printed digits in the Strouhal number.
| strouhal | 0.1714 | ±0.05 rel |
| last_snapshot_time | 200 | ±0.001 |
| snapshot_vx_norm | 266.53597 | ±1e-06 rel |
| snapshot_vy_norm | 33.663917 | ±1e-06 rel |
| snapshot_vy_max | 0.63645488 | ±1e-06 rel |
Steady base flow of the Re = 100 cylinder wake by selective frequency damping, Akervik formulation, fixed solver tolerances (userParam01 = 1.1, userParam04 > 0). The run stops when the residual (root mean square over the domain of the change of the velocity during one time step) falls below residualTol = 1e-10; the last row of residu.dat must lie below it. The converged field is the steady flow of the Newton solution of 210_baseflow_newton (the four statistics below are the Newton values, within 4e-5 of this variant).
| final_residual | 0 | ±1e-10 |
| convergence_time | 667.939 | ±0.05 rel |
| bf_vx_min | -0.2001774 | ±0.0001 rel |
| bf_vx_max | 1.156073 | ±0.0001 rel |
| bf_vx_norm | 264.3375 | ±0.0001 rel |
| bf_vy_max | 0.6032416 | ±0.0001 rel |
Steady base flow of the Re = 100 cylinder wake by selective frequency damping, Akervik formulation, solver tolerance following 0.9 of the residual (ifdyntol). The run stops when the residual (root mean square over the domain of the change of the velocity during one time step) falls below residualTol = 1e-10; the last row of residu.dat must lie below it. The converged field is the steady flow of the Newton solution of 210_baseflow_newton (the four statistics below are the Newton values, within 4e-5 of this variant).
| final_residual | 0 | ±1e-10 |
| convergence_time | 668.261 | ±0.05 rel |
| bf_vx_min | -0.2001774 | ±0.0001 rel |
| bf_vx_max | 1.156073 | ±0.0001 rel |
| bf_vx_norm | 264.3375 | ±0.0001 rel |
| bf_vy_max | 0.6032416 | ±0.0001 rel |
Steady base flow of the Re = 100 cylinder wake by selective frequency damping, Akervik formulation, dynamic solver tolerance, OIFS time stepping at CFL 5. The run stops when the residual (root mean square over the domain of the change of the velocity during one time step) falls below residualTol = 1e-10; the last row of residu.dat must lie below it. The converged field is the steady flow of the Newton solution of 210_baseflow_newton (the four statistics below are the Newton values; this variant stays within 4e-3 of them).
| final_residual | 0 | ±1e-10 |
| convergence_time | 765.9 | ±0.05 rel |
| bf_vx_min | -0.2001774 | ±0.01 rel |
| bf_vx_max | 1.156073 | ±0.01 rel |
| bf_vx_norm | 264.3375 | ±0.01 rel |
| bf_vy_max | 0.6032416 | ±0.01 rel |
Steady base flow of the Re = 100 cylinder wake by selective frequency damping, Casacuberta formulation, fixed solver tolerances (userParam01 = 1.1, userParam04 < 0). The run stops when the residual (root mean square over the domain of the change of the velocity during one time step) falls below residualTol = 1e-10; the last row of residu.dat must lie below it. The converged field is the steady flow of the Newton solution of 210_baseflow_newton (the four statistics below are the Newton values, within 4e-5 of this variant).
| final_residual | 0 | ±1e-10 |
| convergence_time | 868.939 | ±0.05 rel |
| bf_vx_min | -0.2001774 | ±0.0001 rel |
| bf_vx_max | 1.156073 | ±0.0001 rel |
| bf_vx_norm | 264.3375 | ±0.0001 rel |
| bf_vy_max | 0.6032416 | ±0.0001 rel |
Steady base flow of the Re = 100 cylinder wake by selective frequency damping, Casacuberta formulation, solver tolerance following 0.9 of the residual (ifdyntol). The run stops when the residual (root mean square over the domain of the change of the velocity during one time step) falls below residualTol = 1e-10; the last row of residu.dat must lie below it. The converged field is the steady flow of the Newton solution of 210_baseflow_newton (the four statistics below are the Newton values, within 4e-5 of this variant).
| final_residual | 0 | ±1e-10 |
| convergence_time | 869.16 | ±0.05 rel |
| bf_vx_min | -0.2001774 | ±0.0001 rel |
| bf_vx_max | 1.156073 | ±0.0001 rel |
| bf_vx_norm | 264.3375 | ±0.0001 rel |
| bf_vy_max | 0.6032416 | ±0.0001 rel |
Steady base flow of the Re = 100 cylinder wake by selective frequency damping, Casacuberta formulation, dynamic solver tolerance, OIFS time stepping at CFL 5. The run stops when the residual (root mean square over the domain of the change of the velocity during one time step) falls below residualTol = 1e-10; the last row of residu.dat must lie below it. The converged field is the steady flow of the Newton solution of 210_baseflow_newton (the four statistics below are the Newton values; this variant stays within 4e-3 of them).
| final_residual | 0 | ±1e-10 |
| convergence_time | 995.3 | ±0.05 rel |
| bf_vx_min | -0.2001774 | ±0.01 rel |
| bf_vx_max | 1.156073 | ±0.01 rel |
| bf_vx_norm | 264.3375 | ±0.01 rel |
| bf_vy_max | 0.6032416 | ±0.01 rel |
Steady base flow of the Re = 50 cylinder wake by BoostConv (userParam01 = 1.2) with the defaults of src/main.f90 (bst_snp = 10, bst_skp = 10) and an explicit filter of weight 0.01. The run stops when the residual (root mean square over the domain of the change of the velocity during one time step, sampled every bst_skp steps) falls below residualTol = 1e-6; the last row of residu.dat must lie below it. The converged field is the steady flow of the Newton solution at the same Reynolds number (210_baseflow_newton/fp with viscosity = -50, five iterations, residual 9.6e-10): the four statistics below are its values. BoostConv agrees with them to 2e-5 in the extrema and 2.5e-4 in the norm. The norm sums the whole domain; with the gate at 1e-8 instead of 1e-6 the run needs t = 232 instead of 159 and the norm agrees to 8e-7, so the 2.5e-4 is the part of the field that the loose gate leaves unconverged.
| final_residual | 0 | ±1e-06 |
| convergence_time | 159.4328 | ±0.25 rel |
| bf_vx_min | -0.1220482 | ±0.0002 rel |
| bf_vx_max | 1.164336 | ±0.0002 rel |
| bf_vx_norm | 262.5338 | ±0.003 rel |
| bf_vy_max | 0.563611 | ±0.0002 rel |
Steady base flow of the Re = 100 cylinder wake by Dynamic Mode Tracking (userParam01 = 1.3, omega_c = 0.7337, beta = 1, chi = 0.5). The run stops when the residual (root mean square over the domain of u - ubar divided by the time step) falls below userParam15 = 1e-7; the last row of residu_dmt.dat must lie below it. The converged field is the steady flow of the Newton solution of 210_baseflow_newton (the four statistics below are the Newton values, within 4e-5 of this run).
| final_residual | 0 | ±1e-07 |
| convergence_time | 766.2828 | ±0.05 rel |
| bf_vx_min | -0.2001774 | ±0.0001 rel |
| bf_vx_max | 1.156073 | ±0.0001 rel |
| bf_vx_norm | 264.3375 | ±0.0001 rel |
| bf_vy_max | 0.6032416 | ±0.0001 rel |
DNS of the shedding wake (userParam01 = 0) restarted from the t = 100 field of 000_dns, without sponge. 1cyl.usr opens the average at the first upward zero crossing after t = 200 of the integral of v over the domain and closes it 25 crossings later, writes the mean as BFA1cyl0.f00001 and the window as meanflow_window.dat. The period of the shedding is 6.03142 (St = 0.16580, angular frequency 1.0417); the 2D DNS of Marquet & Carini (2020, arXiv:2008.10002) at Re = 100 has the first-harmonic frequency 1.0446, 0.3 % higher. The mean flow has a recirculation bubble of length 1.416 from the rear of the cylinder; the steady flow of 210_baseflow_newton has 6.154. The values below are the regression values of this repository.
| n_periods | 25 | ±0.5 |
| period | 6.0314153 | ±0.0001 rel |
| strouhal | 0.16579856 | ±0.0001 rel |
| mean_vx_min | -0.1781351 | ±0.001 rel |
| mean_vx_max | 1.263934 | ±0.001 rel |
| mean_vx_norm | 266.0743 | ±0.001 rel |
| mean_vy_max | 0.6433803 | ±0.001 rel |
| recirculation_length | 1.4157073 | ±0.01 rel |
| u_min_axis | -0.17813511 | ±0.01 rel |
Steady base flow of the Re = 100 cylinder wake by Newton-GMRES with fixed solver tolerances (userParam01 = 2). The residual must end at the Newton tolerance of 1e-9. The statistics of the converged field are algorithm-independent: 110_baseflow_sfd, which damps the shedding instead of solving for the fixed point, reaches the same steady flow (vx min -0.2001695, vx max 1.1560659, vx norm 264.3354 for the akervik variant), within 1.3e-6 of the dynamic-tolerance Newton run and 1e-5 of this one; the tolerance of 1e-4 covers that spread.
| newton_final_residual | 0 | ±1e-09 |
| bf_vx_min | -0.2001774 | ±0.0001 rel |
| bf_vx_max | 1.156073 | ±0.0001 rel |
| bf_vx_norm | 264.3375 | ±0.0001 rel |
| bf_vy_max | 0.6032416 | ±0.0001 rel |
Steady base flow of the Re = 100 cylinder wake by Newton-GMRES with Eisenstat-Walker dynamic solver tolerances (userParam01 = 2, ifdyntol). The residual must end at the Newton tolerance of 1e-9. The statistics of the converged field are algorithm-independent: 110_baseflow_sfd, which damps the shedding instead of solving for the fixed point, reaches the same steady flow (vx min -0.2001695, vx max 1.1560659, vx norm 264.3354 for the akervik variant), within 1.3e-6 of the dynamic-tolerance Newton run and 1e-5 of this one; the tolerance of 1e-4 covers that spread.
| newton_final_residual | 0 | ±1e-09 |
| bf_vx_min | -0.2001694 | ±0.0001 rel |
| bf_vx_max | 1.156066 | ±0.0001 rel |
| bf_vx_norm | 264.335 | ±0.0001 rel |
| bf_vy_max | 0.6032385 | ±0.0001 rel |
Regression values of this repository: the leading eigenvalue pair of the steady Re = 100 cylinder wake, row 1 of Spectre_NSd.dat (growth rate 0.1247875, angular frequency 0.7336851, St = 0.1168).
| leading_eig_growth | 0.1247875 | ±0.001 |
| leading_eig_freq | 0.7336851 | ±0.001 |
Direct eigensolver (userParam01 = 3.1) about the mean flow of 140_baseflow_meanflow. The leading pair has the growth rate 0.0022 and the angular frequency 1.0290, 1.2 % below the frequency 1.0417 of the DNS; the steady flow of 310_stability_direct has 0.1248 and 0.7337. Marquet & Carini (2020, arXiv:2008.10002, Table 2) give 0.0020 and 1.0322 for the mean flow at Re = 100, and 0.1257 and 0.7389 for the steady flow. The first two values below are the regression values of this repository, the next two the published values, the fifth the DNS frequency of stage 140.
| leading_growth | 0.002170645 | ±0.0005 |
| leading_freq | 1.029039 | ±0.002 |
| growth_published | 0.002 | ±0.002 |
| freq_published | 1.0322 | ±0.01 rel |
| freq_dns | 1.04174 | ±0.02 rel |
| leading_residual | 0 | ±1e-05 |
Regression values of this repository: the leading eigenvalue pair of the adjoint problem about the same base flow, row 1 of Spectre_NSa.dat. It equals the direct pair of 310_stability_direct to 1e-6.
| leading_eig_growth | 0.1247881 | ±0.001 |
| leading_eig_freq | 0.7336846 | ±0.001 |
Optimal energy gain of the steady cylinder wake at Re=40, horizon tau=40
| optimal_gain | 274.9732 | ±0.01 rel |
Regression values of this repository (not literature values): the leading direct mode over one period T = 8.5639 (2 pi / omega, omega = 0.7336851 of ../310_stability_direct/direct), written as 92 snapshots; the amplitudes follow from the unit-norm eigenmode of that stage
| last_snapshot_time | 8.5639 | ±0.0001 |
| snapshot1_vx_max | 0.1621882 | ±0.001 rel |
| snapshot1_pr_norm | 1.847438 | ±0.001 rel |
Regression values of this repository (not literature values): structural-sensitivity (wavemaker) field of the Re=100 cylinder from the direct and adjoint modes. Giannetti and Luchini (2007) place the wavemaker inside the recirculation bubble; here x_peak = 3.84 lies inside the bubble of the steady base flow.
| wavemaker_max | 0.1709416 | ±0.0001 rel |
| wavemaker_norm | 6.006722 | ±0.0001 rel |
| wavemaker_xpeak | 3.836 | ±0.3 |
Regression values of this repository (not literature values): the sensitivity field of the Re = 100 cylinder to a steady force (mode 4.41). The magnitude is concentrated in the recirculation bubble and in the shear layers next to the cylinder, and is close to zero upstream and beyond x = 7. The GMRES solve must end below its target of 1e-6 in the squared residual; before the correction of the boundary conditions in the case file it stalled at 1e-2. The velocity norms of the converged field agree to 3e-4 between T = 1 and T = 2.
| gmres_squared_residual | 5e-07 | ±5e-07 |
| sensitivity_vx_norm | 31.10343 | ±0.01 rel |
| sensitivity_vy_norm | 8.478705 | ±0.01 rel |
| sensitivity_vx_xpeak | 1.165 | ±0.3 |
The expected value of all four is the growth rate sigma = 0.1247875 of the leading eigenvalue pair of 310_stability_direct (Spectre_NSd.dat), not a value read back from an OTD run. The seeded basis spans the invariant subspace of that pair, so the eigenvalues of the reduced operator at the start and the finite-time exponents at the end equal sigma to the discretisation error of the two operators (observed 0.124756, 0.124753, 0.124754 and 0.124755, 3.2e-5 to 3.5e-5 below sigma on a cluster and on a workstation). The run stops at step 500 (t = 5.06) when the exponents change by less than 1e-6 per print step. The tolerance on the final exponents is 1e-4: the second exponent was 0.124519 when the product of the forcing with the basis assumed arrays of nv instead of lelv*lxyz points, and that value fails.
| otd_eigenvalue_1_at_start | 0.1247875 | ±0.0001 |
| otd_eigenvalue_2_at_start | 0.1247875 | ±0.0001 |
| otd_ftle_1_final | 0.1247875 | ±0.0001 |
| otd_ftle_2_final | 0.1247875 | ±0.0001 |
Regression values of this repository for POD, DMD and streaming SPOD of 100 snapshots (t = 150 to 200, one per 0.5 time units) of the Re=100 limit cycle. The leading POD pair holds 97.6 % of the energy; the DMD and SPOD peaks sit at the shedding frequency St = 0.166 (literature value for the 2D cylinder at Re = 100: about 0.165).
| pod_energy_mode1_percent | 49.869353 | ±0.005 rel |
| pod_energy_mode2_percent | 47.722309 | ±0.005 rel |
| pod_cumulative_mode2_percent | 97.591662 | ±0.3 |
| dmd_strouhal_fundamental | 0.16566 | ±0.005 rel |
| dmd_strouhal_second_harmonic | 0.33158 | ±0.005 rel |
| spod_peak_lambda1 | 15.7704 | ±0.005 rel |
Regression values of this repository for DMD (rank 20) of 100 snapshots (t = 150 to 200, one per 0.5 time units) of the Re=100 limit cycle. dmd_spectrum.dat lists five conjugate pairs ordered by |mu|. Row 3 is the shedding frequency St = 0.166 (literature value for the 2D cylinder at Re = 100: about 0.165). Rows 5, 7 and 1 are its second, fourth and third multiples (0.3316, 0.6630, 0.4974).
| dmd_strouhal_fundamental | 0.16566 | ±0.005 rel |
| dmd_strouhal_second_harmonic | 0.33158 | ±0.005 rel |
| dmd_strouhal_third_harmonic | 0.497358 | ±0.005 rel |
| dmd_strouhal_fourth_harmonic | 0.663009 | ±0.005 rel |
Regression values of this repository for streaming SPOD (nfft = 64, noverlap = 48, 3 blocks) of 100 snapshots (t = 150 to 200, one per 0.5 time units) of the Re=100 limit cycle. The leading eigenvalue peaks in the bin St = 0.15625 (shedding frequency 0.166 lies between the bins 0.15625 and 0.1875, whose width is 0.03125). The sum of the three eigenvalues in each bin equals the total spectral power of the POD-FFT analysis of 600_modal_pod to four digits.
| spod_lambda1_peak | 15.7704 | ±0.005 rel |
| spod_lambda1_bin_0.15625 | 15.7704 | ±0.005 rel |
| spod_lambda1_bin_0.1875 | 8.40764 | ±0.005 rel |
| spod_lambda1_bin_0.125 | 0.902531 | ±0.01 rel |
The periodic cylinder wake below the three-dimensional secondary instability: Newton for the periodic orbit, direct and adjoint Floquet stability, animation of the Floquet mode and OTD along the orbit. The Floquet analysis is two-dimensional and finds the phase mode only; modes A and B of Barkley and Henderson (1996) are three-dimensional.
DNS of the Re = 180 cylinder wake from a uniform flow to t = 300, with the periodic shedding developed. The stage writes the start fields of the later stages; its reference checks that the run reached its end time with the flow in the expected state: the norms of the last snapshot to the stated tolerance. The values are those of the run named under produced.
| last_snapshot_time | 300 | ±0.5 |
| snapshot_vx_norm | 267.5289 | ±0.01 rel |
| snapshot_vy_norm | 41.20509 | ±0.05 rel |
2D cylinder wake periodic orbit at Re=180 via Newton-GMRES (T = 5.189628136, St = 0.192692034), no filter
| newton_final_residual | 7.819336e-10 | ±1e-09 |
| newton_iterations | 5 | ±1 |
Trivial (phase) Floquet mode of the Re=180 Newton orbit T = 5.189628: exact sigma = 0; mu = 1 + 1.8e-6
| direct_floquet_leading_sigma | 3.399359e-06 | ±0.0001 |
| direct_floquet_leading_omega | 0 | ±0.001 |
Trivial (phase) Floquet mode of the Re=180 Newton orbit T = 5.189628: exact sigma = 0; mu = 1 + 1.8e-6
| adjoint_floquet_leading_sigma | 3.75232e-06 | ±0.0001 |
| adjoint_floquet_leading_omega | 0 | ±0.001 |
Regression values of this repository (not literature values): the base-flow orbit of 210_baseflow_newton advanced over one period T = 5.189627 and written as 100 frames. The last frame is at t = T, so a run that stops early, or a time stamp of the orbit that changed, shows in the time of the last frame. The orbit is periodic, so the norms of the first and of the last frame differ by 1e-6 and the tolerance of 1e-4 holds for any rank count.
| last_frame_time | 5.189627 | ±0.0001 |
| frame1_vx_norm | 356.6169 | ±0.0001 rel |
| frame100_vx_norm | 356.6164 | ±0.0001 rel |
| frame100_vy_norm | 54.78414 | ±0.001 rel |
The expected value is the largest Floquet exponent of the Re = 180 Newton orbit of 210_baseflow_newton: the phase mode, multiplier 1, exponent 0 (311_stability_direct_floquet gives 3.4e-6), not a value read back from an OTD run. Phase 1 (white-noise start, 40 periods): the exponent of the last period (t = 202.4 to 207.6) was -1.8e-6; it was -0.133 in the first period, +0.04 around t = 70 and -0.24 around t = 166, and it first stays below 1e-4 in absolute value at t = 197 (period 38). Phase 2 (one period restarted from the basis at 40 T, the quantity checked here, otd_ftle_period.dat): 2.7e-5.
| otd_period_exponent_final | 0 | ±0.0001 |
The cylinder wake with an active temperature field (Richardson number 0.2): a DNS seed and the Newton steady state.
DNS of the heated cylinder wake at Re = 25, Ri = 0.2, from a uniform flow to t = 100. The stage writes the start fields of the later stages; its reference checks that the run reached its end time with the flow in the expected state: the norms of the last snapshot to the stated tolerance. The values are those of the run named under produced.
| last_snapshot_time | 100 | ±0.5 |
| snapshot_vx_norm | 351.4258 | ±0.01 rel |
| snapshot_t_norm | 51.09253 | ±0.01 rel |
Regression value of this repository (not a literature value): Newton-GMRES for the heated-cylinder steady state at Re=30, Ri=0.2, cold start
| newton_final_residual | 8.933011e-09 | ±1e-08 |
| newton_iterations | 14 | ±3 |
A cylinder in forced transverse oscillation on a moving mesh: the lock-in of the wake, its periodic orbit by Newton, the Floquet multiplier of that orbit and the DMT filter bank on the orbit.
Late-window dominant frequency and amplitude of v at the probe (5, 0) of 1cyl.his. userParam05 = 0, so the mesh does not move; the frequency 0.1663 is the Strouhal number of the static cylinder on this mesh. The forced stages use f = 0.1643, 1.2 % lower (see 010_dns_forced).
| dominant_frequency | 0.16629992 | ±0.001 rel |
| late_amplitude | 0.50332897 | ±0.02 rel |
The mesh moves with the cylinder (userParam05 = 1.08 diameters, userParam06 = 0.1643), without sponge and without filter, so that the flow can settle on a periodic orbit of the forcing period. The run writes one field per forcing period, all at phase 0. plot.py measures the period of v at the probe (5, 0) over the last 10 periods and the change between the last two fields in the near field (-2 < x < 10, |y| < 4). The expected period is the forcing period 1 / 0.1643 = 6.086427, not a value read back from a run. The near-field change falls by a factor 0.88 per period after period 12 (3e-1 at period 2, 4.7e-5 at period 30). The change over all nodes is larger (1.1e-3 at period 30) because the far wake, left by the start-up, leaves the domain slowly; it is not used. The amplitude of v at the probe is a regression value of this repository.
| probe_period | 6.0864273 | ±0.0001 rel |
| last_change | 0 | ±0.0002 |
| probe_amplitude | 0.72388805 | ±0.005 rel |
| n_fields | 30 | ±0.5 |
Mode 2.2 on the moving mesh, started from the last field of ../010_dns_forced (30 periods, phase 0). The period is the period of the forcing, 1 / 0.1643 = 6.086427, so the time stamp of the orbit file is checked against it and not against a value read back from a run. The residual of the first iteration is the distance of the seed to the orbit; the last residual has to lie below the Newton tolerance 1e-9. Without the mesh-velocity term in the linearized solver the run ended at a squared residual of 1.9e-5 after seven iterations, so the last-residual check fails it. The seed differs from the orbit by 4.9e-4 in the l2 norm of vx, 1.2e-3 in vy and 2.0e-3 in the pressure, which the tolerances on the norms of the orbit fail. The residual history, the distance of the seed to the orbit and the norms are regression values of this repository, from the run named under produced.
| first_residual | 0.003717782 | ±0.02 rel |
| final_residual | 0 | ±1e-09 |
| n_iterations | 11 | ±2 |
| orbit_period | 6.0864273 | ±1e-09 rel |
| seed_distance | 0.0026186652 | ±0.05 rel |
| orbit_vx_norm | 260.25746 | ±0.0002 rel |
| orbit_vy_norm | 61.008148 | ±0.0002 rel |
| orbit_pr_norm | 57.773195 | ±0.0005 rel |
Mode 3.11 on the moving mesh, about the orbit of ../210_baseflow_newton over one period of the forcing, 1 / 0.1643 = 6.086427 (read from the time stamp of the orbit file, which is checked). Krylov-Schur with k_dim = 100 and a single Arnoldi pass converges one multiplier, mu = 0.9298793 with residual 2e-10, sigma = ln(mu) / T = -0.011945. The converged value is not the first of the list sorted by modulus: the Ritz value above it, 0.996 or less, has a residual of 5e-2 and differs from run to run (0.9957, 0.9965 and 0.937 on 40, 8 and 40 ranks). The check reads Spectre_Hd_conv.dat and Spectre_NSd_conv.dat, which hold the converged values only. An export that wrote the first values of the list put 0.9957 there and fails the check; a solver without the mesh-velocity term of the perturbation equation has no converged multiplier above modulus 0.72 (first converged value -0.172 +- 0.695i) and fails it too. dns_ratio is the mean factor per period of the near-field change of the forced DNS of ../010_dns_forced over its last five periods, 0.9253, 0.5 % below |mu_1|: the DNS relaxes onto the orbit with the leading multiplier. The values are regression values of this repository, from the run named under produced.
| leading_multiplier | 0.9298793 | ±2e-06 |
| leading_sigma | -0.01194469 | ±1e-06 |
| n_converged | 1 | ±0.5 |
| dns_relaxation | 0.92534214 | ±0.005 |
| orbit_period | 6.0864273 | ±1e-09 rel |
The DNS starts from the periodic orbit of 210_baseflow_newton at phase 0 of the forcing and runs 30 periods of the forcing (T = 1 / 0.1643 = 6.086427) on the moving mesh, with four second-order filters of mode 6.4: at the frequency of the forcing, at twice and three times that frequency, and at frequency 0 (the mean flow). Each filter returns the real and the imaginary part of the amplitude of the flow at its frequency, averaged over the last 2 periods, with phase 0 at the start of the run. At phase 0 the orbit is the mean plus the sum of the real parts of the amplitudes over all harmonics, so plot.py rebuilds the orbit of stage 210 harmonic by harmonic and measures what is left in the norm of its fluctuation, over the nodes with -2 < x < 10 and abs(y) < 4. The reference checks that remainder after one, two and three harmonics, the size of each amplitude against the mean flow, the amplitude on the cylinder wall (plot.py writes it to bank_wall.dat; the exact value follows from the wall velocity, A 2 pi f), and the time of the last field. A wrong frequency, filter width or period changes the remainders. The remainder falls by the factors 0.40, 0.59 and 0.61 from one harmonic to the next and does not reach zero: the orbit has harmonics above the third. The values are those of the run named under produced.
| left_after_1_harmonic | 0.4011871 | ±0.02 rel |
| left_after_2_harmonics | 0.23616374 | ±0.02 rel |
| left_after_3_harmonics | 0.14513581 | ±0.03 rel |
| fundamental_over_mean | 0.58458792 | ±0.01 rel |
| second_harmonic_over_mean | 0.219583 | ±0.01 rel |
| third_harmonic_over_mean | 0.13668041 | ±0.02 rel |
| wall_fundamental | 1.1147907 | ±0.002 |
| wall_second_harmonic | 0 | ±0.001 |
| wall_mean | 0 | ±0.001 |
| last_snapshot_time | 182.59429 | ±0.005 |
Two side-by-side cylinders just above the critical Reynolds number: the unstable periodic orbit, its direct and adjoint Floquet stability and the wavemaker.
DNS of the flip-flop configuration (two cylinders) at Re = 62 from a uniform flow to t = 100. The stage writes the start fields of the later stages; its reference checks that the run reached its end time with the flow in the expected state: the norms of the last snapshot to the stated tolerance. The values are those of the run named under produced.
| last_snapshot_time | 100 | ±0.5 |
| snapshot_vx_norm | 337.6378 | ±0.01 rel |
| snapshot_vy_norm | 30.74154 | ±0.02 rel |
Flip-flop orbit (unstable periodic orbit) at Re = 62 by Newton-GMRES, started from the Re = 60 snapshot with the period 8.73356. The Newton iteration changes the period; the converged orbit has T = 8.815129, the time stamp of BF_2cyl0.f00001. The final residual must lie below the Newton tolerance 1e-8. Newton keeps the step count of its first iteration, 1199 steps per period: the time-discrete orbit depends on the step, and runs that chose the count again at each iteration ended at 1212 to 1221 steps, with periods 4e-5 apart. With the kept count the runs with and without a stored orbit (ifstorebase) give periods 4.2e-6 apart. The period and the five statistics of BF_2cyl0.f00001 identify the orbit.
| newton_final_residual | 0 | ±1e-08 |
| orbit_period | 8.8151294 | ±1e-05 rel |
| bf_vx_min | -0.1655216 | ±0.0005 rel |
| bf_vx_max | 1.308536 | ±0.0005 rel |
| bf_vx_norm | 337.2332 | ±0.0001 rel |
| bf_vy_min | -0.7087563 | ±0.0005 rel |
| bf_vy_max | 0.6994826 | ±0.0005 rel |
| newton_step_count | 1199 | ±0.5 |
Leading Floquet exponent sigma + i omega of the flip-flop orbit at Re = 62, row 1 of Spectre_NSd.dat, for the period T = 8.815129 (time stamp of BF_2cyl0.f00001, Newton at 1199 steps per period). The pair is just above the imaginary axis: the Neimark-Sacker bifurcation sits at Re_c,2 = 61.17. The orbits of Newton with and without a stored orbit give exponents 1.1e-7 apart in sigma and 2e-7 in omega; an orbit converged at another step count (1212 instead of 1199) moves sigma by 4e-6. The tolerance is 1e-6.
| floquet_leading_sigma | 0.007900166 | ±1e-06 |
| floquet_leading_omega | 0.1407729 | ±1e-06 |
Leading adjoint Floquet pair of the same orbit (period T = 8.815129), row 1 of Spectre_NSa.dat. It matches the direct pair of stage 311 (0.007900166 +/- 0.1407729): the adjoint exponent is 6.7e-6 lower. The tolerance is 1e-6.
| adjoint_leading_sigma | 0.007893515 | ±1e-06 |
| adjoint_leading_omega | 0.1407687 | ±1e-06 |
Orbit-averaged perturbation kinetic energy budget (userParam01 = 4.11) of the two Floquet modes of the flip-flop orbit at Re = 62. The period T = 8.815129 is the time stamp of BF_2cyl0.f00001. The budget must reproduce the Floquet exponent of stage 311, 7.900166e-3 (row 1 of Spectre_NSd_conv.dat): sigma = (P - D - S)/(2 E) with the production P, the dissipation D and the sponge damping S averaged over one orbit. With the weak-form dissipation nu int |grad q|^2 it closes to 0.40 % (1.2 % with the strong form q . lap q on an earlier orbit); the rest is first order in dt. The exponent from the energy of the marched mode after one period (no space derivative in it) is within 0.11 % of the eigenvalue. Without the sponge term the budget gives (P - D)/(2 E) = 8.417e-3 on this orbit (6.5 % above; 7.4 % on an earlier orbit) and fails the first two quantities. The stage computes the energy budget only: no wavemaker field and no overlap of the direct and adjoint modes, although the folder is named wavemaker. The sponge loss and the three field statistics are regression values of the run.
| sigma_budget_mode1 | 0.007900166 | ±0.02 rel |
| sigma_budget_mode2 | 0.007900166 | ±0.02 rel |
| sigma_energy_mode1 | 0.007900166 | ±0.005 rel |
| sponge_loss_mode1 | 0.0002437279 | ±0.02 rel |
| production_vx_max | 0.003388796 | ±0.01 rel |
| production_vy_max | 0.003876258 | ±0.01 rel |
| production_y_derivative_vy_min | -0.001032337 | ±0.01 rel |
The axisymmetric jet with harmonic forcing at St = 0.6: the forced periodic orbit by time-delayed feedback and by Newton, and its direct and adjoint Floquet stability.
TDF holds the flow on its unstable periodic orbit with the force g (q(t) - q(t - T)), T = 1 / 0.6. The run starts from the orbit at Re = 1900 and runs to t = 600, 360 forcing periods. residu.dat holds the root mean square over the domain of q(t) - q(t - T). plot.py fits residual = c t^p over t >= 100 and writes tdf_decay.dat: p, the residual at t = 100, at t = 300 and at the end, and the largest residual with its time. The residual rises from 8.2e-5 to 3.2e-4 at t = 21.5, then falls as a power law and does not reach residualTol = 1e-8, so the run writes no BF_tpjet0.f00001. The field at t = 600 lies at 1.9e-3 of the Newton orbit of 210_baseflow_newton in the relative velocity norm, the Re = 1900 seed at 1.05e-2 (measured once from the stored results). The values are those of the run named under produced.
| decay_exponent | -2.488431 | ±0.05 |
| residual_t100 | 5.316156e-06 | ±0.1 rel |
| residual_t300 | 3.811122e-07 | ±0.1 rel |
| residual_end | 6.531066e-08 | ±0.1 rel |
| residual_peak | 0.0003242033 | ±0.1 rel |
| time_of_peak | 21.45556 | ±1 |
| last_snapshot_time | 600.00556 | ±0.01 |
Newton-GMRES (mode 2.2) finds the field q(0) for which the flow after one forcing period, T = 1 / 0.6, returns to q(0). The seed is the orbit of the jet at Re = 1900 (polynomial order 5); the run is at Re = 2000. residu_newton.dat has one row per accepted Newton iterate: the iteration, the cumulative number of time steps, the steps of the iteration, the cumulative number of Arnoldi vectors, the time integrated, the tolerance of the pressure and velocity solves, the squared residual of the map and its target. The stage ends when the squared residual falls below the target, 1e-8. BF_tpjet0.f00001 is the orbit; its time stamp is the period. The values are those of the run named under produced.
| first_residual | 3.494146e-06 | ±0.05 rel |
| final_residual | 0 | ±1e-08 |
| n_iterations | 5 | ±1 |
| orbit_period | 1.6666667 | ±1e-06 rel |
| orbit_vx_max | 1.165825 | ±0.01 rel |
| orbit_vx_min | -0.1286818 | ±0.02 rel |
| orbit_vy_max | 0.332183 | ±0.02 rel |
| orbit_vy_min | -0.2537511 | ±0.02 rel |
| orbit_pr_min | -0.2003843 | ±0.02 rel |
Krylov-Schur (k_dim = 128, mode 3.11) on the map that takes a perturbation of the forced orbit to its value after one forcing period, T = 1 / 0.6. The orbit is the one of 210_baseflow_newton. Spectre_Hd.dat holds the Ritz values with their residuals; Spectre_Hd_conv.dat holds the converged multipliers by decreasing modulus, and Spectre_NSd_conv.dat the same as growth rate sigma = ln|mu| / T and frequency. The run stops at step 57 of 128, when the leading multiplier has converged (residual 1.4e-10) and has stood still for 5 steps; 13 Ritz values then meet the tolerance 1e-6. The other converged values lie on an arc inside the unit circle (modulus 0.93 to 0.84) that moves with the step at which the run stops, so they are not checked. The orbit closes to 4.6e-5 in the relative velocity norm (printed as Orbit closure in logfile). The leading multiplier is real and negative: the orbit is unstable by period doubling, with sigma = 0.0878. The mode norms are those of the mode files written by the solver, whose normalisation does not change between runs. The values are those of the run named under produced.
| leading_multiplier | -1.157676 | ±0.002 |
| leading_multiplier_imag | 0 | ±1e-06 |
| leading_sigma | 0.08784898 | ±0.002 |
| leading_mode_vx_norm | 52.47516 | ±0.02 rel |
| leading_mode_vy_norm | 27.4408 | ±0.02 rel |
Krylov-Schur (k_dim = 128, mode 3.21) on the adjoint of the map of 311_stability_direct_floquet: the solver stores the orbit of 210_baseflow_newton over one forcing period, T = 1 / 0.6, and integrates the adjoint equations backward over it. On an axisymmetric mesh the run needs the correction of the adjoint convection term in nekStab_forcing (axisymmetric_adjoint_term); without it the pressure residual grows by a factor of about 1.4 per step and the run returns multipliers of modulus 1e52. The run stops at step 56 of 128, when the leading multiplier has converged (residual 1.6e-11) and has stood still for 5 steps; 22 Ritz values then meet the tolerance 1e-6. The leading multiplier is real and negative, as in the direct map, and the two values differ by 4e-4 (3e-4 at k_dim = 40). The other converged multipliers of the adjoint map are not those of the direct map: the operator is strongly non-normal, and the second multiplier is -0.9654 at k_dim = 40, -0.9050 after 128 steps and -0.9063 after 56 steps, against -0.9241 +- 0.0458i in the direct map. Only the leading multiplier is checked. The adjoint mode peaks at the nozzle lip, z = 0.64 and r = 0.48, where the direct mode of 311 peaks at z = 20.6. The mode norms are those of the mode files written by the solver, whose normalisation does not change between runs. The values are those of the run named under produced.
| leading_multiplier | -1.157256 | ±0.002 |
| leading_multiplier_imag | 0 | ±1e-06 |
| direct_multiplier | -1.157676 | ±0.002 |
| leading_sigma | 0.08763089 | ±0.002 |
| leading_mode_vx_norm | 67.35882 | ±0.02 rel |
| leading_mode_vy_norm | 36.96594 | ±0.02 rel |
| leading_mode_vx_xpeak | 0.6414914 | ±1 |
| leading_mode_vx_ypeak | 0.4819576 | ±0.25 |
The buoyancy-driven annular thermosyphon just above the critical Rayleigh number: DNS, the Newton steady state and direct stability.
DNS of the thermosyphon at Ra = 500, Pr = 5, from rest to t = 200. The stage writes the start fields of the later stages; its reference checks that the run reached its end time with the flow in the expected state: the norms of the last snapshot to the stated tolerance. The values are those of the run named under produced.
| last_snapshot_time | 200 | ±0.5 |
| snapshot_vx_max | 0.3090768 | ±0.05 rel |
| snapshot_t_norm | 64.68825 | ±0.02 rel |
Thermosyphon steady base flow at Ra=500 via Newton-GMRES
| newton_final_residual | 0 | ±1e-11 |
Thermosyphon direct stability at Ra=500 (leading eigenvalue)
| leading_sigma | 0.1022193 | ±0.001 |
| leading_omega | 0 | ±0.001 |
A stable but non-normal open shear flow: the Newton base flow and the optimal transient growth at the horizons of Blackburn, Barkley and Sherwin (2008).
Backward-facing step steady base flow at Re=500 via DNS settle and Newton-GMRES (two phases in run.local.slurm). Regression values of this repository, reproduced on a cluster (ifort, 8 ranks) and in the June run.
| newton_final_residual | 0 | ±1e-08 |
| newton_iterations | 4 | ±1 |
| newton_first_residual | 7.03e-07 | ±0.05 rel |
Optimal energy gain at tau = 29.913, a reference abscissa of Blackburn, Barkley & Sherwin (2008) fig. 5 (G = 12273 read off the curve)
| optimal_gain | 13126.59 | ±0.01 rel |
The two-dimensional cavity of aspect ratio 1.5 with a regularized lid: DNS, the Newton steady state, direct and adjoint stability.
DNS of the lid-driven cavity (aspect ratio 1.5, regularized lid, Re = 3600, lx1 = 12) from the lid profile to t = 600. Re = 3600 is below the first Hopf bifurcation, so the flow relaxes to the steady state with the rate of the leading eigenvalue, 0.0168: the change of the field between t = 500 and t = 600 is 2.4e-5 in the norm of u. The two norm checks use the steady value (the t = 600 value of the run) for the snapshots at t = 500 and t = 600, so a run that has not relaxed by t = 500 fails.
| probe1_final | 0.008643553 | ±0.0002 rel |
| probe2_final | 0.01263754 | ±0.0002 rel |
| probe3_final | 0.006049668 | ±0.0002 rel |
| vx_norm_t500 | 17.85437 | ±0.0001 rel |
| vx_norm_t600 | 17.85437 | ±0.0001 rel |
| vx_min_t600 | -0.3325453 | ±0.001 rel |
| vy_max_t600 | 0.3116753 | ±0.001 rel |
Steady base flow of the lid-driven cavity by Newton-GMRES from the t = 100 DNS state of 000_dns (lx1 = 12). The seed is a fixed point to 4.3e-7 (squared L2 norm of the residual), and Newton needs 10 iterations and 117 Krylov vectors to reach the tolerance 1e-12. The tolerance applies to the squared norm, and the slowest mode decays at rate 0.0168 over the unit Newton time, so the field error is about sqrt(tol)/0.0167. At the tolerance 1e-9 the field stays 3e-3 from the steady state; at 1e-12 the seeds t = 100 and t = 600 give the same field to 8e-5.
| newton_final_residual | 0 | ±1e-12 |
| newton_first_residual | 4.347926e-07 | ±0.1 rel |
| bf_vx_min | -0.3323461 | ±0.0001 rel |
| bf_vx_norm | 17.85344 | ±0.0001 rel |
| bf_vy_min | -0.4627009 | ±0.0001 rel |
| bf_vy_max | 0.3116776 | ±0.0001 rel |
| bf_vy_norm | 13.74771 | ±0.0001 rel |
Leading eigenvalues of the lid-driven cavity at Re = 3600 (lx1 = 12), direct problem. The flow is linearly stable: a real eigenvalue -0.01679 and a complex pair -0.04192 +- 0.77156 i. The values depend on the resolution (table in the family README); the tolerance of 1e-4 is below the change between lx1 = 10 and 12. Base flow: the t = 100 Newton state of 210_baseflow_newton (tolerance 1e-12); the t = 600 base flow gave -0.04198 +- 0.77165 i.
| leading_sigma | -0.01679191 | ±0.0001 |
| pair_sigma | -0.04191884 | ±0.0001 |
| pair_omega | -0.7715632 | ±0.0001 |
Adjoint eigenvalues of the lid-driven cavity at Re = 3600 (lx1 = 12) compared with the DIRECT eigenvalues of 310_stability_direct: the adjoint operator has the spectrum of the direct one, so a match checks the adjoint. At lx1 = 12 the leading eigenvalues differ by 4e-6 (-0.016796 against -0.016792), the pair by 1.3e-5; the tolerance is 5e-5. The regularized lid has no corner singularity, so the adjoint problem is valid.
| leading_sigma_vs_direct | -0.01679191 | ±5e-05 |
| pair_sigma_vs_direct | -0.04191884 | ±5e-05 |
| pair_omega_vs_direct | -0.7715632 | ±5e-05 |
The three-dimensional lid-driven cavity just below the critical Reynolds number: the steady state, direct and adjoint stability, transient growth, the wavemaker and OTD.
DNS of the cubic cavity at Re = 1914 from rest to t = 100. The flow is close to the steady state but still oscillates (README). The stage writes the start fields of the later stages; its reference checks that the run reached its end time with the flow in the expected state: the norms of the last snapshot and the last probe value. The values are those of the run named under produced.
| last_snapshot_time | 100 | ±0.001 |
| snapshot_vx_max | 1.00239 | ±0.001 rel |
| snapshot_vx_norm | 100.9503 | ±0.001 rel |
| snapshot_vy_norm | 60.46442 | ±0.001 rel |
| probe_vy_final | -0.03141437 | ±1e-05 |
3D cubic cavity steady base flow at Re=1914, uniform lid, Newton-GMRES from a DNS field
| newton_first_residual | 8.98525e-06 | ±0.05 rel |
| newton_final_residual | 8.357035e-11 | ±1e-10 |
| newton_iterations | 12 | ±2 |
Direct stability (mode 3.1) about the steady flow of 210_baseflow_newton/fp at Re = 1914, uniform lid. The leading pair has a growth rate just below zero, so the flow is stable but close to the first Hopf bifurcation (Re = 1916.63). The expected values are those of the run named under produced, not literature values. The frequency of the leading pair agrees with St = 0.0934 of the thesis (Table 4.1): 2 pi St = 0.5869. The runs on 16 and on 40 ranks agree to 1e-8 on sigma and 1e-7 on omega, so the tolerance of 2e-6 on sigma is 200 times the spread between runs. It still fails the leading pair of the same flow at Re = 1920 (sigma = +5.84e-4, omega = 0.58679, cubic_cavity_re1920/310_stability_direct) and any run at a Reynolds number that is wrong by more than 0.02 (d sigma / d Re = 1.3e-4 per unit of Re). The second pair is stable, sigma = -0.0205, omega = 0.5609; it checks that the leading pair is the only one near the imaginary axis.
| leading_sigma | -0.0001829623 | ±2e-06 |
| leading_omega | 0.5868358 | ±0.0001 |
| second_sigma | -0.02049337 | ±0.0001 |
| second_omega | 0.5609375 | ±0.0005 |
Leading pair (T1) of the adjoint at Re=1914, uniform lid; equals the direct pair to 2e-4 in sigma
| leading_sigma | -0.0003357213 | ±0.001 |
| leading_omega | 0.5872292 | ±0.002 |
Optimal energy gain of the steady cubic-cavity flow at Re = 1914 for the horizon tau = 10: the two leading eigenvalues of M^H M. plot.py also computes the kinetic energy of the stored optimal perturbation and of its response with GLL quadrature. The perturbation has unit energy, and the energy of the response divided by that of the perturbation equals G when the adjoint integration is the transpose of the forward one. The values are those of the run named under produced.
| optimal_gain | 229.1873 | ±0.0001 rel |
| second_gain | 215.9559 | ±0.0001 rel |
| perturbation_energy | 1 | ±1e-05 |
| response_energy_ratio_over_gain | 0.997 | ±0.005 |
Regression values of this repository (not literature values): structural-sensitivity (wavemaker) field of the Re=1914 cubic cavity from the leading direct and adjoint modes of the runs of 310 and 320, on the base flow of 210/fp. The peak position is not checked: the field has two maxima that differ by 0.4 %, at (-0.365, -0.244, 0) and (-0.307, 0.333, 0).
| wavemaker_max | 44.99398 | ±0.001 rel |
| wavemaker_norm | 2187.618 | ±0.001 rel |
The base flow is the steady flow of 210_baseflow_newton, frozen (userParam01 = 5). lpert = 2, and the seeds are the real and imaginary parts of the leading eigenmode of 310_stability_direct, so the basis starts on the invariant plane of the pair sigma = -1.829623e-4, omega = 0.586836 (Spectre_NSd.dat). Every expected value below comes from that stage, not from a run of this one. The two diagonal entries of the reduced operator Lr rotate with the pair (they swing between +0.16 and -0.16), so only their mean is compared with sigma. plot.py writes otd_summary.dat: the mean of the entries at t = 0 and at the end, the spread of that mean after t = 0, the mean of the two running exponents at the end and the sine of the largest principal angle between the OTD basis and the plane of the eigenpair (energy inner product, GLL quadrature). Observed on a cluster with 40 ranks (25 or 26 of the 65 elements per rank that SIZE allows): the mean of the entries is -1.8320e-4 from t = 0 to t = 30 (2.4e-7 below sigma, spread 8.6e-7), the mean of the running exponents -1.8323e-4, the sine 4.7e-7. Each tolerance fails a defect that a run of this stage met: a forcing product that assumes the storage spacing of the basis equals the number of local elements gave sine 0.35; the viscous term in strong form gave a mean of -4.0e-3 at t = 0; the gradient of the pressure that mappr averages across the element faces moved the mean to -3.86e-4 after the first step.
| entries_mean_start | -0.0001829623 | ±2e-06 |
| entries_mean_final | -0.0001829623 | ±2e-06 |
| entries_mean_spread | 0 | ±1e-05 |
| ftle_mean_final | -0.0001829623 | ±2e-06 |
| plane_sine_final | 0 | ±1e-05 |
The cubic cavity just above the critical Reynolds number: the unstable steady state and its direct stability.
DNS of the cubic cavity at Re = 1900 from rest to t = 100. The flow is close to the steady state but still oscillates (README). The stage writes the start field of 210_baseflow_newton/fp; its reference checks that the run reached its end time with the flow in the expected state: the norms of the last snapshot and the last probe value. The values are those of the run named under produced.
| last_snapshot_time | 100 | ±0.001 |
| snapshot_vx_max | 1.00239 | ±0.001 rel |
| snapshot_vx_norm | 101.04302 | ±0.001 rel |
| snapshot_vy_norm | 60.51102 | ±0.001 rel |
| probe_vy_final | -0.031440771 | ±1e-05 |
3D cubic cavity steady base flow at Re=1920 (above Re_c = 1916.63, so unstable), uniform lid, Newton-GMRES from the last DNS field at Re=1900. Regression values of this repository, not literature values.
| newton_first_residual | 8.496308e-06 | ±0.05 rel |
| newton_iterations | 12 | ±2 |
| newton_final_residual | 0 | ±1e-10 |
| bf_vx_norm | 101.228 | ±0.001 rel |
| bf_vy_norm | 60.7436 | ±0.001 rel |
| bf_vz_norm | 8.11644 | ±0.001 rel |
Direct stability (mode 3.1) about the steady flow of 210_baseflow_newton/fp at Re = 1920, uniform lid. The leading pair has a positive growth rate, so the steady flow is unstable: Re = 1920 lies above the first Hopf bifurcation. The expected values are those of the run named under produced, not literature values. The frequency of the leading pair agrees with St = 0.0934 of the thesis (Table 4.1): 2 pi St = 0.5869. The leading pair of the same flow at Re = 1914 has sigma = -1.8296e-4 and omega = 0.58684 (cubic_cavity_re1914/310_stability_direct), so the tolerance of 2e-5 on sigma fails that stage and any run at a wrong Reynolds number (d sigma / d Re = 1.3e-4 per unit of Re). The second pair is stable, sigma = -0.0211, omega = 0.561; it checks that the unstable pair is the only one.
| leading_sigma | 0.0005844761 | ±2e-05 |
| leading_omega | 0.586787 | ±0.0001 |
| second_sigma | -0.02105958 | ±0.001 |
| second_omega | 0.5608464 | ±0.002 |
The saturated limit cycle of the cubic cavity: its period, direct and adjoint Floquet stability, a DNS check of the unstable pair, POD and DMD of the cycle, and the DMT filter bank on the cycle.
The run starts from the on-orbit field of 000_dns_period at t = 1700 and integrates 100 time units, about 9.3 periods, with a snapshot every 0.5 time units. plot.py fits a mean and three harmonics with a free frequency to the signal of the probe at (0.25, 0.25, 0) and compares the half range of the signal in the last whole period with the first. The reference checks that the cycle keeps the period of 000_dns_period, that its amplitude stays constant, and that the last snapshot holds the expected field norms. A start field off the cycle changes the amplitude from one period to the next, and a wrong Reynolds number or mesh changes the period. The values are those of the run named under produced.
| period_fit | 10.7891 | ±1e-05 rel |
| fit_rms | 5.1456e-07 | ±1e-06 |
| probe_mean | -0.032123355 | ±0.001 rel |
| probe_half_range | 0.001413634 | ±0.002 rel |
| amplitude_ratio | 1.0000021 | ±0.001 |
| last_snapshot_time | 1800 | ±0.001 |
| snapshot_vx_max | 1.00239 | ±0.001 rel |
| snapshot_vx_norm | 100.9875 | ±0.001 rel |
| snapshot_vy_norm | 60.51544 | ±0.002 rel |
| snapshot_vz_norm | 8.240292 | ±0.005 rel |
DNS of the cubic cavity at Re = 1950 from the steady flow of Re = 1914 until the limit cycle has saturated (t = 1800). plot.py measures the period of the probe signal at the cavity centre over t = 1400 to the end of the run, by a harmonic fit, by the FFT peak and by the zero-crossing count. The Floquet stages integrate over the fitted period. The reference holds the three estimates, the rms residual of the fit, and the mean and half-range of the probe signal. The values are those of the run named under produced.
| period_fit | 10.78909 | ±1e-05 rel |
| period_fft | 10.78915 | ±0.0001 rel |
| period_crossings | 10.7891 | ±2e-05 rel |
| fit_rms | 3.64e-07 | ±1e-06 |
| probe_mean | 0.02673643 | ±0.001 rel |
| probe_half_range | 0.000667449 | ±0.002 rel |
Regression value of this repository (not a literature value): leading Floquet pair of the Re=1950 limit cycle with the uniform lid, T = 10.78909. The pair lies outside the unit circle (|mu| = 1.0319).
| leading_sigma | 0.002907858 | ±0.0005 |
| leading_omega | 0.1445052 | ±0.02 rel |
Regression value of this repository (not a literature value): leading adjoint Floquet pair of the Re=1950 limit cycle with the uniform lid, T = 10.78909; equals the direct pair of 311 to 1 % in sigma.
| leading_sigma | 0.002880611 | ±0.0005 |
| leading_omega | 0.1445734 | ±0.02 rel |
DNS of the unstable Re=1950 limit cycle (orbit plus a small part of the leading Floquet mode), compared with the Floquet pair of ../311_stability_direct_floquet. plot.py fits the once-per-period deviation of the probe and writes floquet_vs_dns.dat. The two relative errors are pass criteria (growth rate within 20 %, frequency within 5 %); the DNS growth rate is a regression value of this repository, not a literature value.
| sigma_dns | 0.003336704 | ±0.3 rel |
| relerr_sigma_vs_floquet | 0 | ±0.2 |
| relerr_omega_vs_floquet | 0 | ±0.05 |
Mode 4.11 marches the real and the imaginary part of the leading Floquet mode of 311_stability_direct_floquet over one period T = 10.78909 of the limit cycle on a stored copy of the orbit, and averages the terms of the energy equation with the weight exp(-2 sigma t) dt / T. The cavity is closed and has no sponge, so the balance P - D = sigma E holds exactly for the continuous problem. The reference checks the growth rate from the energy of the marched mode against the Floquet exponent, the gap of the balance in units of the dissipation, and regression values of the production, the dissipation, the energy and the sponge damping. The growth rate from the budget, (P - D) / E, is not checked: the terms P / E and D / E are 175 times larger than sigma, so it carries 175 times the error of the two integrals (README). The values are those of the run named under produced; the dissipation is the weak form nu int |grad q|^2.
| sigma_energy | 0.002907859 | ±0.005 rel |
| balance_gap_over_dissipation | 0 | ±0.01 |
| production | 0.2328361 | ±0.002 rel |
| minus_dissipation | -0.2314817 | ±0.002 rel |
| energy | 0.4566154 | ±0.002 rel |
| sponge_damping | 0 | ±1e-12 |
The stage reads 100 snapshots of 000_dns, one every 0.5 time units from t = 1740 to 1789.5, about 4.6 periods of the cycle, and computes the POD by the method of snapshots. For a cycle the leading modes come in a pair whose coefficients turn once per period, and the nonlinearity adds a second pair at twice the frequency. The reference checks the energy of the four leading modes, the energy of the first pair, the rates at which the first five pairs turn against 2 pi / T (1 to 5), and the largest eigenvalue. A wrong snapshot window, a wrong period or a wrong normalisation changes these numbers. The values are those of the run named under produced.
| energy_mode1_percent | 57.558034 | ±0.05 |
| energy_mode2_percent | 36.707663 | ±0.05 |
| energy_pair_percent | 94.265697 | ±0.05 |
| energy_mode3_percent | 2.7794953 | ±0.02 |
| energy_mode4_percent | 2.5593744 | ±0.02 |
| cumulative_energy_4_modes_percent | 99.604566 | ±0.02 |
| pair_frequency_ratio | 1.0005094 | ±0.002 |
| second_pair_frequency_ratio | 1.9998 | ±0.003 |
| third_pair_frequency_ratio | 2.9989 | ±0.003 |
| fourth_pair_frequency_ratio | 3.9981 | ±0.003 |
| fifth_pair_frequency_ratio | 4.9975 | ±0.003 |
| eigenvalue_mode1 | 8.6787665e-05 | ±0.005 rel |
The stage reads 100 snapshots of 000_dns, one every 0.5 time units from t = 1740 to 1789.5, about 4.6 periods of the cycle, and computes 20 DMD modes. A flow on a limit cycle of period T has the frequencies n 2 pi / T and a growth rate of zero. plot.py takes, for n = 1 to 6, the mode with the positive frequency nearest to n 2 pi / T (T = 10.78909, the period of 000_dns_period). The reference checks the frequency of each of these six modes against n 2 pi / T, the growth rate of the fundamental, the largest modulus of the eigenvalues, and the energy of each of the four leading singular values of the snapshot matrix. A wrong snapshot spacing, window or period moves the frequencies off the harmonics. The values are those of the run named under produced.
| max_abs_mu | 0.999978 | ±5e-05 |
| harmonic_1_ratio | 1.0002976 | ±0.002 |
| harmonic_2_ratio | 1.999606 | ±0.002 |
| harmonic_3_ratio | 3.0002333 | ±0.002 |
| harmonic_4_ratio | 4.000105 | ±0.002 |
| harmonic_5_ratio | 4.999702 | ±0.002 |
| harmonic_6_ratio | 6.0004151 | ±0.002 |
| sigma_fundamental | -0.000383548 | ±0.0005 |
| svd_mode1_energy_percent | 57.119991 | ±0.1 |
| svd_mode2_energy_percent | 37.137578 | ±0.1 |
| svd_mode3_energy_percent | 2.7533279 | ±0.05 |
| svd_mode4_energy_percent | 2.5927006 | ±0.05 |
The DNS starts from the on-orbit field of 000_dns_period and runs 15 periods of the cycle (T = 10.78909) with four second-order filters of mode 6.4: at the frequency of the cycle, at twice and three times that frequency, and at frequency 0 (the mean flow). Each filter returns the real and the imaginary part of the amplitude of the flow at its frequency, averaged over the last 4 periods. plot.py rebuilds the last field from the filters, the mean plus the real part of the amplitude of harmonic k times exp(i k omega t), and measures what is left in the norm of the fluctuation. The reference checks that remainder after one, two and three harmonics, the size of each amplitude against the mean flow, how well each filter has settled by the start of the averaging window, and the time of the last field. A wrong frequency, filter width or period changes the remainders. The values are those of the run named under produced.
| left_after_1_harmonic | 0.22741233 | ±0.02 rel |
| left_after_2_harmonics | 0.059123431 | ±0.02 rel |
| left_after_3_harmonics | 0.019239505 | ±0.03 rel |
| fundamental_over_mean | 0.086923156 | ±0.01 rel |
| second_harmonic_over_mean | 0.021074569 | ±0.01 rel |
| third_harmonic_over_mean | 0.0056924913 | ±0.02 rel |
| settling_of_slowest_filter | 0.99335735 | ±0.01 |
| last_snapshot_time | 161.83635 | ±0.001 |
The wake of a NACA 0012 airfoil: DNS, the Newton steady state with sponge, direct and adjoint stability and the wavemaker.
NACA 0012 Re=2000 DNS from a finite-amplitude Re=2000 wake restart; the wake rings down. The late-window DNS frequency agrees with the leading eigenvalue of 310_stability_direct (omega = 8.00579) to 0.75 %, and the decay rates (-0.0638 from the Hilbert envelope, -0.0654 from the window amplitude ratio) with sigma = -0.0665382 to 4 % and 2 %.
| dominant_frequency | 1.2837607 | ±0.02 rel |
| late_amplitude | 2.93585e-05 | ±0.02 rel |
| fitted_sigma | -0.063802166 | ±0.02 rel |
| fitted_omega | 8.0661065 | ±0.02 rel |
| sigma_window_ratio | -0.065368258 | ±0.02 rel |
NACA 0012 steady base flow at Re=2000 by Newton-GMRES from the t = 70 snapshot of the DNS stage. Regression values of this repository, not literature values. The seed is not converged, so the first residual and the iteration count test the Newton solver, and the field statistics test its result. The sponge forces the flow toward the seed (spng_vr), so the statistics belong to this seed: Newton from another start field gives a base flow that differs by 1e-2 (relative l2 norm of the velocity), mostly in the sponge zone.
| newton_first_residual | 6.083e-07 | ±0.02 rel |
| newton_iterations | 5 | ±1 |
| newton_final_residual | 0 | ±1e-09 |
| bf_vx_norm | 383.3825 | ±0.001 rel |
| bf_vy_norm | 22.21925 | ±0.001 rel |
| bf_vx_max | 1.241037 | ±0.001 rel |
Regression value of this repository (not a literature value): leading pair and the stable pair sigma = -0.557 +- 9.433 i of the NACA 0012 steady flow at Re=2000. The pair is read by row: row 9 of Spectre_NSd_conv.dat (row 8 is its conjugate), because check_against_ref.py cannot select a row by value. The rows come from schur_tgt 8, maxmodes 10, k_dim 240; a run with other settings may order the rows differently.
| leading_sigma | -0.06653824 | ±0.005 |
| leading_omega | 8.005787 | ±0.01 rel |
| pair_sigma | -0.5567858 | ±0.005 |
| pair_omega | 9.433248 | ±0.01 rel |
NACA 0012 adjoint global stability at Re=2000: leading eigenvalue and the stable pair sigma = -0.557 +- 9.433 i. The pair is read by row: row 9 of Spectre_NSa.dat (row 8 is its conjugate), because check_against_ref.py cannot select a row by value. The rows come from schur_tgt 8, maxmodes 10, k_dim 240; a run with other settings may order the rows differently.
| leading_sigma | -0.0665164 | ±0.001 |
| leading_omega | 8.00577 | ±0.01 |
| pair_sigma | -0.5568205 | ±0.005 |
| pair_omega | 9.433214 | ±0.01 rel |
NACA 0012 Re=2000 mode-4 post-processing: wavemaker maximum and location from wm_naca00120.f00001
| wm_max | 57.896751 | ±0.001 rel |
| wm_x_at_max | 0.90037745 | ±0.001 |
| wm_y_at_max | -0.078585461 | ±0.001 |
| wm_mean | 0.98948703 | ±0.001 rel |
OTD modes about the laminar channel profile, compared with theory.
The expected values are exact or from theory, not read back from an OTD run. Mode 1 is x-independent and decays by viscosity alone: -nu (pi/2)^2 = -4.934802e-4. Modes 2 and 3 span the Tollmien-Schlichting wave of wavenumber 1, whose Orr-Sommerfeld eigenvalue at Re = 5000 is -0.00175034 +- 0.26813148 i. The eigenvalues in otd_eigenvalues.dat are the diagonal entries of the upper triangular reduced operator, so the pair appears as two real numbers whose mean is the real part sigma. At t = 5000 the run gave -4.935447e-4, -1.749857e-3 and -1.749860e-3: mode 1 is 6.4e-8 from its exact value (the error falls by a factor 12 per 1000 time units) and both entries of the pair are 2.7e-4 (relative) from sigma. In a run to t = 10000 the entries of the pair and their mean stay within 2.8e-4 of sigma from t = 5000 to the end, and mode 1 is within 2e-10 of its exact value from t = 7219. The tolerance of 5e-4 fails the pair of an earlier version of the reduced operator (-1.751402e-3 and -1.752725e-3 at t = 5000, 6.1e-4 and 1.4e-3 from sigma).
| otd_eigenvalue_1_final | -0.0004934802 | ±0.0005 rel |
| otd_eigenvalue_2_final | -0.00175034 | ±0.0005 rel |
| otd_eigenvalue_3_final | -0.00175034 | ±0.0005 rel |
DNS of a slot jet with a synthetic free-stream turbulence inflow.
DNS of a slot jet at Re = 495 from a uniform field, with the synthetic free-stream turbulence inflow of FST_data/FST_inflow.bin. The reference checks the time stamp of the last field and its statistics: the maximum of vx, the minimum of vy and the L2 norms of vx and vy. They are regression values of this repository: a change of the solver, the mesh or the inflow moves them. The values are those of the run named under produced.
| last_snapshot_time | 100 | ±0.001 |
| snapshot_vx_max | 1.272159 | ±0.001 rel |
| snapshot_vx_norm | 376.7898 | ±0.001 rel |
| snapshot_vy_min | -0.3542492 | ±0.001 rel |
| snapshot_vy_norm | 49.68181 | ±0.001 rel |