This work develops a new finite volume convection scheme and open-source library for convection-dominated problems on unstructured grids. The formulated reconstruction operators can realize high-resolution and structure-preserving properties by adjusting numerical dissipation and anti-dissipation errors in a unified normalized-variable diagram. Then, this work develops a new open-source library based on the devised schemes within one of the most widely used general-purpose open-source software whose solution quality is intrinsically limited by the low accuracy of the conventional total variation diminishing schemes. The performance of the new library is first verified by some fundamental problems including pure advection and inviscid Euler equations. The numerical results of the accuracy tests show that the developed interpolation library can significantly reduce numerical errors with a minor increased computational cost compared with the conventional second-order schemes. The complex profile advection test demonstrates that the new library can offer an improved structure-preserving property that gives essentially oscillation-free solutions and preserves the structures of the passive transported scalar. Furthermore, the robustness of the new library is validated by compressible high-speed flow simulations with irregular geometries. Thus, this work presents a new library of high-resolution structure-preserving schemes for the accurate and efficient discretization of the convection term which plays an essential role in a wide range of computational fluid dynamics. The source code of the new scheme and library are released via DOI:10.5281/zenodo.8399000.
Read full abstract