Computations of wall distances still play a key role in modern turbulence modeling. Motivated by the expense involved in the computation, an approach solving partial differential equations is considered. An Euler-like transport equation is proposed based on the Eikonal equation. Thus, the efficient algorithms and code components developed for solving transport equations such as Euler and Navier-Stokes equations can be reused. This article provides a detailed implementation of the transport equation in the Cartesian coordinates based on the code of computational fluid dynamics for missiles (MI- CFD) of Beihang University. The transport equation is robust and rapidly convergent by the implicit lower-upper symmetric Gauss-Seidel (LUSGS) time advancement and upwind spatial discretization. Geometric derivatives must also be upwind determined to ensure accuracy. Special treatments on initial and boundary conditions are discussed. This distance solving approach is successfully applied on several complex geometries with 1-1 blocking or overset grids.
针对重叠网格寻点问题,提出了一种直接在格心网格下操作,基于虚网格的ADT(Alternating Digital Tree)搜索方法.通过对计算网格进行扩展,建立虚边界网格,解决了格心网格因覆盖区域不完整而无法直接建立ADT数据结构的问题.搜索结果即为包含解的格心单元集合,可直接对结果列表遍历以得到合理贡献单元,故完全摒弃了可靠性差的StencilWalk方法.由虚网格的定义,使寻点在边界附近的处理更为灵活,可以准确给出边界附近贡献单元的有效信息,同时简化了虚网格体系的构建.扩展了重叠边界类型,构建的搜索空间能完整覆盖网格范围,解决了对称面重叠问题.算例研究表明:该方法可靠性好,边界处理能力强,有效提高了重叠网格方法对大型复杂网格的解算能力.
In this paper,the discontinuous Galerkin(DG)method combined with localized artificial diffusivity is investigated in the context of numerical simulation of broadband compressible turbulent flows with shocks for under-resolved cases.Firstly,the spectral property of the DG method is analyzed using the approximate dispersion relation(ADR)method and compared with typical finite difference methods,which reveals quantitatively that significantly less grid points can be used with DG for comparable numerical error.Then several typical test cases relevant to problems of compressible turbulence are simulated,including one-dimensional shock/entropy wave interaction,two-dimensional decaying isotropic turbulence,and two-dimensional temporal mixing layers.Numerical results indicate that higher numerical accuracy can be achieved on the same number of degrees of freedom with DG than high order finite difference schemes.Furthermore,shocks are also well captured using the localized artificial diffusivity method.The results in this work can provide useful guidance for further applications of DG to direct and large eddy simulation of compressible turbulent flows.
A novel class of weighted essentially nonoscillatory (WENO) schemes based on Hermite polynomi- als, termed as HWENO schemes, is developed and applied as limiters for high order discontinuous Galerkin (DG) method on triangular grids. The developed HWENO methodology utilizes high-order derivative information to keep WENO re- construction stencils in the von Neumann neighborhood. A simple and efficient technique is also proposed to enhance the smoothness of the existing stencils, making higher-order scheme stable and simplifying the reconstruction process at the same time. The resulting HWENO-based limiters are as compact as the underlying DG schemes and therefore easy to implement. Numerical results for a wide range of flow conditions demonstrate that for DG schemes of up to fourth order of accuracy, the designed HWENO limiters can simul- taneously obtain uniform high order accuracy and sharp, es- sentially non-oscillatory shock transition.