This story starts with a journey: from London to the other side of the world, in November 2014. The destination was the 30th Symposium on Naval Hydrodynamics, Hobart, Tasmania, of the southern coast of Australia on 2-7 November 2014. The journey bordered on ridiculous: almost 24 hours door-to-door. Half way around the planet, from London winter to Australian summer (still quite cold in Tasmania). My topic was Rapid Free Surface Simulation for Steady-State Hull Resistance but I was not too happy about the solver.
I had dinner with prof. Pablo Carrica of the University of Iowa, complete with lack of sleep, jet-lag and general exhaustion. We quickly settled on one topic: parasitic velocities above the free surface.
The case you are looking at is simple wave propagation in a wave tank; sufficient mesh resolution and the best numerics I had at the time were applied. The flow is laminar - no turbulence model to confuse things. This IS state-of-the-art: only codes with interface jump conditions can do better.
In short, momentum equation for free surface capturing includes fluid density rho for the two-phase system, with a large jump at the free surface: 1000-to-1 for a water-air system. Presence of rho in the momentum equation requires us to calculate density gradient grad(rho) in various forms during discretisation. Taking a numerical gradient of the free surface step function is not a good idea.
In Pablo’s paper, the offered solution involves dividing the momentum equation by rho, which, while constant within each phase, generates a set of interface jump conditions at the free surface. This involves a jump at the density gradient at the free surface. If you wish to understand this, consider a glass of water at rest. The pressure forms p = rho g h, and its gradient is dependent on fluid density. Therefore, at the free surface, and due to a jump in density, the pressure gradient also jumps: its change is equal to the density ratio.
https://doi.org/10.1002/fld.1279
The practical consequence of this is that one cannot use the pressure value at the air side of the interface to calculate grad(p) in water and vice-versa: the interface jump condition! Instead, there will be a jump in grad(p) that is calculated using one-sided discretisation, with various flux consequences in the FVM formulation of the momentum and pressure equation.
In CFD-Ship Iowa, the code used by Pablo at the time, they only solve for the water side of the flow. In NavPak, we wish to do better, solving both for water and air. It has quickly become obvious that the original formulation of interface jump conditions was not symmetric, ie that the jump looks different if you look at it from either side of the interface. We corrected this.
Interface jump conditions completely eliminates parasitic velocities at the free surface. Improvement in performance is amazing: there is no parasitic velocity, the free surface is completely clean; pressure gradient breaks cleanly!
This not only stabilises the simulation, but also drops the (unphysical) maximum velocity: in our case from 0.7 m/s to 0.12 m/s, which is a significant factor. This in turn drops your maximum Courant number and speeds up the run. The pressure solver does less work, further improving simulation time.
A “clean” velocity field produces a “clean” dynamic pressure field. Looking at the pressure distribution in a pitching ship during a sea-keeping simulation looks very much like a pitching airfoil in a single-phase flow - as it should.

Interface jump conditions need to account for the exact position of the free surface in the mesh, irrespective of the surface-capturing equation you are using. For VOF, this will be the alpha = 0.5 iso-surface; for level set it is the zero distance. Pressure force is evaluated separately for the “wet” and “dry” part of the cell/face, giving exceptionally accurate result for dynamic pressure forces. All in all, interface jump conditions are the best way of stabilising and speeding up a free surface CFD solver.
For those interested in details, this is Case C-2.10, wave height 2 from Tokyo 2015: A Workshop on CFD in Ship Hydrodynamics. Our results are remarkably accurate; having repeated the test this summer, I was very encouraged with the improvement after 10 years of further development. More on this in a future article.
On the down-side, interface jump conditions do not allow partial convergence of the pressure equation in PISO-SIMPLE pressure-velocity coupling. The pressure field is now more complex and converging the pressure to 1e-6 or better is really needed. The extra cost of pressure solution is more than repaid by the removal of parasitic velocity and increase in time-step size.
This is not the easiest numerical discretisation feature to implement: mesh faces straddling the free surface need to be identified and updated. For full details, see the paper:
Vukcevic et.al: Implementation of the Ghost Fluid Method for free surface flows in polyhedral Finite Volume framework, Computers & Fluids, v 153, 10 August 2017, pp 1-19
https://doi.org/10.1016/j.compfluid.2017.05.003
This is the major fundamental development making the NavPak solver so superior to other competitors. The secret is out!
All the results in this blog are produces using the NavPak and Naval Hydro Pack by Wikki. Contact me for further details at https://www.wikki.co.uk , by direct message or by E-mail.
For more information on Wikki’s naval hydrodynamics CFD products, please see our web page
and




