{'fraction_non_alphanumeric': 0.01809954751131222, 'fraction_numerical': 0.0, 'mean_word_length': 5.273049645390071, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
An Effective Implementation of Surface Tension Using the Marker and Cell Method for Axisymmetric and Planar Flows

This work presents a method for simulating axisymmetric and planar free-surface flows dominated by surface tension forces. The surface tension effects are incorporated into the free surface boundary conditions through the computation of the capillary pressure. The required curvature is evaluated by fitting a least squares curve to the free surface using the tracking markers in the cell and in its close neighbors. To avoid short wavelength perturbations on the free surface, a mass-conserving local four-point stencil filter is employed. This filter is an extension of the trapezoidal subgrid undulations removal (TSUR) method. The TSUR technique consists of modifying the positions of two ``internal'' markers of the four-point stencil in such a way that the surface length and the curvature are minimized, while still preserving the volume. The computation of the curvature is modified at cells adjacent to solid boundaries in order to apply contact angle boundary conditions. To identify neighboring cells efficiently, an implementation is effected through a dual representation of the cell data: in addition to a matrix representation, a list structure is also employed which permits the representation of specific groups of cells and associated data. This technique was implemented in the GENSMAC code, and it has been proved to be robust. The code is shown to produce accurate results when compared with exact solutions of selected fluid dynamical problems involving surface tension. Additionally, it is demonstrated that the method is applicable to complex free-surface flows, such as containers filling, splashing drops, and bursting bubbles.