Predicting whether a steady laminar flow is stable, and which spatial structure and frequency the emerging oscillation will exhibit, is a central problem in fluid dynamics. In the global framework, the linearization of the incompressible Navier-Stokes equations around a two-dimensional base flow leads to a large-scale generalized eigenvalue problem, whose accurate solution is dominated by an intrinsic conflict between accuracy and computational cost: shear layers, wakes and the vortical structures of the global modes must be resolved wherever they develop, while uniform refinement rapidly becomes prohibitive. This thesis develops and validates an integrated finite element framework that combines anisotropic, metric-based mesh adaptation with global linear stability analysis of two-dimensional incompressible flows. The framework is implemented entirely in the open-source library GetFEM, coupled with MMG2D for metric-based remeshing and Gmsh for the initial mesh generation, so that discretization, solution and adaptation coexist in a single code through an internal iterative loop. The methodology is built incrementally: a scalar Laplacian benchmark establishes the mesh-solution loop, Hessian recovery and metric construction; the Stokes problem validates the Taylor-Hood discretization and a force-extraction procedure based on the Lagrange multipliers enforcing the Dirichlet boundary conditions; the steady Navier--Stokes equations are solved with a Newton method combined with warm-restart continuation on adapted meshes. The stability eigenproblem is solved with the shift-and-invert implicitly restarted Arnoldi method of ARPACK in complex arithmetic. On the incompressible open cavity flow of Yamouni et al.\ at $\mathrm{Re}=7500$, a base-flow-adapted mesh of only 20\,418 triangles, roughly one twentieth of the reference resolution, recovers the unstable Kelvin-Helmholtz branch with errors of a few percent on both growth rates and frequencies, while the under-resolution of short-wavelength modes shows that a mesh optimal for the base flow is not optimal for its eigenmodes. A second campaign on the NACA0012 airfoil at $\mathrm{Re}=1000$, for angles of attack between $8^\circ$ and $14^\circ$, reproduces the reference results of Rolandi et al.\ within plotting accuracy, validating the complete numerical chain against an independent methodology. These results demonstrate that medium-coarse adapted meshes suffice to characterize the unstable global dynamics at a fraction of the usual computational cost, and motivate the extension towards eigenmode-targeted and adjoint-based adaptive stability analysis. The first part of the work is devoted to code validation through benchmark problems with known solutions or reference behavior. This step is aimed at assessing the correct implementation of the discretization, boundary conditions, reconstruction of derived quantities, and mesh adaptation procedure. The study then focuses on the analysis of steady solutions of the Navier–Stokes, with the aim of detecting qualitative changes in the flow field and possible loss-of-stability phenomena. To this end, numerical continuation and bifurcation analysis techniques are considered. These methods make it possible to follow solution branches, including in the presence of critical points, and to investigate the behavior of the system as the Reynolds number or other relevant parameters vary. The methodology is applied to two representative case studies: laminar cavity flow and flow around an airfoil. The results highlight the role of mesh adaptation in improving the representation of regions characterized by strong gradients, boundary layers, and localized flow structures. Moreover, the combination of adaptive finite element methods, numerical continuation, and bifurcation analysis provides an effective framework for the numerical investigation of the stability of incompressible laminar flows, offering a methodological basis for future extensions to unsteady problems or more complex fluid dynamic configurations.

Prevedere se un flusso laminare stazionario sia stabile, e quali struttura spaziale e frequenza caratterizzino l'oscillazione emergente, è un problema centrale della fluidodinamica. Nel quadro dell'analisi globale, la linearizzazione delle equazioni di Navier-Stokes incomprimibili attorno a un flusso base bidimensionale conduce a un problema agli autovalori generalizzato di grande dimensione, la cui soluzione accurata è dominata da un conflitto intrinseco tra accuratezza e costo computazionale: strati di taglio, scie e strutture vorticose dei modi globali devono essere risolti ovunque si sviluppino, mentre un raffinamento uniforme diventa rapidamente proibitivo. Questa tesi sviluppa e valida un framework agli elementi finiti integrato che combina l'adattazione di griglia anisotropa basata su metrica con l'analisi di stabilità lineare globale di flussi incomprimibili bidimensionali. Il framework è implementato interamente nella libreria open-source GetFEM, accoppiata a MMG2D per il remeshing basato su metrica e a Gmsh per la generazione della griglia iniziale, così che discretizzazione, soluzione e adattazione coesistano in un unico codice tramite un ciclo iterativo interno. La metodologia è costruita in modo incrementale: un benchmark sul Laplaciano scalare stabilisce il ciclo griglia-soluzione, il recupero dell'Hessiana e la costruzione della metrica; il problema di Stokes valida la discretizzazione di Taylor-Hood e una procedura di estrazione delle forze basata sui moltiplicatori di Lagrange che impongono le condizioni al contorno di Dirichlet; le equazioni di Navier-Stokes stazionarie sono risolte con un metodo di Newton combinato con una continuazione warm-restart su griglie adattate. Il problema agli autovalori è risolto con il metodo di Arnoldi con restart implicito di ARPACK, in aritmetica complessa e con trasformazione shift-and-invert. Sul flusso in cavità aperta incomprimibile di Yamouni et al.\ a $\mathrm{Re}=7500$, una griglia adattata sul flusso base di soli 20\,418 triangoli, circa un ventesimo della risoluzione di riferimento, recupera il ramo instabile di Kelvin-Helmholtz con errori di pochi punti percentuali su tassi di crescita e frequenze, mentre la sotto-risoluzione dei modi a lunghezza d'onda corta mostra che una griglia ottimale per il flusso base non è ottimale per i suoi automodi. Una seconda campagna sul profilo NACA0012 a $\mathrm{Re}=1000$, per angoli di incidenza tra $8^\circ$ e $14^\circ$, riproduce i risultati di riferimento di Rolandi et al.\ entro l'accuratezza grafica, validando l'intera catena numerica rispetto a una metodologia indipendente. Questi risultati dimostrano che griglie adattate di risoluzione medio-grossolana sono sufficienti a caratterizzare la dinamica globale instabile a una frazione del costo computazionale usuale, e motivano l'estensione verso un'analisi di stabilità adattiva mirata agli automodi e basata sull'aggiunto.

Adaptive finite element methods for stability analysis of incompressible laminar flows : applications to cavity flow and airfoil aerodynamics

Guerrieri, Tommaso
2025/2026

Abstract

Predicting whether a steady laminar flow is stable, and which spatial structure and frequency the emerging oscillation will exhibit, is a central problem in fluid dynamics. In the global framework, the linearization of the incompressible Navier-Stokes equations around a two-dimensional base flow leads to a large-scale generalized eigenvalue problem, whose accurate solution is dominated by an intrinsic conflict between accuracy and computational cost: shear layers, wakes and the vortical structures of the global modes must be resolved wherever they develop, while uniform refinement rapidly becomes prohibitive. This thesis develops and validates an integrated finite element framework that combines anisotropic, metric-based mesh adaptation with global linear stability analysis of two-dimensional incompressible flows. The framework is implemented entirely in the open-source library GetFEM, coupled with MMG2D for metric-based remeshing and Gmsh for the initial mesh generation, so that discretization, solution and adaptation coexist in a single code through an internal iterative loop. The methodology is built incrementally: a scalar Laplacian benchmark establishes the mesh-solution loop, Hessian recovery and metric construction; the Stokes problem validates the Taylor-Hood discretization and a force-extraction procedure based on the Lagrange multipliers enforcing the Dirichlet boundary conditions; the steady Navier--Stokes equations are solved with a Newton method combined with warm-restart continuation on adapted meshes. The stability eigenproblem is solved with the shift-and-invert implicitly restarted Arnoldi method of ARPACK in complex arithmetic. On the incompressible open cavity flow of Yamouni et al.\ at $\mathrm{Re}=7500$, a base-flow-adapted mesh of only 20\,418 triangles, roughly one twentieth of the reference resolution, recovers the unstable Kelvin-Helmholtz branch with errors of a few percent on both growth rates and frequencies, while the under-resolution of short-wavelength modes shows that a mesh optimal for the base flow is not optimal for its eigenmodes. A second campaign on the NACA0012 airfoil at $\mathrm{Re}=1000$, for angles of attack between $8^\circ$ and $14^\circ$, reproduces the reference results of Rolandi et al.\ within plotting accuracy, validating the complete numerical chain against an independent methodology. These results demonstrate that medium-coarse adapted meshes suffice to characterize the unstable global dynamics at a fraction of the usual computational cost, and motivate the extension towards eigenmode-targeted and adjoint-based adaptive stability analysis. The first part of the work is devoted to code validation through benchmark problems with known solutions or reference behavior. This step is aimed at assessing the correct implementation of the discretization, boundary conditions, reconstruction of derived quantities, and mesh adaptation procedure. The study then focuses on the analysis of steady solutions of the Navier–Stokes, with the aim of detecting qualitative changes in the flow field and possible loss-of-stability phenomena. To this end, numerical continuation and bifurcation analysis techniques are considered. These methods make it possible to follow solution branches, including in the presence of critical points, and to investigate the behavior of the system as the Reynolds number or other relevant parameters vary. The methodology is applied to two representative case studies: laminar cavity flow and flow around an airfoil. The results highlight the role of mesh adaptation in improving the representation of regions characterized by strong gradients, boundary layers, and localized flow structures. Moreover, the combination of adaptive finite element methods, numerical continuation, and bifurcation analysis provides an effective framework for the numerical investigation of the stability of incompressible laminar flows, offering a methodological basis for future extensions to unsteady problems or more complex fluid dynamic configurations.
ING - Scuola di Ingegneria Industriale e dell'Informazione
22-lug-2026
2025/2026
Prevedere se un flusso laminare stazionario sia stabile, e quali struttura spaziale e frequenza caratterizzino l'oscillazione emergente, è un problema centrale della fluidodinamica. Nel quadro dell'analisi globale, la linearizzazione delle equazioni di Navier-Stokes incomprimibili attorno a un flusso base bidimensionale conduce a un problema agli autovalori generalizzato di grande dimensione, la cui soluzione accurata è dominata da un conflitto intrinseco tra accuratezza e costo computazionale: strati di taglio, scie e strutture vorticose dei modi globali devono essere risolti ovunque si sviluppino, mentre un raffinamento uniforme diventa rapidamente proibitivo. Questa tesi sviluppa e valida un framework agli elementi finiti integrato che combina l'adattazione di griglia anisotropa basata su metrica con l'analisi di stabilità lineare globale di flussi incomprimibili bidimensionali. Il framework è implementato interamente nella libreria open-source GetFEM, accoppiata a MMG2D per il remeshing basato su metrica e a Gmsh per la generazione della griglia iniziale, così che discretizzazione, soluzione e adattazione coesistano in un unico codice tramite un ciclo iterativo interno. La metodologia è costruita in modo incrementale: un benchmark sul Laplaciano scalare stabilisce il ciclo griglia-soluzione, il recupero dell'Hessiana e la costruzione della metrica; il problema di Stokes valida la discretizzazione di Taylor-Hood e una procedura di estrazione delle forze basata sui moltiplicatori di Lagrange che impongono le condizioni al contorno di Dirichlet; le equazioni di Navier-Stokes stazionarie sono risolte con un metodo di Newton combinato con una continuazione warm-restart su griglie adattate. Il problema agli autovalori è risolto con il metodo di Arnoldi con restart implicito di ARPACK, in aritmetica complessa e con trasformazione shift-and-invert. Sul flusso in cavità aperta incomprimibile di Yamouni et al.\ a $\mathrm{Re}=7500$, una griglia adattata sul flusso base di soli 20\,418 triangoli, circa un ventesimo della risoluzione di riferimento, recupera il ramo instabile di Kelvin-Helmholtz con errori di pochi punti percentuali su tassi di crescita e frequenze, mentre la sotto-risoluzione dei modi a lunghezza d'onda corta mostra che una griglia ottimale per il flusso base non è ottimale per i suoi automodi. Una seconda campagna sul profilo NACA0012 a $\mathrm{Re}=1000$, per angoli di incidenza tra $8^\circ$ e $14^\circ$, riproduce i risultati di riferimento di Rolandi et al.\ entro l'accuratezza grafica, validando l'intera catena numerica rispetto a una metodologia indipendente. Questi risultati dimostrano che griglie adattate di risoluzione medio-grossolana sono sufficienti a caratterizzare la dinamica globale instabile a una frazione del costo computazionale usuale, e motivano l'estensione verso un'analisi di stabilità adattiva mirata agli automodi e basata sull'aggiunto.
File allegati
File Dimensione Formato  
2026_07_Guerrieri.pdf

accessibile in internet per tutti a partire dal 02/07/2027

Dimensione 4.66 MB
Formato Adobe PDF
4.66 MB Adobe PDF   Visualizza/Apri

I documenti in POLITesi sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/10589/261335