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

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Huergo, David, de Frutos, Martín, Jané, Eduardo, Marino, Oscar A., Rubio, Gonzalo, Ferrer, Esteban
Format: Preprint
Veröffentlicht: 2024
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866914964499857408
author Huergo, David
de Frutos, Martín
Jané, Eduardo
Marino, Oscar A.
Rubio, Gonzalo
Ferrer, Esteban
author_facet Huergo, David
de Frutos, Martín
Jané, Eduardo
Marino, Oscar A.
Rubio, Gonzalo
Ferrer, Esteban
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2407_19000
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Reinforcement learning for anisotropic p-adaptation and error estimation in high-order solvers
Huergo, David
de Frutos, Martín
Jané, Eduardo
Marino, Oscar A.
Rubio, Gonzalo
Ferrer, Esteban
Fluid Dynamics
Machine Learning
Computational Physics
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.
title Reinforcement learning for anisotropic p-adaptation and error estimation in high-order solvers
topic Fluid Dynamics
Machine Learning
Computational Physics
url https://arxiv.org/abs/2407.19000