BASIC: a modular high-fidelity python-based solver for computational fluid dynamics - applications on Cartesian grids
Abstract
BASIC is a modular and adaptable computational fluid dynamics (CFD) solver designed to streamline high-fidelity simulations. Its Python implementation offers key advantages, including ease of use, portability, and an extensive ecosystem of optimized libraries. With pre-implemented MPI communications and numerical discretization schemes, it minimizes development effort while ensuring efficiency and accuracy. Its low numerical dissipation makes it particularly well-suited for direct numerical simulations, capturing fine-scale turbulence with minimal artificial damping. While primarily developed for CFD applications, its flexible structure allows it to solve a broad range of partial differential equations with minimal code modifications. The solver’s versatility was demonstrated through the heat-diffusion problem, three non-reactive and one reactive flow configuration, each governed by a distinct set of equations, highlighting its ability to handle diverse fluid dynamics problems and beyond. These features position BASIC as both a practical simulation tool and an adaptable platform for research and method development in mechanical sciences.