Litcius/Paper detail

flowTorch - a Python library for analysis and reduced-order modeling of fluid flows

Andre Weiner, Richard Semaan

2021The Journal of Open Source Software14 citationsDOIOpen Access PDF

Abstract

The flowTorch library enables researchers to access, analyze, and model fluid flow data from experiments or numerical simulations. Instead of a black-box end-to-end solution, flowTorch provides modular components allowing to assemble transparent and reproducible workflows with ease. Popular data formats for fluid flows like OpenFOAM, VTK, or DaVis may be accessed via a common interface in a few lines of Python code. Internally, the data are organized as PyTorch tensors. Relying on PyTorch tensors as primary data structure enables fast array operations, parallel processing on CPU and GPU, and exploration of novel deep learning-based analysis and modeling approaches. The flowTorch packages also includes a collection of Jupyter notebooks demonstrating how to apply the library components in a variety of different use cases, e.g., finding coherent flow structures with modal analysis or creating reduced-order models.

Topics & Concepts

Python (programming language)Computer scienceProgramming languageModel Reduction and Neural NetworksFluid Dynamics and Turbulent FlowsFluid Dynamics and Vibration Analysis