kth.sePublications KTH
Change search
Link to record
Permanent link

Direct link
Publications (10 of 13) Show all publications
Offermans, N., Massaro, D., Peplinski, A. & Schlatter, P. (2023). Error-driven adaptive mesh refinement for unsteady turbulent flows in spectral-element simulations. Computers & Fluids, 251, 105736, Article ID 105736.
Open this publication in new window or tab >>Error-driven adaptive mesh refinement for unsteady turbulent flows in spectral-element simulations
2023 (English)In: Computers & Fluids, ISSN 0045-7930, E-ISSN 1879-0747, Vol. 251, p. 105736-, article id 105736Article in journal (Refereed) Published
Abstract [en]

The simulation of turbulent flows requires high spatial resolution in potentially a priori unknown, solution -dependent locations. To achieve adaptive refinement of the mesh, we rely on error indicators. We assess the differences between an error measure relying on the local convergence properties of the numerical solution and a goal-oriented error measure based on the computation of an adjoint problem. The latter method aims at optimizing the mesh for the calculation of a predefined integral quantity, or functional of interest. This work follows on from a previous study conducted on steady flows in Offermans et al. (2020) and we extend the use of the so-called adjoint error estimator to three-dimensional, turbulent flows. They both represent a way to achieve error control and automatic mesh refinement (AMR) for the numerical approximation of the Navier-Stokes equations, with a spectral element method discretization and non-conforming h-refinement.The current study consists of running the same physical flow case on gradually finer meshes, starting from a coarse initial grid, and to compare the results and mesh refinement patterns when using both error measures. As a flow case, we consider the turbulent flow in a constricted, periodic channel, also known as the periodic hill flow, at four different Reynolds numbers: Re = 700, Re = 1400, Re = 2800 and Re = 5600. Our results show that both error measures allow for effective control of the error, but they adjust the mesh differently. Well-resolved simulations are achieved by automatically focusing refinement on the most critical regions of the domain, while significant saving in the overall number of elements is attained, compared to statically generated meshes. At all Reynolds numbers, we show that relevant physical quantities, such as mean velocity profiles and reattachment/separation points, converge well to reference literature data. At the highest Reynolds number achieved (Re = 5600), relevant quantities, i.e. reattachment and separation locations, are estimated with the same level of accuracy as the reference data while only using one-third of the degrees of freedom of the reference. Moreover, we observe distinct mesh refinement patterns for both error measures. With the spectral error indicator, the mesh resolution is more uniform and turbulent structures are more resolved within the whole domain. On the other hand, the adjoint error estimator tends to focus the refinement within a localized zone in the domain, dependent on the functional of interest, leaving large parts of the domain marginally resolved.

Place, publisher, year, edition, pages
Elsevier BV, 2023
Keywords
Adaptive mesh refinement, Spectral error indicator, Adjoint error estimator, Error control, Spectral element method, Direct numerical simulations
National Category
Fluid Mechanics Computational Mathematics
Identifiers
urn:nbn:se:kth:diva-323021 (URN)10.1016/j.compfluid.2022.105736 (DOI)000897039400009 ()2-s2.0-85143485679 (Scopus ID)
Note

QC 20230112

Available from: 2023-01-12 Created: 2023-01-12 Last updated: 2025-02-09Bibliographically approved
Peplinski, A., Offermans, N., Fischer, P. F. & Schlatter, P. (2020). 12th International Conference on Spectral and High-Order Methods, ICOSAHOM 2018: Pressure preconditioning and parallel performance. In: Lecture Notes in Computational Science and Engineering: . Paper presented at 12th International Conference on Spectral and High-Order Methods, ICOSAHOM 2018; London; United Kingdom; 9 July 2018 through 13 July 2018 (pp. 599-609). Springer, 134
Open this publication in new window or tab >>12th International Conference on Spectral and High-Order Methods, ICOSAHOM 2018: Pressure preconditioning and parallel performance
2020 (English)In: Lecture Notes in Computational Science and Engineering, Springer , 2020, Vol. 134, p. 599-609Conference paper, Published paper (Other academic)
Abstract [en]

Adaptive mesh refinement (AMR) is an important component of modern numerical solvers, as it allows to control the computational error during the simulation, increasing the reliability of the numerical modelling and giving the possibility to study a broad range of different phenomena even without knowing the physics a priori. In this work we present selected aspects of the implementation and parallel performance of a new h-type AMR framework developed for the high-order CFD solver Nek5000; the development was done within the ExaFLOW EU project. We utilise in this case the natural domain decomposition inherent to the spectral element method (SEM), which constitutes the main source of parallelism and provides meshing flexibility that can be exploited in AMR. We use standard libraries for parallel mesh management (p4est) and partitioning (ParMetis) and focus on developing efficient preconditioners for the pressure problem solved on non-conforming meshes. Two different approaches are considered: an additive overlapping Schwarz and a hybrid Schwarz-multigrid method. The strong scaling is shown on the example of the simulation of the turbulent flow around a NACA4412 wing section at Re = 200, 000. 

Place, publisher, year, edition, pages
Springer, 2020
Keywords
Adaptive mesh refinement, Computational error, Computational fluid dynamics, Domain decomposition methods, Mesh generation, Natural domain decomposition, Non-conforming elements, Overlapping Schwarz, Parallel performance, Spectral element method, Standard libraries
National Category
Fluid Mechanics
Identifiers
urn:nbn:se:kth:diva-285000 (URN)10.1007/978-3-030-39647-3_48 (DOI)2-s2.0-85089724674 (Scopus ID)
Conference
12th International Conference on Spectral and High-Order Methods, ICOSAHOM 2018; London; United Kingdom; 9 July 2018 through 13 July 2018
Note

QC 20201229

Available from: 2020-12-29 Created: 2020-12-29 Last updated: 2025-02-09Bibliographically approved
Offermans, N., Peplinski, A., Marin, O. & Schlatter, P. (2020). Adaptive mesh refinement for steady flows in Nek5000. Computers & Fluids, 197, Article ID UNSP 104352.
Open this publication in new window or tab >>Adaptive mesh refinement for steady flows in Nek5000
2020 (English)In: Computers & Fluids, ISSN 0045-7930, E-ISSN 1879-0747, Vol. 197, article id UNSP 104352Article in journal (Refereed) Published
Abstract [en]

Adaptive mesh refinement is performed in the framework of the spectral element method augmented by approaches to error estimation and control. The h-refinement technique is used for adapting the mesh, where selected grid elements are split by a quadtree (2D) or octree (3D) structure. Continuity between parent-child elements is enforced by high-order interpolation of the solution across the common faces. Parallel mesh partitioning and grid management respectively, are taken care of by the external libraries ParMETIS and p4est. Two methods are considered for estimating and controlling the error of the solution. The first error estimate is local and based on the spectral properties of the solution on each element. This method gives a local measure of the L-2-norm of the solution over the entire computational domain. The second error estimate uses the dual-weighted residuals method - it is based on and takes into account both the local properties of the solution and the global dependence of the error in the solution via an adjoint problem. The objective of this second approach is to optimize the computation of a given functional of physical interest. The simulations are performed by using the code Nek5000 and three steady-state test cases are studied: a two-dimensional lid-driven cavity at Re = 7, 500, a two-dimensional flow past a cylinder at Re = 40, and a three-dimensional lid-driven cavity at Re = 2,000 with a moving lid tilted by an angle of 30 degrees. The efficiency of both error estimators is compared in terms of refinement patterns and accuracy on the functional of interest. In the case of the adjoint error estimators, the trend on the error of the functional is shown to be correctly represented up to a multiplicative constant.

Place, publisher, year, edition, pages
PERGAMON-ELSEVIER SCIENCE LTD, 2020
Keywords
Mesh optimization, Error indicators, Adjoint error estimators, Spectral methods
National Category
Computational Mathematics
Identifiers
urn:nbn:se:kth:diva-267743 (URN)10.1016/j.compfluid.2019.104352 (DOI)000509619300008 ()2-s2.0-85074775338 (Scopus ID)
Note

QC 20200218

Available from: 2020-02-18 Created: 2020-02-18 Last updated: 2022-06-26Bibliographically approved
Tanarro, A., Mallor, F., Offermans, N., Peplinski, A., Vinuesa, R. & Schlatter, P. (2020). Enabling adaptive mesh refinement for spectral-element simulations of turbulence around wing sections. Flow Turbulence and Combustion, 105(2), 415-436
Open this publication in new window or tab >>Enabling adaptive mesh refinement for spectral-element simulations of turbulence around wing sections
Show others...
2020 (English)In: Flow Turbulence and Combustion, ISSN 1386-6184, E-ISSN 1573-1987, Vol. 105, no 2, p. 415-436Article in journal (Other academic) Published
Abstract [en]

The implementation of adaptive mesh refinement (AMR) in the spectral-element method code Nek5000 is used for the first time on the well-resolved large-eddy  simulation (LES) of the turbulent flow over wings. In particular, the flow over a NACA4412 profile with a 5° angle of attack at chord-based Reynolds number Rec=200,000 is analysed in the present work. The mesh, starting from a coarse resolution, is progressively refined by means of AMR, which allows for high resolution near the wall and wake whereas significantly larger elements are used in the far-field. The resulting mesh is of higher resolution than those in previous conformal cases, and it allows for the use of larger computational domains, avoiding the use of precursor RANS simulations to determine the boundary conditions. All of this with, approximately, 3 times lower total number of grid points if the same spanwise length is used. Turbulence statistics obtained in the AMR simulation show good agreement with the ones obtained with the conformal mesh. Finally, using AMR on wings will enable simulations at Rec beyond 1 million, thus allowing the study of pressure-gradient effects at high Reynolds numbers relevant for practical applications.

Place, publisher, year, edition, pages
Springer Nature, 2020
National Category
Fluid Mechanics
Identifiers
urn:nbn:se:kth:diva-267019 (URN)10.1007/s10494-020-00152-y (DOI)000534206500002 ()2-s2.0-85085286594 (Scopus ID)
Note

QC 20200204.

QC 20210915.

Available from: 2020-01-31 Created: 2020-01-31 Last updated: 2025-10-07Bibliographically approved
Offermans, N., Peplinski, A. & Schlatter, P. (2020). Mesh Optimization Using Dual-Weighted Error Estimators: Application to the Periodic Hill. In: ERCOFTAC Workshop Direct and Large Eddy Simulation: . Paper presented at DLES 2019: Direct and Large Eddy Simulation XII (pp. 397-403). Springer
Open this publication in new window or tab >>Mesh Optimization Using Dual-Weighted Error Estimators: Application to the Periodic Hill
2020 (English)In: ERCOFTAC Workshop Direct and Large Eddy Simulation, Springer , 2020, p. 397-403Conference paper, Published paper (Refereed)
Abstract [en]

Simulations have matured to be an important tool in the design and analysis of many modern industrial devices, in particular in the process, vehicle and aeronautical industries. Most of the considered flows are turbulent, for which it is impossible to perform straightforward grid-convergence studies without considering long-term statistics. Therefore, when performing simulations in computational fluid dynamics (CFD), the use of adaptive mesh refinement (AMR) is an effective strategy to increase the reliability of the solution at a reduced computational cost. Such tools allow for error control, reduced simulation time, easier mesh generation, better mesh quality and better resolution of the a priori unknown physics. In the present contribution, the design of an optimal mesh, using AMR, is investigated in Nek5000 [3], a highly scalable code based on the spectral element method (SEM) [9] and aimed at the direct numerical simulation (DNS) of the incompressible Navier–Stokes equations (further discussed in section “Numerical Method”)

Place, publisher, year, edition, pages
Springer, 2020
National Category
Fluid Mechanics
Identifiers
urn:nbn:se:kth:diva-285404 (URN)10.1007/978-3-030-42822-8_52 (DOI)2-s2.0-85085207394 (Scopus ID)
Conference
DLES 2019: Direct and Large Eddy Simulation XII
Note

QC 20201130

Available from: 2020-11-30 Created: 2020-11-30 Last updated: 2025-02-09Bibliographically approved
Peplinski, A., Offermans, N., Marin, O., Fischer, P. & Schlatter, P. (2019). Non-conforming elements in Nek5000: Pressure preconditioning and parallel performance. In: : . Paper presented at COSAHOM18 conference, July 9 - 13, 2018, London, United Kingdom.
Open this publication in new window or tab >>Non-conforming elements in Nek5000: Pressure preconditioning and parallel performance
Show others...
2019 (English)Conference paper, Published paper (Refereed)
Abstract [en]

Adaptive mesh refinement (AMR) is an important component of modern numerical solvers, as it allows to control the computational error during the simulation, increasing the reliability of the numerical modelling and giving the possibility to study a broad range of different phenomena even without knowing the physics a priori. In this work we present selected aspects of the implementation and parallel performance of a new h−type AMR framework developed for the high-order CFD solver Nek5000; the development was done within the ExaFLOW EU project. We utilise in this case the natural domain decomposition inherent to the spectral element method (SEM), which constitutes the main source of parallelism and provides meshing flexibility that can be exploited in AMR. We use standard libraries for parallel mesh management (p4est) and partitioning (ParMetis) and focus on developing efficient preconditioners for the pressure problem solved on non-conforming meshes. Two different approaches are considered: an additive overlapping Schwarz and a hybrid Schwarz-multigrid method.The strong scaling is shown on the example of the simulation of the turbulent flow around a NACA4412 wing section at Rec = 200, 000.

National Category
Fluid Mechanics
Research subject
Engineering Mechanics
Identifiers
urn:nbn:se:kth:diva-251633 (URN)
Conference
COSAHOM18 conference, July 9 - 13, 2018, London, United Kingdom
Note

QC 20190521

Available from: 2019-05-16 Created: 2019-05-16 Last updated: 2025-02-09Bibliographically approved
Offermans, N., Peplinski, A., Marin, O., Merzari, E. & Schlatter, P. (2019). Performance of preconditioners for large-scale simulations using Nek5000. In: Spectral and High Order Methods for Partial Differential Equations ICOSAHOM 2018: . Paper presented at ICOSAHOM18 conference, July 9 - 13, 2018, London, United Kingdom. Springer Nature
Open this publication in new window or tab >>Performance of preconditioners for large-scale simulations using Nek5000
Show others...
2019 (English)In: Spectral and High Order Methods for Partial Differential Equations ICOSAHOM 2018, Springer Nature , 2019Conference paper, Published paper (Refereed)
Abstract [en]

BoomerAMG, the algebraic multigrid solver from the hypre library, is used to solve a coarse grid problem which is part of the preconditioning strategy for thepressure equation arising from the numerical resolution of the Navier–Stokes equations. A set of optimal parameters for the setup phase is determined and used for selected strong scaling tests on two different supercomputers, namely Mira and Hazel Hen, on up to 131, 072 compute cores. The results are compared to an existing algebraic multigrid solver, designed specifically for the coarse gridproblem at hand. It is shown that the BoomerAMG solver is fast and scalable, and that performance depends on the computer architecture. The test cases considered are the turbulent flow past a NACA4412 airfoil and the turbulent flow inside wire-tapped pin bundles.

Place, publisher, year, edition, pages
Springer Nature, 2019
National Category
Fluid Mechanics
Research subject
Engineering Mechanics
Identifiers
urn:nbn:se:kth:diva-251632 (URN)10.1007/978-3-030-39647-3_20 (DOI)2-s2.0-85089719667 (Scopus ID)
Conference
ICOSAHOM18 conference, July 9 - 13, 2018, London, United Kingdom
Note

QC 20190520

Available from: 2019-05-16 Created: 2019-05-16 Last updated: 2025-02-09Bibliographically approved
Offermans, N., Peplinski, A., Marin, O., Fischer, P. & Schlatter, P. (2019). Towards Adaptive Mesh Refinement for the Spectral Element Solver Nek5000 (25ed.). In: Maria Vittoria Salvetti, Vincenzo Armenio, Jochen Fröhlich, Bernard J. Geurts, Hans Kuerten (Ed.), Direct and Large-Eddy Simulation XI: . Paper presented at Direct and Large-Eddy Simulation XI (pp. 9-15). Paper presented at Direct and Large-Eddy Simulation XI. Springer
Open this publication in new window or tab >>Towards Adaptive Mesh Refinement for the Spectral Element Solver Nek5000
Show others...
2019 (English)In: Direct and Large-Eddy Simulation XI, Springer, 2019, 25, p. 9-15Chapter in book (Refereed)
Abstract [en]

Hypre, a library for linear algebra, is used to replace a Matlab code for performing the setup step of an Algebraic Multigrid Method (AMG). The AMG method is used to compute part of the preconditioner in Nek5000, a code for Computational Fluid Dynamics based on the spectral element method. However, the solution of the AMG problem is not performed via Hypre but by Nek5000’s internal solver. The new AMG setup is shown to be faster by at least one order of magnitude, while it does not significantly impact the efficiency of the AMG solver, as is shown from its application to relevant test cases.

Place, publisher, year, edition, pages
Springer, 2019 Edition: 25
Series
ERCOFTAC Series, ISSN 1382-4309, E-ISSN 2215-1826 ; 25
Keywords
algebraic multigrid method, preconditioner
National Category
Fluid Mechanics
Research subject
Engineering Mechanics
Identifiers
urn:nbn:se:kth:diva-251628 (URN)10.1007/978-3-030-04915-7_2 (DOI)2-s2.0-85061343618 (Scopus ID)
Conference
Direct and Large-Eddy Simulation XI
Note

Part of ISBN 978-3-030-04915-7

QC 20190819

Available from: 2019-05-16 Created: 2019-05-16 Last updated: 2025-02-09Bibliographically approved
Offermans, N., Peplinski, A. & Schlatter, P. (2019). Unsteady adjoint error estimators and adaptive mesh refinement in Nek5000.
Open this publication in new window or tab >>Unsteady adjoint error estimators and adaptive mesh refinement in Nek5000
2019 (English)Report (Other academic)
Abstract [en]

Unsteady adjoint error estimators based on the dual-weighted residuals method are implemented for the spectral element method in Nek5000. The time-integration of the adjoint problem is performed based on the nonlinear direction solution recomputed via the revolve algorithm, which uses an optimal check-pointing strategy. Adaptive mesh refinement is performed on the flow inside a constricted periodic channel, the so-called periodic hill case, at four different Reynolds numbers, Re = 700, 1400, 2800 and 5600. This case is fully turbulent at all regimes, with significant flow separation, requires curved meshes, but yet has a number of accurate reference solutions in the literature. The chosen method to adapt the mesh is h-refinement, where selected elements are split by an oct-tree structure in three dimensions. The objective function for the adjoint estimators is the integral of the friction forces along the flat bottom wall between the hills, for which the location of the reattachment becomes crucial. The refinement process is compared between the adjoint error estimators and classical straightforward a posteriori spectral error indicators based on the local approximation properties of the solution.The turbulent simulations using mesh adaptation are stable, free of spurious numerical noise and accurate, as shown by comparing the statistical profiles of relevant flow quantities with reference data. The comparison between the error estimators shows that the adjoint error estimators tend to refine the mesh only around localized regions in the computational domain while leaving other areas under-resolved. However, only the locally refined regions are shown to have a significant impact on the value of the objective function and thus on the location of the reattachment point. Conversely, the spectral error indicatorstend to homogenize the error on the solution over the whole domain but have a lesser direct influence on the location of the reattachment point.

National Category
Fluid Mechanics
Research subject
Engineering Mechanics
Identifiers
urn:nbn:se:kth:diva-251636 (URN)
Note

QC 20190520

Available from: 2019-05-16 Created: 2019-05-16 Last updated: 2025-02-09Bibliographically approved
Tanarro, Á., Mallor, F., Offermans, N., Peplinski, A., Vinuesa, R. & Schlatter, P. (2019). Using adaptive mesh refinement to simulate turbulent wings at high Reynolds numbers. In: 11th International Symposium on Turbulence and Shear Flow Phenomena, TSFP 2019: . Paper presented at 11th International Symposium on Turbulence and Shear Flow Phenomena, TSFP 2019; Grand Harbour Hotel, Southampton; United Kingdom; 30 July 2019 through 2 August 2019.
Open this publication in new window or tab >>Using adaptive mesh refinement to simulate turbulent wings at high Reynolds numbers
Show others...
2019 (English)In: 11th International Symposium on Turbulence and Shear Flow Phenomena, TSFP 2019, 2019Conference paper, Published paper (Refereed)
Abstract [en]

The implementation of adaptive mesh refinement (AMR) in Nek5000 is used for the first time on the simulation of the flow over wings. This is done by simulating the flow over a NACA4412 profile with 5 degrees angle of attack at chord-based Reynolds number 200,000. The mesh is progressively refined by means of AMR which allows for high resolution near the wall whereas significantly larger elements are used in the far-field. The resultant mesh shows higher resolution than previous conformal meshes, and it allows for larger computational domains,which avoid the use of RANS to determine the boundary condition, all of this with, approximately, 3 times lower total number of grid points. The results ofthe turbulence statistics show a good agreement with the ones obtained with the conformal mesh. Finally, using AMR on wings leads to simulations at higher Reynolds numbers (i.e. Rec = 850, 000) in order to analyse the effect of adverse pressure gradients at high Reynolds numbers.

National Category
Fluid Mechanics
Research subject
Engineering Mechanics
Identifiers
urn:nbn:se:kth:diva-251637 (URN)2-s2.0-85084020857 (Scopus ID)
Conference
11th International Symposium on Turbulence and Shear Flow Phenomena, TSFP 2019; Grand Harbour Hotel, Southampton; United Kingdom; 30 July 2019 through 2 August 2019
Funder
Knut and Alice Wallenberg Foundation, 671571
Note

QC 20190521

Available from: 2019-05-16 Created: 2019-05-16 Last updated: 2025-02-09Bibliographically approved
Organisations
Identifiers
ORCID iD: ORCID iD iconorcid.org/0000-0002-1724-0188

Search in DiVA

Show all publications