-
Quasi-Orthogonal Runge-Kutta Projection Methods
Authors:
Mohammad R. Najafian,
Brian C. Vermeire
Abstract:
A wide range of physical phenomena exhibit auxiliary admissibility criteria, such as conservation of entropy or various energies, which arise implicitly under exact solution of their governing PDEs. However, standard temporal schemes, such as classical Runge-Kutta (RK) methods, do not enforce these constraints, leading to a loss of accuracy and stability. Projection is an efficient way to address…
▽ More
A wide range of physical phenomena exhibit auxiliary admissibility criteria, such as conservation of entropy or various energies, which arise implicitly under exact solution of their governing PDEs. However, standard temporal schemes, such as classical Runge-Kutta (RK) methods, do not enforce these constraints, leading to a loss of accuracy and stability. Projection is an efficient way to address this shortcoming by correcting the RK solution at the end of each time step. Here we introduce a novel projection method for explicit RK schemes, called a \textit{quasi-orthogonal} projection method. This method can be employed for systems containing a single (not necessarily convex) invariant functional, for dissipative systems, and for the systems containing multiple invariants. It works by projecting the orthogonal search direction(s) into the solution space spanned by the RK stage derivatives. With this approach linear invariants of the problem are preserved, the time step size remains fixed, additional computational cost is minimal, and these optimal search direction(s) preserve the order of accuracy of the base RK method. This presents significant advantages over existing projection methods. Numerical results demonstrate that these properties are observed in practice for a range of applications.
△ Less
Submitted 26 September, 2024;
originally announced September 2024.
-
PyFR v2.0.3: Towards Industrial Adoption of Scale-Resolving Simulations
Authors:
Freddie D. Witherden,
Peter E. Vincent,
Will Trojak,
Yoshiaki Abe,
Amir Akbarzadeh,
Semih Akkurt,
Mohammad Alhawwary,
Lidia Caros,
Tarik Dzanic,
Giorgio Giangaspero,
Arvind S. Iyer,
Antony Jameson,
Marius Koch,
Niki Loppi,
Sambit Mishra,
Rishit Modi,
Gonzalo Sáez-Mischlich,
Jin Seok Park,
Brian C. Vermeire,
Lai Wang
Abstract:
PyFR is an open-source cross-platform computational fluid dynamics framework based on the high-order Flux Reconstruction approach, specifically designed for undertaking high-accuracy scale-resolving simulations in the vicinity of complex engineering geometries. Since the initial release of PyFR v0.1.0 in 2013, a range of new capabilities have been added to the framework, with a view to enabling in…
▽ More
PyFR is an open-source cross-platform computational fluid dynamics framework based on the high-order Flux Reconstruction approach, specifically designed for undertaking high-accuracy scale-resolving simulations in the vicinity of complex engineering geometries. Since the initial release of PyFR v0.1.0 in 2013, a range of new capabilities have been added to the framework, with a view to enabling industrial adoption of the capability. This paper provides details of those enhancements as released in PyFR v2.0.3, explains efforts to grow an engaged developer and user community, and provides latest performance and scaling results on up to 1024 AMD Instinct MI250X accelerators of Frontier at ORNL (each with two GCDs), and up to 2048 NVIDIA GH200 GPUs on Alps at CSCS.
△ Less
Submitted 29 August, 2024;
originally announced August 2024.
-
Hybridized Implicit-Explicit Flux Reconstruction Methods
Authors:
Carlos A. Pereira,
Brian C. Vermeire
Abstract:
For turbulent problems of industrial scale, computational cost may become prohibitive due to the stability constraints associated with explicit time discretization of the underlying conservation laws. On the other hand, implicit methods allow for larger time-step sizes but require exorbitant computational resources. Implicit-explicit (IMEX) formulations combine both temporal approaches, using an e…
▽ More
For turbulent problems of industrial scale, computational cost may become prohibitive due to the stability constraints associated with explicit time discretization of the underlying conservation laws. On the other hand, implicit methods allow for larger time-step sizes but require exorbitant computational resources. Implicit-explicit (IMEX) formulations combine both temporal approaches, using an explicit method in nonstiff portions of the domain and implicit in stiff portions. While these methods can be shown to be orders of magnitude faster than typical explicit discretizations, they are still limited by their implicit discretization in terms of cost. Hybridization reduces the scaling of these systems to an effective lower dimension, which allows the system to be solved at significant speedup factors compared to standard implicit methods. This work proposes an IMEX scheme that combines hybridized and standard flux reconstriction (FR) methods to tackle geometry-induced stiffness. By using the so-called transmission conditions, an overall conservative formulation can be obtained after combining both explicit FR and hybridized implicit FR methods. We verify and apply our approach to a series of numerical examples, including a multi-element airfoil at Reynolds number 1.7 million. Results demonstrate speedup factors of four against standard IMEX formulations and at least 15 against standard explicit formulations for the same problem.
△ Less
Submitted 29 January, 2024;
originally announced January 2024.
-
Energy Conservative Relaxation-Free Runge-Kutta Schemes
Authors:
Mohammad R. Najafian,
Brian C. Vermeire
Abstract:
A wide range of physical phenomena exhibit auxiliary admissibility criteria, such as conservation of entropy or various energies, which arise implicitly under the exact solution of their governing PDEs. However, standard temporal schemes, such as classical Runge-Kutta (RK) methods, do not enforce these constraints, leading to a loss of accuracy and stability. Previously, the Incremental Directiona…
▽ More
A wide range of physical phenomena exhibit auxiliary admissibility criteria, such as conservation of entropy or various energies, which arise implicitly under the exact solution of their governing PDEs. However, standard temporal schemes, such as classical Runge-Kutta (RK) methods, do not enforce these constraints, leading to a loss of accuracy and stability. Previously, the Incremental Directional Technique RK (IDT-RK) and Relaxation Runge-Kutta (R-RK) approaches have been proposed to address this. However, these lead to a loss of accuracy in the case of IDT-RK, or a loss of step size control in the case of R-RK. In the current work we propose Relaxation-Free Runge- Kutta (RF-RK) schemes, which conserve energy, maintain order of accuracy, and maintain a constant step size, alleviating many of the limitations of the aforementioned techniques. Importantly, they do so with minimal additional computational cost compared to the base RK scheme. Numerical results demonstrate that these properties are observed in practice for a range of applications. Therefore, the proposed RF-RK framework is a promising approach for energy conservative time integration of systems of PDEs.
△ Less
Submitted 25 January, 2024;
originally announced January 2024.
-
Gradient-Free Aeroacoustic Shape Optimization Using Large Eddy Simulation
Authors:
Mohsen Hamedi,
Brian C. Vermeire
Abstract:
We present an aeroacoustic shape optimization framework that relies on high-order Flux Reconstruction (FR) spatial discretization, the gradient-free Mesh Adaptive Direct Search (MADS) optimization algorithm, and Large Eddy Simulation (LES). Our parallel implementation ensures that the runtime of each optimization iteration remains consistent, irrespective of the number of design parameters involve…
▽ More
We present an aeroacoustic shape optimization framework that relies on high-order Flux Reconstruction (FR) spatial discretization, the gradient-free Mesh Adaptive Direct Search (MADS) optimization algorithm, and Large Eddy Simulation (LES). Our parallel implementation ensures that the runtime of each optimization iteration remains consistent, irrespective of the number of design parameters involved in the optimization problem, provided sufficient resources are available. This eliminates the dependence of the runtime of gradient-free algorithms on the number of design variables. The objective is to minimize Sound Pressure Level (SPL) at a near-field observer by computing it directly from the flow field. We evaluate this framework across three different problems. First, an open deep cavity is considered at a free-stream Mach number of $M=0.15$ and Reynolds number of $Re=1500$ based on the cavity's depth, reducing the SPL by $12.86dB$. Next, we optimized tandem cylinders at $Re=1000$ and $M=0.2$, achieving over $11dB$ noise reduction by optimizing cylinder spacing and diameter ratio. Lastly, a baseline NACA0012 airfoil is optimized at $Re=23000$ and $M=0.2$. The shape of the airfoil is optimized to generate a new 4-digit NACA airfoil at an appropriate angle of attack to minimize the SPL while ensuring the baseline time-averaged lift coefficient is maintained and prevent any increase in the baseline time-averaged drag coefficient. The SPL is reduced by $5.66dB$ while the mean drag coefficient is reduced by more than $7\%$. These results highlight the feasibility and effectiveness of our aeroacoustic shape optimization framework.
△ Less
Submitted 7 December, 2023;
originally announced December 2023.
-
Hybridized Formulations of Flux Reconstruction Schemes for Advection-Diffusion Problems
Authors:
Carlos A. Pereira,
Brian C. Vermeire
Abstract:
We present the hybridization of flux reconstruction methods for advection-diffusion problems. Hybridization introduces a new variable into the problem so that it can be reduced via static condensation. This allows the solution of implicit discretizations to be done more efficiently. We derive an energy statement from a stability analysis considering a range of correction functions on hybridized an…
▽ More
We present the hybridization of flux reconstruction methods for advection-diffusion problems. Hybridization introduces a new variable into the problem so that it can be reduced via static condensation. This allows the solution of implicit discretizations to be done more efficiently. We derive an energy statement from a stability analysis considering a range of correction functions on hybridized and embedded flux reconstruction schemes. Then, we establish connections to standard formulations. We devise a post-processing scheme that leverages existing flux reconstruction operators to enhance accuracy for diffusion-dominated problems. Results show that the implicit convergence of these methods for advection-diffusion problems can result in performance benefits of over an order of magnitude. In addition, we observe that the superconvergence property of hybridized methods can be extended to the family of FR schemes for a range of correction functions.
△ Less
Submitted 24 October, 2023;
originally announced October 2023.
-
Heterogeneous Computing on Mixed Unstructured Grids with PyFR
Authors:
F. D. Witherden,
B. C. Vermeire,
P. E. Vincent
Abstract:
PyFR is an open-source high-order accurate computational fluid dynamics solver for mixed unstructured grids that can target a range of hardware platforms from a single codebase. In this paper we demonstrate the ability of PyFR to perform high-order accurate unsteady simulations of flow on mixed unstructured grids using heterogeneous multi-node hardware. Specifically, after benchmarking single-node…
▽ More
PyFR is an open-source high-order accurate computational fluid dynamics solver for mixed unstructured grids that can target a range of hardware platforms from a single codebase. In this paper we demonstrate the ability of PyFR to perform high-order accurate unsteady simulations of flow on mixed unstructured grids using heterogeneous multi-node hardware. Specifically, after benchmarking single-node performance for various platforms, PyFR v0.2.2 is used to undertake simulations of unsteady flow over a circular cylinder at Reynolds number 3 900 using a mixed unstructured grid of prismatic and tetrahedral elements on a desktop workstation containing an Intel Xeon E5-2697 v2 CPU, an NVIDIA Tesla K40c GPU, and an AMD FirePro W9100 GPU. Both the performance and accuracy of PyFR are assessed. PyFR v0.2.2 is freely available under a 3-Clause New Style BSD license (see www.pyfr.org).
△ Less
Submitted 1 September, 2014;
originally announced September 2014.