论文标题
OpenFOAM中表面张力建模的准确方法
An accurate methodology for surface tension modeling in OpenFOAM
论文作者
论文摘要
在本文中,提出了一种用于表面张力建模的数值方法,重点是OpenFOAM框架中的实现。该方法依赖于(i)基于幽灵流体方法(GFM)的均衡方法的组合,包括在压力方程的数值离散化中直接在数值离散化中的密度和压力的跳跃,以及(ii)高度函数以评估界面曲率,以实现,以作者的知识,在OpenFoam中进行了首次实现。该方法能够显着降低固定液滴的伪电流(几乎达到机器的精度),显示曲率和界面形状的二阶收敛。还可以为其他测试用例(例如翻译液滴,毛细管振荡和升高的气泡)获得准确的结果,为此,数值结果与其他数值代码在相同条件下获得的结果相当。最后,扩展了高度函数方法,包括对接触角的处理,无论是在重力效果下悬浮的连滴和液滴,与理论预测非常吻合。该代码在并行模式下起作用,包括OpenFOAM中实际实现的详细信息,以促进结果的可重复性。
In this paper a numerical methodology for surface tension modeling is presented, with an emphasis on the implementation in the OpenFOAM framework. The methodology relies on a combination of (i) a well-balanced approach based on the Ghost Fluid Method (GFM), including the jump of density and pressure directly in the numerical discretization of the pressure equation, and (ii) Height Functions to evaluate the interface curvature, implemented, to the authors' knowledge, for the first time in OpenFOAM. The method is able to significantly reduce spurious currents (almost to machine accuracy) for a stationary droplet, showing second order convergence both for the curvature and the interface shape. Accurate results are also obtained for additional test cases such as translating droplets, capillary oscillations and rising bubbles, for which numerical results are comparable to what obtained by other numerical codes in the same conditions. Finally, the Height Functions method is extended to include the treatment of contact angles, both for sessile droplets and droplets suspended under the effect of gravity, showing a very good agreement with the theoretical prediction. The code works in parallel mode and details on the actual implementation in OpenFOAM are included to facilitate the reproducibility of the results.