Hydrodynamic wave loading on and in offshore structures is studied by carrying out numerical simulations. Particular attention is paid to complex hydrodynamic phenomena such as wave breaking and air entrapment. The applied CFD method, ComFLOW, solves the Navier–Stokes equations with animproved Volume-of-Fluid method to track the movement of the free surface. A local height function keeps the surface sharp (no ‘flotsam and jetsam’). Application of two different fluid models, single-phase (only liquid) and two-phase (liquid and compressible gas) is presented, the latter model being capable of simulating bubbles of entrapped gas. Treatment of the density around the free surface is found highly critical for obtaining an accurate fluid distribut...