Abstract
We present an efficient discrete Hodge decomposition for velocity fields defined over irregular domains in two and three dimensions using a virtual node framework. The method is designed for use in the exact projection discretization of incompressible flow. We leverage the Poisson framework initially developed in [1] and [2]. This approach uses a signed distance function to represent the irregular domain embedded in a Cartesian grid and uses a variational approach to create a symmetric positive definite linear system. We present a novel modification to the previous approach that yields a 5-point stencil (7-point in 3D) across the entire computational domain. The original algorithm required a 9-point stencil (27-point in 3D) near the embedded irregular boundary. We show that this new condensed stencil enables a decomposition of the form A = G T M 1 G, where M is a diagonal weighting matrix and G and D = G T are diagonal scalings of the standard central-difference gradient and divergence operators. We use this factored form as the basis of our discrete Hodge decomposition and show that this can be readily used for exact projection in incompressible flow. Numerical experiments suggest our method is second-order in L ¥ for pressures and first-order in L ¥ , second-order in L 1 for velocities.
Talk to us
Join us for a 30 min session where you can share your feedback and ask us any queries you have