The open source CFD library OpenFOAM is utilized to implement the ghost fluid method (GFM). The implemented solver GFMFoam is compared against the standard volume-of-fluid (VOF) solver interFoam in OpenFOAM.For both VOF solvers, the scalar transport equation is solved similarly but the discretization of the momentum and continuity equations differ between GFMFoam and interFoam. The two methods are compared in four test cases with mild surface deformation. First, the GFM implementation is validated.Second, the results on a 2d interface shear layer highlight the importance of the viscous term treatment in the GFM. Third, the model scale Wiggley hull results indicate that the GFMFoam is more sensitive to the grid aspect ratio and resolution than interFoam but the viscous resistance is better predicted. Also, GFMFoam is shown to be less sensitive to numerical ventilation than interFoam. Fourth, the results from the Hamburg Test Case indicate a total resistance prediction within 1% when evaluated against reference data at model scale and 10% at full scale. Based on the steady state test cases of the present study, GFMFoam has moderate benefits over interFoam but it does not clearly outperform interFoam.
scite is a Brooklyn-based organization that helps researchers better discover and understand research articles through Smart Citations–citations that display the context of the citation and describe whether the article provides supporting or contrasting evidence. scite is used by students and researchers from around the world and is funded in part by the National Science Foundation and the National Institute on Drug Abuse of the National Institutes of Health.