Asgharzadeh Hafez, Borazjani Iman
337 Jarvis Hall, The state university of new york at buffalo, Buffalo, NY.
J Comput Phys. 2017 Feb 15;331:227-256. doi: 10.1016/j.jcp.2016.11.033. Epub 2016 Nov 25.
The explicit and semi-implicit schemes in flow simulations involving complex geometries and moving boundaries suffer from time-step size restriction and low convergence rates. Implicit schemes can be used to overcome these restrictions, but implementing them to solve the Navier-Stokes equations is not straightforward due to their non-linearity. Among the implicit schemes for nonlinear equations, Newton-based techniques are preferred over fixed-point techniques because of their high convergence rate but each Newton iteration is more expensive than a fixed-point iteration. Krylov subspace methods are one of the most advanced iterative methods that can be combined with Newton methods, i.e., Newton-Krylov Methods (NKMs) to solve non-linear systems of equations. The success of NKMs vastly depends on the scheme for forming the Jacobian, e.g., automatic differentiation is very expensive, and matrix-free methods without a preconditioner slow down as the mesh is refined. A novel, computationally inexpensive analytical Jacobian for NKM is developed to solve unsteady incompressible Navier-Stokes momentum equations on staggered overset-curvilinear grids with immersed boundaries. Moreover, the analytical Jacobian is used to form preconditioner for matrix-free method in order to improve its performance. The NKM with the analytical Jacobian was validated and verified against Taylor-Green vortex, inline oscillations of a cylinder in a fluid initially at rest, and pulsatile flow in a 90 degree bend. The capability of the method in handling complex geometries with multiple overset grids and immersed boundaries is shown by simulating an intracranial aneurysm. It was shown that the NKM with an analytical Jacobian is 1.17 to 14.77 times faster than the fixed-point Runge-Kutta method, and 1.74 to 152.3 times (excluding an intensively stretched grid) faster than automatic differentiation depending on the grid (size) and the flow problem. In addition, it was shown that using only the diagonal of the Jacobian further improves the performance by 42 - 74% compared to the full Jacobian. The NKM with an analytical Jacobian showed better performance than the fixed point Runge-Kutta because it converged with higher time steps and in approximately 30% less iterations even when the grid was stretched and the Reynold number was increased. In fact, stretching the grid decreased the performance of all methods, but the fixed-point Runge-Kutta performance decreased 4.57 and 2.26 times more than NKM with a diagonal Jacobian when the stretching factor was increased, respectively. The NKM with a diagonal analytical Jacobian and matrix-free method with an analytical preconditioner are the fastest methods and the superiority of one to another depends on the flow problem. Furthermore, the implemented methods are fully parallelized with parallel efficiency of 80-90% on the problems tested. The NKM with the analytical Jacobian can guide building preconditioners for other techniques to improve their performance in the future.
在涉及复杂几何形状和移动边界的流动模拟中,显式和半隐式格式存在时间步长限制和收敛速度低的问题。隐式格式可用于克服这些限制,但由于其非线性,将其用于求解纳维 - 斯托克斯方程并非易事。在非线性方程的隐式格式中,基于牛顿法的技术因其高收敛速度而优于定点技术,但每次牛顿迭代比定点迭代成本更高。克里洛夫子空间方法是最先进的迭代方法之一,可与牛顿法相结合,即牛顿 - 克里洛夫子方法(NKMs)来求解非线性方程组。NKMs的成功很大程度上取决于雅可比矩阵的形成方案,例如自动微分成本很高,而无矩阵方法在没有预条件器时会随着网格细化而变慢。本文开发了一种新颖的、计算成本低的用于NKMs的解析雅可比矩阵,以求解具有浸入边界的交错重叠曲线网格上的非定常不可压缩纳维 - 斯托克斯动量方程。此外,该解析雅可比矩阵用于为无矩阵方法形成预条件器,以提高其性能。使用该解析雅可比矩阵的NKMs针对泰勒 - 格林涡、初始静止流体中圆柱体的轴向振荡以及90度弯管中的脉动流进行了验证和校验。通过模拟颅内动脉瘤展示了该方法处理具有多个重叠网格和浸入边界的复杂几何形状的能力。结果表明,使用解析雅可比矩阵的NKMs比定点龙格 - 库塔方法快1.17至14.77倍,比自动微分快1.74至152.3倍(不包括高度拉伸的网格),具体取决于网格(大小)和流动问题。此外,结果表明,与完整雅可比矩阵相比,仅使用雅可比矩阵的对角线可使性能进一步提高42 - 74%。使用解析雅可比矩阵的NKMs表现优于定点龙格 - 库塔方法,因为即使在网格拉伸和雷诺数增加的情况下,它也能以更大的时间步长收敛,且迭代次数减少约30%。实际上,网格拉伸会降低所有方法的性能,但当拉伸因子增加时,定点龙格 - 库塔方法的性能下降分别比使用对角线雅可比矩阵的NKMs多4.57倍和2.26倍。具有对角线解析雅可比矩阵的NKMs和具有解析预条件器的无矩阵方法是最快的方法,它们之间的优势取决于流动问题。此外,所实现的方法完全并行化,在测试问题上的并行效率为80 - 90%。具有解析雅可比矩阵的NKMs可为未来其他技术构建预条件器以提高其性能提供指导。