aPriori: a Python package to process direct numerical simulations
Abstract
In the field of computational fluid dynamics, direct numerical simulations generate highly detailed data for the analysis of turbulent flows by resolving all relevant physical scales. Yet their large size, complexity, and heterogeneity make systematic post-processing and data reuse increasingly challenging. Despite the growing availability of high-fidelity simulations through public repositories, extracting meaningful physical insight often requires substantial technical effort, specialized workflows, and access to high-performance computing resources. In this article we introduce aPriori, an open-source Python package developed to address these limitations by providing a dedicated, memory-efficient, and user-oriented framework for the analysis of direct numerical simulation data. The software enables streamlined handling of three-dimensional fields, including filtering, scale separation, gradient evaluation, thermochemical analysis, and visualization, using concise and reproducible scripts. Its pointer-based data management strategy allows very large datasets to be processed on standard workstations without excessive memory usage, significantly lowering the barrier to advanced analysis. Beyond basic post-processing, aPriori supports workflows central to modern turbulence and combustion research, such as a priori model assessment, data-driven closure development, and detailed chemical analyses that include computational singular perturbation. By unifying these capabilities within a coherent and extensible software architecture, aPriori enhances productivity, promotes reproducibility, and facilitates broader and more effective use of high-fidelity simulation data within the computational fluid dynamics community.
Turn this paper into a full lesson
ArcXiv compiles a staged curriculum from this paper: 8-12 lessons across beginner → advanced, synthesised section guides, visuals, flashcards, a quiz, exercises, and on-demand deep dives per section. Grounded in the abstract, never invented.