TL;DR
This paper presents a detailed study of supersonic impinging jets (SIJs) using Large-Eddy Simulations (LES) with the OpenFOAM framework. The authors investigate grid convergence, mesh resolution effects, and computational scaling, demonstrating that while coarser meshes suffice for time-averaged properties, finer meshes are crucial for capturing transient flow phenomena.
What Problem Does This Paper Address?
Supersonic impinging jets (SIJs) are critical in various applications, from industrial manufacturing (cold spray) to aerospace (vertical take-off and landing). Understanding their complex, highly transient flow behavior, particularly the shock structures and instabilities, is crucial for optimizing these applications. While experimental methods struggle with the high frequencies involved, and traditional CFD methods like RANS have limitations in capturing these transient dynamics, LES offers a promising approach. However, achieving accurate LES simulations requires careful consideration of mesh resolution and computational resources. This paper addresses the challenge of determining appropriate mesh resolutions for SIJ simulations using LES in OpenFOAM, evaluating grid convergence, the impact of mesh density on transient flow features, and the computational scaling of the solver on high-performance computing (HPC) architectures.
Methods
The study employs the rhoCentralFoam solver within the OpenFOAM framework, a popular open-source CFD toolbox. For the LES formulation, a k-equation eddy viscosity model for turbulence closure was used. The computational domain was discretized using a two-step approach to create a fully structured hexahedral OH-grid, which offers benefits like lower numerical diffusion and higher accuracy compared to unstructured meshes. This approach involved generating a 2D slice with refined regions around critical areas (nozzle lip, shear layer, wall boundary layer) and then extruding it to 3D with an O-grid structure, resolving a singular point with an H-grid.
To assess grid convergence, three meshes of varying cell counts were generated, differing in maximum cell size within the jet core and angular resolution. The Crank-Nicolson time scheme was used for its balance of accuracy and stability, with a CFL number limited to 0.3. For analyzing transient behavior, a Welch fast Fourier transform was applied to pressure data. Computational scaling was evaluated using weak and strong scaling analyses, with speedup defined as $S_n = T_1 / T_n$.
Datasets
The study uses experimental data from Reference [34] for verification. Specifically, instantaneous experimental schlieren images were compared with numerical schlieren snapshots generated by the simulation. No new benchmark datasets were introduced; rather, the study leverages existing experimental results to validate its numerical approach.
Key Insights and Ideas
- Mesh Resolution Matters for Transients: While time-averaged flow properties (like centerline Mach number profiles and standoff shock location) are adequately captured even by coarser meshes, the fine-scale transient flow structures, such as shear-layer vortices and shock oscillations, are significantly influenced by mesh resolution.
- Grid Convergence is Context-Dependent: The notion of "adequate grid convergence" differs for time-averaged versus transient flow analyses. For bulk properties, a coarser mesh might suffice, but for detailed unsteady phenomena, a much finer mesh is necessary.
- LES vs. RANS for SIJs: Despite RANS potentially offering lower computational costs for mean flow properties, LES is justified for SIJs due to its superior ability to capture the highly transient shock structures and shear layer dynamics, which are critical for a complete understanding.
- Scaling Insights for OpenFOAM: The study provides valuable insights into the computational scaling of rhoCentralFoam on HPC architectures. It highlights good weak scaling and demonstrates strong scaling that remains linear up to a significant number of cores (4096 for the fine mesh), suggesting efficient parallelization.
- "Cells-per-Node" vs. "Cells-per-Core": The authors propose shifting the focus from "cells-per-core" to "cells-per-node" for future scaling analyses, emphasizing the growing importance of interconnect speed and architecture in modern HPC systems, especially for OpenFOAM.
Key Results
- Grid Convergence: All three mesh resolutions (coarse, medium, fine) were found to be sufficient for capturing time-averaged Mach number profiles and standoff shock locations. However, the highest resolution mesh was essential for resolving fine shear vortical structures and transient behaviors absent in coarser cases.
- Verification: Numerical schlieren snapshots showed good agreement with experimental images, validating the simulation's ability to capture the overall shape and key features of the standoff shock.
- Transient Behavior: Figure 6 clearly illustrates how finer meshes resolve more detailed shear-layer vortices and smaller-scale instabilities, which become more pronounced over time.
- Power Spectrum Density: Analysis revealed that while the primary transient features (Strouhal number St ≈ 1) are captured by all meshes, finer meshes resolve higher energy levels and dissipate them at a slower rate, indicating the resolution of more fine-scale structures.
- Computational Scaling:
- Weak Scaling: Showed good scalability, with speedup ratios remaining relatively constant as the problem size and core count increased proportionally.
- Strong Scaling: Demonstrated approximately linear scaling up to 4096 cores (32 nodes) for the fine mesh (~41 million cells), indicating efficient parallel performance.
Limitations and Future Work
- Limitations:
- The study acknowledges that the "cells-per-core" guideline for scaling might be becoming outdated due to HPC architecture advancements and internode communication bottlenecks.
- While the numerical setup used a perfectly uniform inlet condition, real experiments might have boundary layer effects from the nozzle inner wall.
- The simulations were run for milliseconds, whereas experimental images could represent seconds, potentially missing very long-term transient effects.
- Future Work:
- The authors recommend revising scaling analyses to a "cells-per-node" basis, paying close attention to interconnect speed and architecture.
- Future studies on highly transient SIJs with low separation distances, which require large datasets, could benefit from this revised scaling approach to be more effectively conducted.
- Further investigation into compiler and MPI task profiling is suggested to better understand specific bottlenecks in computational scaling.
Summary updated