Reinforcement learning for anisotropic p-adaptation and error estimation in high-order solvers

David Huergo, Martín de Frutos, Eduardo Jané, Oscar A. Marino, Gonzalo Rubio +1 more
7/26/2024
physics.flu-dyncs.LGphysics.comp-ph

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

We present a novel approach to automate and optimize anisotropic p-adaptation in high-order h/p solvers using Reinforcement Learning (RL). The dynamic RL adaptation uses the evolving solution to adjust the high-order polynomials. We develop an offline training approach, decoupled from the main solver, which shows minimal overcost when performing simulations. In addition, we derive an inexpensive RL-based error estimation approach that enables the quantification of local discretization errors. The proposed methodology is agnostic to both the computational mesh and the partial differential equation to be solved. The application of RL to mesh adaptation offers several benefits. It enables automated and adaptive mesh refinement, reducing the need for manual intervention. It optimizes computational resources by dynamically allocating high-order polynomials where necessary and minimizing refinement in stable regions. This leads to computational cost savings while maintaining the accuracy of the solution. Furthermore, RL allows for the exploration of unconventional mesh adaptations, potentially enhancing the accuracy and robustness of simulations. This work extends our original research, offering a more robust, reproducible, and generalizable approach applicable to complex three-dimensional problems. We provide validation for laminar and turbulent cases: circular cylinders, Taylor Green Vortex and a 10MW wind turbine to illustrate the flexibility of the proposed approach.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 1 weaker match is hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{huergo2024reinforcement,
  title  = {Reinforcement learning for anisotropic p-adaptation and error estimation in high-order solvers},
  author = {David Huergo and Martín de Frutos and Eduardo Jané and Oscar A. Marino and Gonzalo Rubio and Esteban Ferrer},
  year   = {2024},
  eprint = {2407.19000},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2407.19000v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2407.19000.svg)](https://codeofpaper.com/paper/2407.19000)

Discussion