The isotropy is a fundamental requirement for solving partial differential equations by the finite difference scheme. In this work, we first introduce the concept of the virtual nodes to construct the finite difference scheme, and propose several stencils of finite difference discretization to optimize the isotropy of the gradient and Laplacian operators. The isotropic error of the optimized gradient stencil is reduced to 4.1% and 7.5% of the conventional scheme and the typical 4th-order isotropic stencil that is widely used in the multiphase lattice Boltzmann method, while the optimized Laplacian stencil displays the best performance in the Fourier analysis. Then, the optimized stencils are applied to suppress the spurious currents in the multiphase lattice Boltzmann method. The spurious current is reduced to only 7.2% of that calculated by the typical 4th-order isotropic stencil at the reduced temperature 0.6, at which the liquid/gas density ratio is near to 1000. Furthermore, they are adopted to rectify the dendrite directions in the alloy solidification simulations by the phase field method. The angle deviation of dendrite growth is reduced to 15.7% of the conventional scheme.
Read full abstract