Extension and comparison of techniques to enforce boundary conditions in Finite Volume POD-Galerkin reduced order models for fluid dynamic problems

S. Kelbij Star, Giovanni Stabile, Francesco Belloni, Gianluigi Rozza, Joris DegrootearXiv 2019

Abstract

Computational Fluid Dynamics (CFD) provides high-fidelity simulations of fluid flow but often requires prohibitive computational resources for real-time applications or design optimization. Reduced Order Models (ROMs) offer a solution by projecting complex dynamics onto low-dimensional subspaces. However, enforcing non-homogeneous and time-dependent boundary conditions (BCs) remains a significant challenge in ROM development. This paper presents a novel iterative penalty method for Finite Volume-based POD-Galerkin ROMs. Unlike traditional penalty methods that require manual tuning of penalty factors, the proposed approach automatically adjusts these factors to meet a specified error tolerance. We compare this method against the standard lifting function approach using lid-driven cavity and Y-junction flow benchmarks. Our results demonstrate computational speedups of up to 308x while maintaining high accuracy, particularly in complex multi-boundary scenarios.

1. Introduction

In the field of fluid dynamics, the Finite Volume Method (FVM) is widely utilized for its conservative properties and robustness. Despite its success, the computational cost of Full Order Models (FOMs) limits their utility in iterative processes like active flow control or shape optimization. Proper Orthogonal Decomposition (POD) Galerkin ROMs address this by identifying the most energetic spatial modes and projecting the governing equations onto this reduced basis.

A persistent hurdle in ROM research is the treatment of boundary conditions. Traditional "lifting functions" are mathematically rigorous but can be rigid and require additional basis functions for every independent boundary. Conversely, "penalty methods" introduce a term to penalize deviations from the desired BC, but they rely on a "penalty factor" ($τ$) that is notoriously difficult to tune. A factor that is too small fails to enforce the BC, while one that is too large leads to numerical instability. This study introduces an automated, iterative solution to this trade-off.

2. Methodology

2.1 Finite Volume POD-Galerkin Framework

The ROM is built upon a Finite Volume discretization, which is particularly well-suited for industrial CFD applications. To ensure the stability of both velocity and pressure fields, we employ a Pressure Poisson Equation (PPE) approach during the projection stage. This ensures that the pressure field is correctly coupled with the velocity field in the reduced space.

2.2 The Iterative Penalty Method

The core innovation of this work is the iterative penalty method. Instead of treating the penalty factor as a static "magic number," we frame the BC enforcement as a constrained optimization problem solved during the "online" (fast) phase of the simulation.

  1. Error Tolerance (ε): The user defines a desired tolerance for boundary condition satisfaction.
  2. Dynamic Adjustment: The algorithm iteratively adjusts the penalty factor $τ$ until the boundary error falls below ε.
  3. Heuristic Initialization: To minimize iterations, the initial ε is linked to the eigenvalue truncation error from the POD process, providing a physics-based starting point.

2.3 Lifting Function Method

As a benchmark, we implement the lifting function method. This technique homogenizes the snapshots by subtracting a function that satisfies the non-homogeneous BCs. While effective, this method increases the complexity of the basis space, especially when dealing with multiple independent boundaries or time-varying conditions.

3. Experimental Setup

The proposed methods were implemented using the OpenFOAM framework and evaluated on two standard benchmarks:

  • Lid-Driven Cavity: A 2D square domain with a constant velocity applied to the top boundary. This serves as a baseline for internal flow accuracy.
  • Y-Junction Flow: A more complex geometry with two inlets and one outlet. Time-dependent inlet velocities were applied to test the ROM's ability to handle transient boundary conditions.

4. Results and Discussion

4.1 Computational Efficiency

The ROMs achieved significant speedups compared to the Full Order Model (FOM). For the lid-driven cavity, the ROM was 270 to 308 times faster than the CFD simulation. In the Y-junction case, speedups ranged from 13 to 24 times. Notably, in the multi-boundary Y-junction scenario, the iterative penalty method was approximately twice as fast as the lifting function method during the online phase because it maintained a smaller, more efficient basis space.

4.2 Accuracy

Both the iterative penalty method and the lifting function method maintained high fidelity to the FOM. Relative errors for velocity were consistently around $10^{-3}$. While velocity results were excellent, pressure accuracy was slightly lower, suggesting that the pressure space might benefit from further enrichment (e.g., supremizer modes) in future iterations.

4.3 Automation and Robustness

The iterative penalty method successfully eliminated the need for manual sensitivity analysis. By linking the penalty enforcement to a user-defined tolerance, the model remained stable across different flow regimes without the trial-and-error typically associated with penalty-based ROMs.

5. Conclusion

This study demonstrates that the iterative penalty method is a robust and efficient alternative to traditional boundary condition enforcement techniques in POD-Galerkin ROMs. By automating the selection of the penalty factor, we have made ROMs more accessible for complex engineering applications. Future work will focus on extending these techniques to turbulent flows and investigating the enforcement of pressure-based boundary conditions, which are essential for coupling 3D CFD with 1D system codes.

Summary updated

BibTeX
@misc{star2019extension,
  author = {S. Kelbij Star and Giovanni Stabile and Francesco Belloni and Gianluigi Rozza and Joris Degroote},
  title = {{Extension and comparison of techniques to enforce boundary conditions in Finite Volume POD-Galerkin reduced order models for fluid dynamic problems}},
  year = {2019},
  eprint = {1912.00825},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1912.00825},
}
Figure