JAX-FLUIDS: A fully-differentiable high-order computational fluid
dynamics solver for compressible two-phase flows
- URL: http://arxiv.org/abs/2203.13760v1
- Date: Fri, 25 Mar 2022 16:38:24 GMT
- Title: JAX-FLUIDS: A fully-differentiable high-order computational fluid
dynamics solver for compressible two-phase flows
- Authors: Deniz A. Bezgin, Aaron B. Buhendwa, Nikolaus A. Adams
- Abstract summary: We propose JAX-FLUIDS: a comprehensive Python CFD solver for compressible two-phase flows.
JAX-FLUIDS allows the simulation of complex fluid dynamics with phenomena like three-dimensional turbulence, compressibility effects, and two-phase flows.
- Score: 0.0
- License: http://creativecommons.org/licenses/by-nc-nd/4.0/
- Abstract: Physical systems are governed by partial differential equations (PDEs). The
Navier-Stokes equations describe fluid flows and are representative of
nonlinear physical systems with complex spatio-temporal interactions. Fluid
flows are omnipresent in nature and engineering applications, and their
accurate simulation is essential for providing insights into these processes.
While PDEs are typically solved with numerical methods, the recent success of
machine learning (ML) has shown that ML methods can provide novel avenues of
finding solutions to PDEs. ML is becoming more and more present in
computational fluid dynamics (CFD). However, up to this date, there does not
exist a general-purpose ML-CFD package which provides 1) powerful
state-of-the-art numerical methods, 2) seamless hybridization of ML with CFD,
and 3) automatic differentiation (AD) capabilities. AD in particular is
essential to ML-CFD research as it provides gradient information and enables
optimization of preexisting and novel CFD models. In this work, we propose
JAX-FLUIDS: a comprehensive fully-differentiable CFD Python solver for
compressible two-phase flows. JAX-FLUIDS allows the simulation of complex fluid
dynamics with phenomena like three-dimensional turbulence, compressibility
effects, and two-phase flows. Written entirely in JAX, it is straightforward to
include existing ML models into the proposed framework. Furthermore, JAX-FLUIDS
enables end-to-end optimization. I.e., ML models can be optimized with
gradients that are backpropagated through the entire CFD algorithm, and
therefore contain not only information of the underlying PDE but also of the
applied numerical methods. We believe that a Python package like JAX-FLUIDS is
crucial to facilitate research at the intersection of ML and CFD and may pave
the way for an era of differentiable fluid dynamics.
Related papers
- Learning Controlled Stochastic Differential Equations [61.82896036131116]
This work proposes a novel method for estimating both drift and diffusion coefficients of continuous, multidimensional, nonlinear controlled differential equations with non-uniform diffusion.
We provide strong theoretical guarantees, including finite-sample bounds for (L2), (Linfty), and risk metrics, with learning rates adaptive to coefficients' regularity.
Our method is available as an open-source Python library.
arXiv Detail & Related papers (2024-11-04T11:09:58Z) - Recent Advances on Machine Learning for Computational Fluid Dynamics: A Survey [51.87875066383221]
This paper introduces fundamental concepts, traditional methods, and benchmark datasets, then examine the various roles Machine Learning plays in improving CFD.
We highlight real-world applications of ML for CFD in critical scientific and engineering disciplines, including aerodynamics, combustion, atmosphere & ocean science, biology fluid, plasma, symbolic regression, and reduced order modeling.
We draw the conclusion that ML is poised to significantly transform CFD research by enhancing simulation accuracy, reducing computational time, and enabling more complex analyses of fluid dynamics.
arXiv Detail & Related papers (2024-08-22T07:33:11Z) - JAX-Fluids 2.0: Towards HPC for Differentiable CFD of Compressible
Two-phase Flows [0.0]
JAX-Fluids is a Python-based fully-differentiable CFD solver designed for compressible single- and two-phase flows.
We introduce a parallelization strategy utilizing JAX primitive operations that scales efficiently on GPU (up to 512 NVIDIA A100 graphics cards) and TPU (up to 1024 TPU v3 cores) HPC systems.
The new code version offers enhanced two-phase flow modeling capabilities.
arXiv Detail & Related papers (2024-02-07T19:05:27Z) - In Situ Framework for Coupling Simulation and Machine Learning with
Application to CFD [51.04126395480625]
Recent years have seen many successful applications of machine learning (ML) to facilitate fluid dynamic computations.
As simulations grow, generating new training datasets for traditional offline learning creates I/O and storage bottlenecks.
This work offers a solution by simplifying this coupling and enabling in situ training and inference on heterogeneous clusters.
arXiv Detail & Related papers (2023-06-22T14:07:54Z) - FluidLab: A Differentiable Environment for Benchmarking Complex Fluid
Manipulation [80.63838153351804]
We introduce FluidLab, a simulation environment with a diverse set of manipulation tasks involving complex fluid dynamics.
At the heart of our platform is a fully differentiable physics simulator, providing GPU-accelerated simulations and gradient calculations.
We propose several domain-specific optimization schemes coupled with differentiable physics.
arXiv Detail & Related papers (2023-03-04T07:24:22Z) - Data-driven, multi-moment fluid modeling of Landau damping [6.456946924438425]
We apply a deep learning architecture to learn fluid partial differential equations (PDEs) of a plasma system.
The learned multi-moment fluid PDEs are demonstrated to incorporate kinetic effects such as Landau damping.
arXiv Detail & Related papers (2022-09-10T19:06:12Z) - A fully-differentiable compressible high-order computational fluid
dynamics solver [0.0]
compressible Navier-Stokes equations govern compressible flows and allow for complex phenomena like turbulence and shocks.
Despite tremendous progress in hardware and software, the smallest length-scales in fluid flows still introduces prohibitive computational cost for real-life applications.
We present a fully-differentiable three-dimensional framework for the computation of compressible fluid flows using high-order state-of-the-art numerical methods.
arXiv Detail & Related papers (2021-12-09T15:18:51Z) - Real-time simulation of parameter-dependent fluid flows through deep
learning-based reduced order models [0.2538209532048866]
Reduced order models (ROMs) provide reliable approximations to parameter-dependent fluid dynamics problems in rapid times.
Deep learning (DL)-based ROMs overcome all these limitations by learning in a non-intrusive way both the nonlinear trial manifold and the reduced dynamics.
The resulting POD-DL-ROMs are shown to provide accurate results in almost real-time for the flow around a cylinder benchmark, the fluid-structure interaction between an elastic beam attached to a fixed, rigid block and a laminar incompressible flow, and the blood flow in a cerebral aneurysm.
arXiv Detail & Related papers (2021-06-10T13:07:33Z) - Combining Differentiable PDE Solvers and Graph Neural Networks for Fluid
Flow Prediction [79.81193813215872]
We develop a hybrid (graph) neural network that combines a traditional graph convolutional network with an embedded differentiable fluid dynamics simulator inside the network itself.
We show that we can both generalize well to new situations and benefit from the substantial speedup of neural network CFD predictions.
arXiv Detail & Related papers (2020-07-08T21:23:19Z) - DiscretizationNet: A Machine-Learning based solver for Navier-Stokes
Equations using Finite Volume Discretization [0.7366405857677226]
The goal of this work is to develop an ML-based PDE solver, that couples important characteristics of existing PDE solvers with Machine Learning technologies.
Our ML-solver, DiscretizationNet, employs a generative CNN-based encoder-decoder model with PDE variables as both input and output features.
A novel iterative capability is implemented during the network training to improve the stability and convergence of the ML-solver.
arXiv Detail & Related papers (2020-05-17T19:54:19Z) - A Near-Optimal Gradient Flow for Learning Neural Energy-Based Models [93.24030378630175]
We propose a novel numerical scheme to optimize the gradient flows for learning energy-based models (EBMs)
We derive a second-order Wasserstein gradient flow of the global relative entropy from Fokker-Planck equation.
Compared with existing schemes, Wasserstein gradient flow is a smoother and near-optimal numerical scheme to approximate real data densities.
arXiv Detail & Related papers (2019-10-31T02:26:20Z)
This list is automatically generated from the titles and abstracts of the papers in this site.
This site does not guarantee the quality of this site (including all information) and is not responsible for any consequences.