The accurate reconstruction of immiscible fluid-fluid interfaces from the volume fraction field is a critical component of geometric Volume of Fluid (VOF) methods. A common strategy is the Piecewise Linear Interface Calculation (PLIC), which fits a plane in each mixed-phase computational cell. However, recent work goes beyond PLIC by using two planes or even a paraboloid. To select such planes or paraboloids, complex optimization algorithms as well as carefully crafted heuristics are necessary. Yet, the potential exists for a well-trained machine learning model to efficiently provide broadly applicable solutions to the interface reconstruction problem at lower costs. In this work, the viability of a machine learning approach is demonstrated in the context of a single plane reconstruction. A feed-forward deep neural network is used to predict the normal vector of a PLIC plane given volume fraction and phasic barycenter data in a $3\times3\times3$ stencil. The PLIC plane is then translated in its cell to ensure exact volume conservation. Our proposed neural network PLIC reconstruction (PLIC-Net) is equivariant to reflections about the Cartesian planes. Training data is analytically generated with $\mathcal{O}(10^6)$ randomized paraboloid surfaces, which allows for sampling a wide range of interface shapes. PLIC-Net is tested in multiphase flow simulations where it is compared to standard (E)LVIRA reconstruction algorithms, and the impact of training data statistics on PLIC-Net's performance is also explored. It is found that PLIC-Net greatly limits the formation of spurious planes and generates cleaner numerical break-up of the interface. Additionally, the computational cost of PLIC-Net is lower than that of (E)LVIRA. These results establish that machine learning is a viable approach to VOF interface reconstruction and is superior to current reconstruction algorithms for some cases.
Analytic Solution to the Piecewise Linear Interface Construction Problem and its Application in Curvature Calculation for Volume-of-Fluid Simulation Codes
A comparative study of split advection algorithms on Moment-of-Fluid (MOF) method for incompressible flow
流体矩法(Moment-of-Fluid Method,MOF)是流体体积法(Volume-of-Fluid Method with Piecewise Linear Interface Construction,VOF-PLIC)的一种推广。在这项研究中,几个方向分裂平流算法从VOF-PLIC方法扩展到MOF方法。这些方法,以及一些现有的方向分裂算法,详细介绍,特别是对流算法的几何和非几何性质。此外,我们还提出了一种简单有效的解析形式,用于计算三维相交多面体的体积和质心。数值试验,包括2D和3D的测试,进行了调查的质量守恒和几何误差。数值结果表明,混合EI和LE格式(EILE 2D)\citep{aulisa_geometrical_2003}在二维具有最好的整体性能,Weymouth和Yue格式(WY)在三维具有最好的整体性能.
Network Compression for Machine-Learnt Fluid Simulations
多尺度、多保真度的数值模拟是流体数值建模相关科学应用的支柱。然而,模拟由非线性纳维-斯托克斯方程表征的流体行为通常是计算昂贵的。物理信息机器学习方法是一种可行的替代方法,因此在社区中引起了极大的兴趣[参考Kutz(2017); Brunton et al.(2020); Duraisamy et al.(2019)关于这个主题的详细评论]。对于完整的物理仿真器,网络推理的成本往往微不足道。然而,在当前数据驱动的流体力学范例中,模型被构建为复杂子过程的替代物。然后将这些模型与Navier Stokes求解器结合使用,这使得ML模型推理成为算法延迟方面的一个重要因素。随着网络规模的不断增长,并且经常过度参数化,探索有效的网络压缩技术不仅与工程系统设计相关,而且至关重要。在这项研究中,我们探讨了修剪和量化(FP 32到int 8)方法的适用性,这样一个应用程序相关的建模流体湍流。压缩后,我们通过将压缩后的网络状态与原始网络状态进行比较,证明了网络预测准确性的提高,并在此过程中建立了直观性。