Running VOF simulations typically requires a transient approach, but sometimes you are not necessarily interested in analyzing the start-up effects of a free-surface flow, but rather just the long-term characteristics when the flow pattern has reached a quasi steady-state. Reaching this quasi steady-state can be computationally expensive and time-consuming, sometimes to the point of infeasibility. In this week’s blog post we’re going to look at a trick you can use to skip your way past a long start-up sequence for a free-surface flow with strong currents in the heavy phase.
Free-surface heave for a rotating flow in a cylindrical vessel
To exemplify this trick and how to skip through a tedious and expensive start-up sequence we will consider a cylindrical tank where we induce a rotating flow using a tangential inlet on the side of the vessel. In this case we are only interested in looking at the free-surface heave once the rotation has developed and we’ve reached a quasi steady-state. The vessel has an outlet pipe in the bottom center. The cylindrical tank is 10 meters in diameter and 5 meters high and the initial free surface is put at 2.5 meters (i.e. at mid-vessel). With dimensions like this you can imagine that developing a flow through this vessel while also accurately resolving the free surface characteristics would likely require a time-step of parts of a second and plenty of simulated time. Resolving this start-up sequence in time would hence be very time-consuming.Based on this we could be very tempted to run this simulation with a steady-state setup. However, attempting this from a stagnant initial state would most certainly result in a crash. The momentum imbalance in the beginning of the iterative process would completely disrupt the free-surface to a non-recoverable state and we would never be able to converge a steady-state VOF solution. The animation below shows a cross-section of the volume fraction field for the first 10 iterations in a steady-state run with default settings. This is where the trick comes into play. What if we could propagate the flow pattern throughout the domain without disrupting the free-surface (or caring about resolving it in time)? The truth is we can – and the solution is spelled under-relaxation. So, the trick here is to start the simulation with a very small under-relaxation factor for the volume fraction. As the flow propagates through the system and the momentum imbalance settles a bit, you should be able to sequentially ramp-up the under-relaxation factor to reach a fair starting point for the quasi steady-state. This way you can “skip ahead” past the costly and irrelevant start-up phase and go straight to solving for the part you’re interested in. Here’s a summary of the simulation steps for this case example:- Ran 1000 iterations with VOF URF=0.001
- Ran 200 iterations with VOF URF=0.01
- Ran 200 iterations with VOF URF=0.1
- Ran 200 iterations with VOF URF=0.2
- Ran 200 iterations with VOF URF=0.3
- Ran 200 iterations with VOF URF=0.5
- Ran 200 iterations with VOF URF=0.7