Navigating speed–accuracy trade-offs for multi-physics simulations

Zohreh Moradinia, Hans Vandierendonck, Adrian MurphyMeccanica 2024 · DOI

Abstract This paper introduces a novel approach aimed at addressing persistent challenges inherent in conventional multiphysics modeling methodologies. Existing techniques, such as numerical modeling and analytical calculations, often suffer from time-consuming and computationally intensive processes, leading to inefficiencies, particularly in intricate simulations. The proposed methodology employs regression machine learning algorithms as a black-box solution to anticipate errors and execution times in multiphysics simulations. Diverging from conventional methods, this approach streamlines the exploration of simulation options, providing discernible choices for balancing speed and precision. The efficacy of the methodology is exemplified through successful applications to heat transfer and fluid–structure interaction problems, illustrating its adaptability across diverse scenarios. Notably, the approach upholds the integrity of physics equations and simulation convergence while markedly reducing the trial-and-error efforts and computational burdens associated with traditional methodologies. In summary, the proposed approach emerges as an innovative and promising solution to augment the accuracy, efficiency, and dependability of multiphysics simulations.

Introduction

In high-stakes engineering domains such as aerospace design and advanced electronics cooling, multiphysics simulations are the gold standard for predictive modeling. However, these simulations come with a significant "computational tax." Researchers often find themselves trapped in a cycle of trial and error, or defaulting to the highest possible precision settings to ensure reliability, even when this leads to grueling execution times.

Traditional numerical methods like the Finite Element Method (FEM) are robust but inherently slow, especially for intricate geometries. The core challenge lies in the uncertainty of the trade-off: because researchers cannot easily quantify how a larger time step or a looser convergence limit will affect the final result, they tend to "over-engineer" simulation settings. This leads to massive computational waste. This paper proposes a machine learning (ML) workflow that acts as a strategic advisor, predicting accuracy loss and time savings before a full simulation is executed.

Proposed Methodology

The proposed workflow treats the simulation process as a data-generation engine for machine learning. By using regression algorithms to map the relationship between input parameters and performance, researchers can identify "sweet spots" that optimize resource usage.

The proposed machine learning workflow for training a predictive model to estimate accuracy and execution time.

The methodology follows a structured sequence:

  1. Parameter Selection: Identification of key influential variables, including simulation parameters (time steps, convergence limits) and physical properties (Reynolds number, viscosity, heat capacity).
  2. Data Collection: A series of baseline simulations are conducted using open-source tools such as OpenFOAM (fluids), CalculiX (structures), and preCICE (coupling).
  3. ML Training: Three regression algorithms—K-Nearest Neighbors (KNN), Decision Trees, and Random Forest—are evaluated to predict five key outputs: average temperature error, flux error, final residuals, iteration counts, and execution time.
  4. Black-Box Integration: Crucially, this approach does not alter the underlying physics equations or solvers; it sits as a predictive layer on top of existing tools.

Case Studies and Validation

The methodology was validated using two classic multiphysics case studies representing different physical phenomena.

Case Study 1: Conjugate Heat Transfer (CHT)

The first case involves flow over a heated plate—a 2D problem featuring a thermally conducting slab in a uniform stream. This setup allows for the study of how physical properties like heat capacity interact with simulation settings to affect convergence and accuracy.

Physical model of the conductive slab used for the flow over a heated plate case study.

Case Study 2: Fluid-Structure Interaction (FSI)

The second case utilizes a delta wing model to analyze "flutter," a dynamic aeroelastic phenomenon occurring when aerodynamic forces interact with structural motion at transonic speeds. This represents a significantly more complex computational challenge than the CHT case.

Results and Discussion

The study confirms that researchers often use precision levels far beyond what is necessary. Key findings include:

  • Efficiency Gains: In the delta wing flutter case, increasing the time step size reduced execution time by more than 50% while maintaining a displacement error of less than 0.05%. Similarly, for the heated plate, increasing heat capacity led to a 40% reduction in execution time with less than 1% error.
  • Algorithm Performance: Random Forest consistently demonstrated the highest predictive accuracy ($R^2$ up to 0.90). Its ensemble nature is particularly effective at capturing the non-linear, convoluted relationships inherent in multiphysics data.
  • Low Computational Overhead: Once initial data is collected, training the ML model is extremely fast, taking less than a minute on standard consumer hardware (e.g., Intel i7, 16GB RAM).

Conclusion

The proposed ML-based workflow provides a discernible path for balancing speed and precision in multiphysics simulations. By predicting performance metrics in advance, it reduces the need for trial-and-error and prevents computational over-engineering. While the current models are specific to the simulation environments they were trained on, future work will focus on transfer learning techniques to move insights between different physical problems, further reducing the initial cost of data collection.

Summary updated

Abstract

Abstract This paper introduces a novel approach aimed at addressing persistent challenges inherent in conventional multiphysics modeling methodologies. Existing techniques, such as numerical modeling and analytical calculations, often suffer from time-consuming and computationally intensive processes, leading to inefficiencies, particularly in intricate simulations. The proposed methodology employs regression machine learning algorithms as a black-box solution to anticipate errors and execution times in multiphysics simulations. Diverging from conventional methods, this approach streamlines the exploration of simulation options, providing discernible choices for balancing speed and precision. The efficacy of the methodology is exemplified through successful applications to heat transfer and fluid–structure interaction problems, illustrating its adaptability across diverse scenarios. Notably, the approach upholds the integrity of physics equations and simulation convergence while markedly reducing the trial-and-error efforts and computational burdens associated with traditional methodologies. In summary, the proposed approach emerges as an innovative and promising solution to augment the accuracy, efficiency, and dependability of multiphysics simulations.
BibTeX
@inproceedings{moradinia2024navigating,
  author = {Zohreh Moradinia and Hans Vandierendonck and Adrian Murphy},
  title = {{Navigating speed–accuracy trade-offs for multi-physics simulations}},
  booktitle = {Meccanica},
  year = {2024},
  doi = {10.1007/s11012-024-01867-2},
}
Figure