DeHNSSo:用于具有复杂几何特征的非线性稳定性问题的德尔福特谐波纳维-斯托克斯求解器

IF 7.2 2区 物理与天体物理 Q1 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS Computer Physics Communications Pub Date : 2024-05-20 DOI:10.1016/j.cpc.2024.109250
S. Westerbeek , S. Hulshoff , H. Schuttelaars , M. Kotsonis
{"title":"DeHNSSo:用于具有复杂几何特征的非线性稳定性问题的德尔福特谐波纳维-斯托克斯求解器","authors":"S. Westerbeek ,&nbsp;S. Hulshoff ,&nbsp;H. Schuttelaars ,&nbsp;M. Kotsonis","doi":"10.1016/j.cpc.2024.109250","DOIUrl":null,"url":null,"abstract":"<div><p>A nonlinear Harmonic Navier-Stokes (HNS) framework is introduced for simulating instabilities in laminar spanwise-invariant shear layers, featuring sharp and smooth wall surface protuberances. While such cases play a critical role in the process of laminar-to-turbulent transition, classical stability theory analyses such as parabolized or local stability methods fail to provide (accurate) results, due to their underlying assumptions. The generalized incompressible Navier-Stokes (NS) equations are expanded in perturbed form, using a spanwise and temporal Fourier ansatz for flow perturbations. The resulting equations are discretized using spectral collocation in the wall-normal direction and finite-difference methods in the streamwise direction. The equations are then solved using a direct sparse-matrix solver. The nonlinear mode interaction terms are converged iteratively. The solution implementation makes use of a generalized domain transformation to account for geometrical smooth surface features, such as humps. No-slip conditions can be embedded in the interior domain to account for the presence of sharp surface features such as forward- or backward-facing steps. Common difficulties with Navier-Stokes solvers, such as the treatment of the outflow boundary and convergence of nonlinear terms, are considered in detail. The performance of the developed solver is evaluated against several cases of representative boundary layer instability growth, including linear and nonlinear growth of Tollmien-Schlichting waves in a Blasius boundary layer and stationary crossflow instabilities in a swept flat-plate boundary layer. The latter problem is also treated in the presence of a geometrical smooth hump and a sharp forward-facing step at the wall. HNS simulation results, such as perturbation amplitudes, growth rates, and shape functions, are compared to benchmark flow stability analysis methods such as Parabolized Stability Equations (PSE), Adaptive Harmonic Linearized Navier-Stokes (AHLNS), or Direct Numerical Simulations (DNS). Good agreement is observed in all cases. The HNS solver is subjected to a grid convergence study and a simple performance benchmark, namely memory usage and computational cost. The computational cost is found to be considerably lower than high-fidelity DNS at comparable grid resolutions.</p></div><div><h3>Program summary</h3><p><em>Program Title:</em> DeHNSSo</p><p><em>CPC Library link to program files:</em> <span>https://doi.org/10.17632/9bnms99kk2.1</span><svg><path></path></svg></p><p><em>Developer's repository link:</em> <span>https://github.com/SvenWesterbeek/DeHNSSo</span><svg><path></path></svg></p><p><em>Licensing provisions:</em> GPLv3</p><p><em>Programming language:</em> Matlab</p><p><em>Supplementary material:</em> The supplementary material contains the code as well as a user manual.</p><p><em>Nature of problem:</em> Fluid flows are subject to laminar-to-turbulent transition following the growth of instabilities. To avoid computationally demanding Direct Numerical Simulations (DNS), perturbation theory is often applied to their analysis. However, classical stability methods based on the Orr-Sommerfeld equation or the Parabolized Stability Equations neglect the influence of streamwise gradients in varying degrees. The validity of these assumptions is difficult to estimate a priori.</p><p><em>Solution method:</em> The Delft Harmonic Navier-Stokes Solver (DeHNSSo) solves the harmonic Navier-Stokes equations nonlinearly on domains featuring sharp and smooth spanwise invariant surface features using a generalized grid approach in combination with an embedded boundary method. This allows the user to include the effects of streamwise gradients on flow at a fraction of the cost of DNS.</p><p><em>Additional comments including restrictions and unusual features:</em> In DeHNSSo, the equations are solved using direct matrix solvers. As such, memory is treated as a scarce resource. The problem is formulated in a mode-independent manner such that left-hand side matrices need only be computed and stored once despite incorporating nonlinear terms. Additionally, DeHNSSo offers the user the possibility to prescribe inhomogeneous boundary conditions to introduce and solve the receptivity problem or manipulate instabilities. Due to the double Fourier expansion, the solver is restricted to spanwise and temporally periodic problems.</p></div>","PeriodicalId":285,"journal":{"name":"Computer Physics Communications","volume":null,"pages":null},"PeriodicalIF":7.2000,"publicationDate":"2024-05-20","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://www.sciencedirect.com/science/article/pii/S0010465524001735/pdfft?md5=d004601e2b52d69146119eda014b888d&pid=1-s2.0-S0010465524001735-main.pdf","citationCount":"0","resultStr":"{\"title\":\"DeHNSSo: The delft harmonic Navier-Stokes solver for nonlinear stability problems with complex geometric features\",\"authors\":\"S. Westerbeek ,&nbsp;S. Hulshoff ,&nbsp;H. Schuttelaars ,&nbsp;M. Kotsonis\",\"doi\":\"10.1016/j.cpc.2024.109250\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"<div><p>A nonlinear Harmonic Navier-Stokes (HNS) framework is introduced for simulating instabilities in laminar spanwise-invariant shear layers, featuring sharp and smooth wall surface protuberances. While such cases play a critical role in the process of laminar-to-turbulent transition, classical stability theory analyses such as parabolized or local stability methods fail to provide (accurate) results, due to their underlying assumptions. The generalized incompressible Navier-Stokes (NS) equations are expanded in perturbed form, using a spanwise and temporal Fourier ansatz for flow perturbations. The resulting equations are discretized using spectral collocation in the wall-normal direction and finite-difference methods in the streamwise direction. The equations are then solved using a direct sparse-matrix solver. The nonlinear mode interaction terms are converged iteratively. The solution implementation makes use of a generalized domain transformation to account for geometrical smooth surface features, such as humps. No-slip conditions can be embedded in the interior domain to account for the presence of sharp surface features such as forward- or backward-facing steps. Common difficulties with Navier-Stokes solvers, such as the treatment of the outflow boundary and convergence of nonlinear terms, are considered in detail. The performance of the developed solver is evaluated against several cases of representative boundary layer instability growth, including linear and nonlinear growth of Tollmien-Schlichting waves in a Blasius boundary layer and stationary crossflow instabilities in a swept flat-plate boundary layer. The latter problem is also treated in the presence of a geometrical smooth hump and a sharp forward-facing step at the wall. HNS simulation results, such as perturbation amplitudes, growth rates, and shape functions, are compared to benchmark flow stability analysis methods such as Parabolized Stability Equations (PSE), Adaptive Harmonic Linearized Navier-Stokes (AHLNS), or Direct Numerical Simulations (DNS). Good agreement is observed in all cases. The HNS solver is subjected to a grid convergence study and a simple performance benchmark, namely memory usage and computational cost. The computational cost is found to be considerably lower than high-fidelity DNS at comparable grid resolutions.</p></div><div><h3>Program summary</h3><p><em>Program Title:</em> DeHNSSo</p><p><em>CPC Library link to program files:</em> <span>https://doi.org/10.17632/9bnms99kk2.1</span><svg><path></path></svg></p><p><em>Developer's repository link:</em> <span>https://github.com/SvenWesterbeek/DeHNSSo</span><svg><path></path></svg></p><p><em>Licensing provisions:</em> GPLv3</p><p><em>Programming language:</em> Matlab</p><p><em>Supplementary material:</em> The supplementary material contains the code as well as a user manual.</p><p><em>Nature of problem:</em> Fluid flows are subject to laminar-to-turbulent transition following the growth of instabilities. To avoid computationally demanding Direct Numerical Simulations (DNS), perturbation theory is often applied to their analysis. However, classical stability methods based on the Orr-Sommerfeld equation or the Parabolized Stability Equations neglect the influence of streamwise gradients in varying degrees. The validity of these assumptions is difficult to estimate a priori.</p><p><em>Solution method:</em> The Delft Harmonic Navier-Stokes Solver (DeHNSSo) solves the harmonic Navier-Stokes equations nonlinearly on domains featuring sharp and smooth spanwise invariant surface features using a generalized grid approach in combination with an embedded boundary method. This allows the user to include the effects of streamwise gradients on flow at a fraction of the cost of DNS.</p><p><em>Additional comments including restrictions and unusual features:</em> In DeHNSSo, the equations are solved using direct matrix solvers. As such, memory is treated as a scarce resource. The problem is formulated in a mode-independent manner such that left-hand side matrices need only be computed and stored once despite incorporating nonlinear terms. Additionally, DeHNSSo offers the user the possibility to prescribe inhomogeneous boundary conditions to introduce and solve the receptivity problem or manipulate instabilities. Due to the double Fourier expansion, the solver is restricted to spanwise and temporally periodic problems.</p></div>\",\"PeriodicalId\":285,\"journal\":{\"name\":\"Computer Physics Communications\",\"volume\":null,\"pages\":null},\"PeriodicalIF\":7.2000,\"publicationDate\":\"2024-05-20\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"https://www.sciencedirect.com/science/article/pii/S0010465524001735/pdfft?md5=d004601e2b52d69146119eda014b888d&pid=1-s2.0-S0010465524001735-main.pdf\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Computer Physics Communications\",\"FirstCategoryId\":\"101\",\"ListUrlMain\":\"https://www.sciencedirect.com/science/article/pii/S0010465524001735\",\"RegionNum\":2,\"RegionCategory\":\"物理与天体物理\",\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"Q1\",\"JCRName\":\"COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Computer Physics Communications","FirstCategoryId":"101","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0010465524001735","RegionNum":2,"RegionCategory":"物理与天体物理","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS","Score":null,"Total":0}
引用次数: 0

摘要

本文引入了一个非线性谐波纳维-斯托克斯(HNS)框架,用于模拟具有尖锐和光滑壁面突起的层流跨度不变剪切层中的不稳定性。虽然这种情况在层流向湍流过渡的过程中起着关键作用,但由于其基本假设,经典的稳定性理论分析(如抛物线法或局部稳定性法)无法提供(准确的)结果。使用跨度和时间傅里叶拟态法对流动扰动进行扰动形式的广义不可压缩纳维-斯托克斯(Navier-Stokes,NS)方程展开。在壁面法线方向使用谱配位法,在流向方向使用有限差分法,对所得方程进行离散化处理。然后使用直接稀疏矩阵求解器求解方程。非线性模式交互项通过迭代收敛。求解方法利用广义域变换来考虑驼峰等几何平滑表面特征。无滑动条件可嵌入内域,以考虑尖锐表面特征的存在,如向前或向后的台阶。详细考虑了纳维-斯托克斯求解器的常见问题,如外流边界的处理和非线性项的收敛。针对几个具有代表性的边界层不稳定性增长案例,对所开发求解器的性能进行了评估,包括 Blasius 边界层中 Tollmien-Schlichting 波的线性和非线性增长,以及扫掠平板边界层中的静止横流不稳定性。后一个问题还在壁面存在几何平滑驼峰和急剧前向台阶的情况下进行了处理。HNS 模拟结果(如扰动振幅、增长率和形状函数)与基准流动稳定性分析方法(如 Parabolized Stability Equations (PSE)、Adaptive Harmonic Linearized Navier-Stokes (AHLNS) 或 Direct Numerical Simulations (DNS) 等)进行了比较。在所有情况下都观察到了良好的一致性。对 HNS 求解器进行了网格收敛研究和简单的性能基准测试,即内存使用率和计算成本。在网格分辨率相当的情况下,计算成本大大低于高保真 DNS:DeHNSSoCPC Library 程序文件链接:https://doi.org/10.17632/9bnms99kk2.1Developer's repository 链接:https://github.com/SvenWesterbeek/DeHNSSoLicensing provisions:GPLv3 编程语言Matlab补充材料:问题性质:流体流动在不稳定性增长后会发生层流到湍流的转变。为避免直接数值模拟(DNS)对计算的要求,通常采用扰动理论对其进行分析。然而,基于 Orr-Sommerfeld 方程或 Parabolized 稳定方程的经典稳定方法在不同程度上忽略了流向梯度的影响。这些假设的有效性很难预先估计:代尔夫特谐波纳维-斯托克斯方程求解器(DeHNSSo)在具有尖锐和光滑跨向不变表面特征的域上,使用广义网格法结合嵌入边界法对谐波纳维-斯托克斯方程进行非线性求解。这使得用户只需花费 DNS 的一小部分成本,就能将流向梯度对流动的影响考虑在内:在 DeHNSSo 中,方程采用直接矩阵求解器求解。因此,内存被视为稀缺资源。问题是以与模式无关的方式提出的,因此,尽管包含非线性项,左侧矩阵只需计算和存储一次。此外,DeHNSSo 还为用户提供了规定非均质边界条件的可能性,以引入和解决接受性问题或处理不稳定性。由于采用了双傅立叶展开,该求解器仅限于跨度和时间周期问题。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
DeHNSSo: The delft harmonic Navier-Stokes solver for nonlinear stability problems with complex geometric features

A nonlinear Harmonic Navier-Stokes (HNS) framework is introduced for simulating instabilities in laminar spanwise-invariant shear layers, featuring sharp and smooth wall surface protuberances. While such cases play a critical role in the process of laminar-to-turbulent transition, classical stability theory analyses such as parabolized or local stability methods fail to provide (accurate) results, due to their underlying assumptions. The generalized incompressible Navier-Stokes (NS) equations are expanded in perturbed form, using a spanwise and temporal Fourier ansatz for flow perturbations. The resulting equations are discretized using spectral collocation in the wall-normal direction and finite-difference methods in the streamwise direction. The equations are then solved using a direct sparse-matrix solver. The nonlinear mode interaction terms are converged iteratively. The solution implementation makes use of a generalized domain transformation to account for geometrical smooth surface features, such as humps. No-slip conditions can be embedded in the interior domain to account for the presence of sharp surface features such as forward- or backward-facing steps. Common difficulties with Navier-Stokes solvers, such as the treatment of the outflow boundary and convergence of nonlinear terms, are considered in detail. The performance of the developed solver is evaluated against several cases of representative boundary layer instability growth, including linear and nonlinear growth of Tollmien-Schlichting waves in a Blasius boundary layer and stationary crossflow instabilities in a swept flat-plate boundary layer. The latter problem is also treated in the presence of a geometrical smooth hump and a sharp forward-facing step at the wall. HNS simulation results, such as perturbation amplitudes, growth rates, and shape functions, are compared to benchmark flow stability analysis methods such as Parabolized Stability Equations (PSE), Adaptive Harmonic Linearized Navier-Stokes (AHLNS), or Direct Numerical Simulations (DNS). Good agreement is observed in all cases. The HNS solver is subjected to a grid convergence study and a simple performance benchmark, namely memory usage and computational cost. The computational cost is found to be considerably lower than high-fidelity DNS at comparable grid resolutions.

Program summary

Program Title: DeHNSSo

CPC Library link to program files: https://doi.org/10.17632/9bnms99kk2.1

Developer's repository link: https://github.com/SvenWesterbeek/DeHNSSo

Licensing provisions: GPLv3

Programming language: Matlab

Supplementary material: The supplementary material contains the code as well as a user manual.

Nature of problem: Fluid flows are subject to laminar-to-turbulent transition following the growth of instabilities. To avoid computationally demanding Direct Numerical Simulations (DNS), perturbation theory is often applied to their analysis. However, classical stability methods based on the Orr-Sommerfeld equation or the Parabolized Stability Equations neglect the influence of streamwise gradients in varying degrees. The validity of these assumptions is difficult to estimate a priori.

Solution method: The Delft Harmonic Navier-Stokes Solver (DeHNSSo) solves the harmonic Navier-Stokes equations nonlinearly on domains featuring sharp and smooth spanwise invariant surface features using a generalized grid approach in combination with an embedded boundary method. This allows the user to include the effects of streamwise gradients on flow at a fraction of the cost of DNS.

Additional comments including restrictions and unusual features: In DeHNSSo, the equations are solved using direct matrix solvers. As such, memory is treated as a scarce resource. The problem is formulated in a mode-independent manner such that left-hand side matrices need only be computed and stored once despite incorporating nonlinear terms. Additionally, DeHNSSo offers the user the possibility to prescribe inhomogeneous boundary conditions to introduce and solve the receptivity problem or manipulate instabilities. Due to the double Fourier expansion, the solver is restricted to spanwise and temporally periodic problems.

求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
Computer Physics Communications
Computer Physics Communications 物理-计算机:跨学科应用
CiteScore
12.10
自引率
3.20%
发文量
287
审稿时长
5.3 months
期刊介绍: The focus of CPC is on contemporary computational methods and techniques and their implementation, the effectiveness of which will normally be evidenced by the author(s) within the context of a substantive problem in physics. Within this setting CPC publishes two types of paper. Computer Programs in Physics (CPiP) These papers describe significant computer programs to be archived in the CPC Program Library which is held in the Mendeley Data repository. The submitted software must be covered by an approved open source licence. Papers and associated computer programs that address a problem of contemporary interest in physics that cannot be solved by current software are particularly encouraged. Computational Physics Papers (CP) These are research papers in, but are not limited to, the following themes across computational physics and related disciplines. mathematical and numerical methods and algorithms; computational models including those associated with the design, control and analysis of experiments; and algebraic computation. Each will normally include software implementation and performance details. The software implementation should, ideally, be available via GitHub, Zenodo or an institutional repository.In addition, research papers on the impact of advanced computer architecture and special purpose computers on computing in the physical sciences and software topics related to, and of importance in, the physical sciences may be considered.
期刊最新文献
A novel model for direct numerical simulation of suspension dynamics with arbitrarily shaped convex particles Editorial Board Study α decay and proton emission based on data-driven symbolic regression Efficient determination of free energies of non-ideal solid solutions via hybrid Monte Carlo simulations 1D drift-kinetic numerical model based on semi-implicit particle-in-cell method
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1