Skip to main content
QUICK REVIEW

[Paper Review] Lat-Net: Compressing Lattice Boltzmann Flow Simulations using Deep Neural Networks

Oliver Hennigh|arXiv (Cornell University)|May 25, 2017
Lattice Boltzmann Simulation StudiesEngineering14 references66 citations
TL;DR

Lat-Net compresses Lattice Boltzmann simulations by learning a compact latent representation and dynamics, enabling faster and memory-efficient fluid and electromagnetism simulations that can scale to larger grids.

ABSTRACT

Computational Fluid Dynamics (CFD) is a hugely important subject with applications in almost every engineering field, however, fluid simulations are extremely computationally and memory demanding. Towards this end, we present Lat-Net, a method for compressing both the computation time and memory usage of Lattice Boltzmann flow simulations using deep neural networks. Lat-Net employs convolutional autoencoders and residual connections in a fully differentiable scheme to compress the state size of a simulation and learn the dynamics on this compressed form. The result is a computationally and memory efficient neural network that can be iterated and queried to reproduce a fluid simulation. We show that once Lat-Net is trained, it can generalize to large grid sizes and complex geometries while maintaining accuracy. We also show that Lat-Net is a general method for compressing other Lattice Boltzmann based simulations such as Electromagnetism.

Motivation & Objective

  • Motivate the high memory and compute costs of CFD and LBM simulations.
  • Propose a neural network-based compression framework to reduce state size and accelerate dynamics in LBM.
  • Demonstrate generalization to larger grids and different geometries.
  • Show applicability to electromagnetic simulations to emphasize method generality.

Proposed method

  • Encode both the flow state f_t and boundary b into a compressed latent representation using two encoders.
  • Apply a boundary-equipped compression mapping that combines g_t with learned boundary factors (b_mul, b_add).
  • Use a dynamics module φ_comp to advance the compressed state by multiple LBM steps per network step.
  • Decode the compressed state with a decoder φ_dec to obtain the full or partial flow state as needed.
  • Train the model end-to-end by unrolling for multiple time steps and optimizing a loss composed of Mean Squared Error (MSE) and an Image Gradient Difference Loss (GDL).
  • Maintain full convolutional architecture with residual blocks to enable variable input sizes and stable training.

Experimental results

Research questions

  • RQ1Can a neural network compress LBM states and boundaries to reduce memory while preserving key flow features?
  • RQ2Does the model generalize to larger grid sizes and new geometries beyond the training set?
  • RQ3What are the trade-offs in accuracy vs. speed/memory when using Lat-Net for 2D and 3D LBM simulations?
  • RQ4Can the method be extended to other LBM-based physics like electromagnetism without major changes?

Key findings

  • Lat-Net achieves substantial memory compression of the simulation state (order-of-magnitude) and speeds up computation via a learned compression mapping.
  • The model generalizes to larger grid sizes (up to 16x larger in some cases) with little loss in accuracy.
  • For 2D flows, Lat-Net maintains drag and flux values comparable to full LBM across larger domains and preserves stability over hundreds of steps.
  • 3D results show realistic behavior with minor biases in some large-domain cases, highlighting memory and training set limitations.
  • The approach also successfully applies to electromagnetic simulations, producing similar wave phenomena (reflection/refraction) as the true solver.
  • Extracting full state from the decoder can be memory-intensive, suggesting potential benefits from task-specific decoders or auxiliary networks.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.