Reproducibility Package for "Vortex-Merger Thermodynamics in 2D Turbulence: A Metriplectic Scenario for the Onsager Anomaly"
收藏资源简介:
This archive provides the reproducibility package for the manuscript "Vortex-Merger Thermodynamics in 2D Turbulence: A Metriplectic Scenario for the Onsager Anomaly". It contains a minimal, self-contained set of data and Python scripts needed toreproduce - the dissipation–saturation figure (viscous, event, and total dissipation versus effective Reynolds number), and- the robustness diagnostics with respect to particle number N and random seeds, without requiring access to the production solver or large-scale computingresources. Contents (top-level layout): - data/raw/epsilon_events_ensemble.csv: pre-computed ensemble of metriplectic point-vortex runs, generated offline with the Average Discrete Gradient (ADG) solver described in the paper;- data/processed/*.csv: processed summary tables (ensemble means and standard deviations, dissipation vs Re_eff) used directly for plotting;- NS_reference/: lightweight 2D pseudo-spectral Navier–Stokes solver and the corresponding viscous dissipation vs Re_eff datasets, including optional high-resolution runs at 256^2 and 512^2;- src/: small helper scripts for rebuilding the processed tables and producing all figures from the raw and processed CSV files;- docs/: short notes documenting the discrete vortex metriplectic model and the simulation protocol used to generate the ensemble. Quick usage: python -m src.parameter_sweep python NS_reference/generate_viscous_data.py # optional; regenerates NS curve python -m src.plot_dissipation_saturation python -m src.plot_robustness This will regenerate the main dissipation-saturation figure and the robustnessplots reported in the accompanying Letter.



