NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

tempoGAN: A Temporally Coherent, Volumetric GAN for Super-resolution Fluid Flow

You Xie, Aleksandra Franz, Mengyu Chu, Nils Thuerey

Abstract

Simulating high-resolution fluid dynamics is computationally intensive. We present tempoGAN, a generative adversarial network (GAN) framework for synthesizing high-resolution, 3D volumetric fluid flows from low-resolution inputs. By incorporating a novel temporal discriminator and physics-aware training, the model achieves temporal coherence and physical plausibility in 4D data, significantly reducing the computational cost of high-fidelity fluid simulations.

Introduction

Simulating high-resolution fluid dynamics, such as smoke or fire, remains a significant computational challenge. While super-resolution (SR) techniques have been proposed to upscale coarse simulations, they often suffer from temporal instability—where details "flicker" between frames—and a lack of physical realism, where generated details appear as noise rather than turbulent structures. tempoGAN addresses these issues by using a deep learning approach that understands both spatial and temporal fluid physics.

Methodology

The core of tempoGAN is a Conditional GAN (cGAN) architecture conditioned on low-resolution volumetric inputs. The architecture consists of three primary components:

  1. The Generator ($G$): A residual network (ResNet) that transforms low-resolution density and velocity fields into high-resolution density fields.
  2. Spatial Discriminator ($D_s$): Ensures individual frames maintain realistic, high-resolution visual characteristics.
  3. Temporal Discriminator ($D_t$): This component evaluates three consecutive frames. To ensure meaningful comparison, an Advection Layer aligns frames based on fluid velocity, forcing the generator to produce details that evolve according to transport laws.
The tempoGAN architecture featuring the Generator (G), Spatial Discriminator (Ds), and Temporal Discriminator (Dt).

Training also utilizes a Feature Space Loss, penalizing the generator if its internal feature representations deviate significantly from ground truth as perceived by the discriminators.

Experimental Setup

Training data was generated using Stam’s Stable Fluids solver, comprising 20 different 2D and 3D smoke plume simulations with randomized parameters. Each simulation consisted of 120 frames. The model typically upscaled data from $64^3$ to $256^3$ (a 4x increase per dimension). "Physics-aware" data augmentation (rotations and scaling respecting fluid invariants) was applied to enhance robustness.

Results and Discussion

tempoGAN significantly outperforms standard $L_2$ upscaling and non-temporal GANs, producing thin, wispy structures that remain stable over time.

Comparison of different super-resolution methods: (a) low-resolution input, (b) L2 upscaling, (c) tempoGAN, (d) ground truth.

Key Insights

  • Temporal Discriminator ($D_t$): Unlike manual loss functions that cause blurring, $D_t$ learns the distribution of fluid motion, enabling sharp, coherent details.
  • Velocity Guidance: Providing low-resolution velocity and vorticity fields to the generator drastically improves quality, as the network learns to place details in regions of high turbulence.
  • Performance: While training takes approximately 9 days for 3D volumes, inference is nearly instantaneous. For a $600 \times 400 \times 400$ scene, tempoGAN generated high-resolution volumes in 3.9 minutes, compared to 31.5 minutes for a full-resolution simulation.

Conclusion

tempoGAN provides a powerful tool for fluid super-resolution, though limitations remain. The current implementation uses a fixed 4x scaling factor, and training times for 3D volumes are high. Future work may explore arbitrary scaling factors and extending the method to complex phenomena like liquid surfaces or combustion.

Reference: Xie, Y., Franz, A., Chu, M., & Thuerey, N. (2018). tempoGAN: A Temporally Coherent, Volumetric GAN for Super-resolution Fluid Flow. ACM Transactions on Graphics (TOG), 37(4), Article 95.

Summary updated

BibTeX
@article{xie2018tempogan,
  author = {You Xie and Aleksandra Franz and Mengyu Chu and Nils Thuerey},
  title = {{tempoGAN: A Temporally Coherent, Volumetric GAN for Super-resolution Fluid Flow}},
  journal = {ACM Trans. Graphics},
  year = {2018},
  url = {https://openreview.net/forum?id=75pDsIVdWrv},
}
Figure