Abstract

The solution procedure for two phases in OpenFOAM suffers from unphysical velocity oscillations at the free surface between the two phases. It is likely that this problem also exists in other two-phase Computational Fluid Dynamics (CFD) codes. We aim to solve this by imposing boundary conditions directly on the free surface. We have taken the first step towards a new two-phase solution method by first addressing the water phase alone. It is a free surface modelling method based on merging concepts from two existing methods: (1) A single-phase free surface method and (2) the solution method used in OpenFOAM. The underlying motivation is to enable more accurate estimation of wave induced load distributions from wave crest impacts on offshore structures. This first and foremost requires an accurate prediction of the kinematics near the free surface. We present a solution method with boundary conditions directly on the free surface, thereby the name: Direct Surface Description (DSD). Additionally it is the first time that the isoAdvector algorithm is combined with a single phase free surface method. The implementation is made in OpenFOAM, but may also relevant to other codes as well. First a still water level simulation is presented to illustrate the unphysical behavior of the existing solvers and validate the behaviour of the DSD method. The second test case is a moderately steep stream function wave in intermediate water depth. The DSD method is validated and compared to the existing solution methods of OpenFOAM: interFoam and interIsoFoam . We present a detailed comparison of surface elevations and velocity profiles. This is followed by a convergence study including wave height, velocity and phase shift. Additionally the influence of the Courant–Friedrichs–Lewy (CFL) number is studied. The stream function wave case demonstrates that the DSD method accurately predicts the free surface elevation and velocity fields without free surface undulations or oscillatory velocity fields. The convergence study underlines an increased accuracy of the DSD method. Finally, a 2D and a 3D showcase with breaking waves are presented to show that the DSD method is capable of simulating more complex and realistic cases. • The oscillatory velocities at free surface in OpenFOAM is removed by DSD-method. • Presents a rarely seen comparison of velocity profiles below wave crest and trough. • New DSD-method eliminates the air region leading to decreased CPU time. • Implementation in OpenFOAM makes the method ready for unstructured meshes. • Presents convergence study of velocity and wave heights w.r.t. mesh and CFL number.

Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call