Datawave Marine Solutions
  • Dms Logo
  • Services
    • Vessel Design
      • Concept Design
    • Naval Architecture
    • Advanced Analysis
    • Marine Systems
    • Civil Engineering
  • Marine Operations
    • Passenger Vessels
    • Work Boats
    • Research Boats
    • Shipyards
    • Marine Startups
    • Waterway Maintenance
    • Autonomous Vessels
  • Portfolio
  • About Us
  • Resources
    • Blog
    • GHS Tutorials
    • FAQs
  • Contact
  • Menu Menu

Practical CFD Modeling: Volume of Fluid Modeling

Computational Fluid Dynamics (CFD) can model multiple fluids with the volume of fluid method. (VOF) The volume of fluid method opens new horizons for advanced modeling, which requires additional planning from the CFD engineer. Dive into the boundary conditions, meshing strategy, stability concerns, and more. Discover the world of VOF modeling.

1.0 Introduction

Oil and water don’t mix . . . unless you ask a computer.  Computational Fluid Dynamics (CFD) models multiple fluids together with the volume of fluid method. (VOF)  This article ignores the theory behind VOF and focuses on practical implementation.  For a simulation with two fluids, VOF introduces one additional transport equation:  the volume fraction.  With this extra transport equation, we need new boundary conditions, and VOF modeling requires additional mesh refinements.  Time to discuss the practical details of VOF modeling. 

1.1 Modeling More than Two Fluids

The VOF method supports two or more fluids.  Practically, most CFD problems only require mixing two fluids.  If more fluids get involved, that leads to more complicated transport equations.  Helpful tip:  the number of transport equations for volume fractions is always one less than the total number of fluids in your simulation.  More transport equations require more boundary conditions.  You essentially repeat the same process for each volume fraction transport equation.  For simplicity, this article will assume only two fluids, only one transport equation of volume fraction.

2.0 Volume Fraction: Boundary Conditions

VOF modeling required new boundary conditions for the volume fraction.  This volume fraction represents which fluid (or fraction of both fluids) occupies each cell in the mesh.  The volume fraction changes throughout the domain.  To simulate a fluid water level, the volume fraction often needs to change with vertical position.  Define the boundary condition as a mathematical function, rather than a single value.  Apply the vertical variation to all boundaries on your fluid, including inlets, outlets, and your body.

Another modeling change is the pressure equation.  Hydrostatic pressure now factors into the boundary conditions; pressure changes with vertical position.  Check with your solver to see how your software handles the hydrostatic pressure.  Some factor out hydrostatic pressure.  Others include it.  In any case, you must account for hydrostatic pressure when specifying boundary conditions.

3.0 VOF for Ship Free Surface

Now to focus on a popular application for VOF modeling:  ship resistance studies and free surface flow.  This application affects our meshing strategy and expectations for simulation stability.  The major defining feature of free surface flow is the single interface between air and water.  Unlike cases of industrial flow that might model bubbles, free surface flow models a single continuous interface between the air and water.  This creates a distinctive region to concentrate the meshing.

To capture that interface between air and water, we want a fast transition in the volume fraction; it should ideally change from a value of 0 to 1 in the space of 1 to 2 cells.  Alas, reality does not match ideals.  Interpolation equations for volume fraction do not support rapid changes in volume fraction.  CFD developers tried to counter this with custom interpolation equations (high resolution interface compression (HRIC)), but that didn’t completely alleviate the problem.  Instead, the CFD engineer must employ a modeling solution.

For the modeling solution, you need to concentrate the mesh in regions where you expect the volume fraction to change.  Vertical cell spacing is in the range of 10-20% of regular cell size, with 6-12 cells across the region of transition.  The transition region gets larger if you need to accommodate waves.  Unfortunately, accurate resolution of the transition region can quickly drive to unreasonably high cell counts.  Balancing mesh resolution with mesh size is one of the principle modeling challenges that CFD engineers face in VOF modeling.

3.1 VOF Instability

VOF modeling also introduces instability into the simulation.  You may need to switch to first order interpolation on the volume fraction to ensure simulation stability.  And expect all residuals in the momentum and pressure equations to increase by at least 1 x 102.  When monitoring VOF simulations for convergence, monitors become more reliable that residuals.  VOF modeling offers no guarantees of simulation stability.

4.0 Ship Free Surface Post Processing

When post processing ship free surface models, every client wants to see the free surface.  They want to see a surface marking where the water ends, and the air begins.  Problem is that VOF does not track the interface; it tracks the portion of each fluid phase in each cell. 

To produce a free surface, create an iso-surface, based on the variable of the volume fraction.  Set the volume fraction to a value of 0.5, halfway between the two fluid phases.  This marks the transition between water and air.  That transition represents the free surface. 

Also check another visualization for quality control:  a volume plot.  Plot out the volume of cells where the volume fraction lies between 0.10 and 0.90.  This represents the transition region, where there fluid is not justifiably water or air.  More like spray, or fog, which doesn’t match reality for free surface flow.  In a ship free surface flow, the majority of the cells should be either water or air, corresponding to a volume fraction of 0 to 1.  We want the transition region to remain small, the region where the volume fraction lies between 0.10 and 0.90.  The volume plot allows the CFD engineer to check the transition region; ensure it remains small and the simulation faithfully reproduces reality. 

5.0 Conclusion

The volume of fluid method opens new horizons for advanced modeling, which requires additional planning from the CFD engineer.  New boundary conditions for the volume fraction, which need to vary with vertical position.  Don’t forget hydrostatic pressure.  The meshing strategy got more complicated, requiring additional refinements at the transition of the free surface.  And a few more tools in post processing to visualize the free surface.  To summarize in a single sentence, volume of fluid is not easy.  VOF is advanced CFD modeling.

6.0 References

[1] TCFD, “Axial Compressor CFD,” TCFD, 31 Dec 2018. . Available: https://www.cfdsupport.com/axial-compressor-cfd-simulation.html. .
[2] Atsushi Ueyama, “Progress of Time,” Cradle MSC Software Company, 31 Dec 2018. . Available: https://www.cradle-cfd.com/tec/column01/017.html. .
[3] YouTube Author: Holzmann CFD, “Holzmann CFD & OpenFOAM® – Dynamic Meshes in Multiphase Flows #2 (Topology Change, Ship Simulation),” YouTube, 10 Feb 2018. . Available: https://www.youtube.com/watch?v=B9KjnyDpsx0. .

Share This Post

  • Share on Facebook
  • Share on X
  • Share on WhatsApp
  • Share on Pinterest
  • Share on LinkedIn
  • Share on Tumblr
  • Share on Vk
  • Share on Reddit
  • Share by Mail

More Like This

Seakeeper Clickbait

How a Seakeeper Works: Gyro Stabilization Explained

Fluid Dynamics, Fluid Loads, Fluids, Miscellaneous, Naval Architecture, Ship Motion Control
https://dmsonline.us/wp-content/uploads/2026/03/Clickbait.jpg 720 1280 Nicholas Barczak /wp-content/uploads/2025/06/DMS-logo.svg Nicholas Barczak2026-04-07 07:00:002026-06-01 10:09:14How a Seakeeper Works: Gyro Stabilization Explained
How to Buy a Towing Tank

How to Buy a Towing Tank: Purchase and Design Guide

Fluids, Fluids Special Methods, Miscellaneous, Towing Tank
https://dmsonline.us/wp-content/uploads/2025/08/Clickbait.jpg 720 1280 Nicholas Barczak /wp-content/uploads/2025/06/DMS-logo.svg Nicholas Barczak2025-11-11 07:00:002026-06-01 10:09:18How to Buy a Towing Tank: Purchase and Design Guide
050618 G 3721c 067

Surviving the Arctic: Polar Class Icebreakers

Design Support, Fluids, Mechanical, Propulsion, Special Purpose Mechanical Systems, Structural
https://dmsonline.us/wp-content/uploads/2023/12/USCGC_Healy_WAGB-20_north_of_Alaska-scaled-1.jpg 633 1200 Nate Riggins /wp-content/uploads/2025/06/DMS-logo.svg Nate Riggins2024-05-14 09:00:002026-06-01 10:09:22Surviving the Arctic: Polar Class Icebreakers
Mackinawice1

Ramming the Ice: Icebreaker Propulsion

Energy Generation, Fluids, Hull Structure, Propulsion, Propulsion Plant, Propulsion Units, Propulsors, Structural, Transmission and Propulsor Systems
https://dmsonline.us/wp-content/uploads/2023/12/MackinawIce1-scaled-1.jpg 883 1200 Nate Riggins /wp-content/uploads/2025/06/DMS-logo.svg Nate Riggins2024-03-19 09:00:002026-06-01 10:09:22Ramming the Ice: Icebreaker Propulsion
Ever Given Repaired

Ever Given: What We Don’t Know

Command and Surveillance, Fluid Dynamics, Miscellaneous, Ship Maneuvering, Ship Motion Control, Ship Response
https://dmsonline.us/wp-content/uploads/2022/03/Ever-Given-repaired.webp 667 1000 Nate Riggins /wp-content/uploads/2025/06/DMS-logo.svg Nate Riggins2022-03-21 08:00:002025-07-23 09:49:47Ever Given: What We Don’t Know
Clickbait1 1.84.1

Stability Letters Explained

Fluids, Hydrostatics, Integration / Engineering
https://dmsonline.us/wp-content/uploads/2022/02/ClickBait1_1.84.1.jpg 1080 1920 Nate Riggins /wp-content/uploads/2025/06/DMS-logo.svg Nate Riggins2022-02-21 06:00:002025-08-15 13:17:02Stability Letters Explained
Seawise University Wreck

Free Surface Moment

Fluids, Fluids Testing, Hydrostatics, Stability Test
https://dmsonline.us/wp-content/uploads/2021/01/Seawise_University_wreck.jpg 1059 1412 Nate Riggins /wp-content/uploads/2025/06/DMS-logo.svg Nate Riggins2021-01-18 07:00:002026-06-01 10:09:25Free Surface Moment
Stability Test Pendulum Setup

Practical Stability Test: Naval Architect’s Guide

Fluids, Fluids Testing, Stability Test
https://dmsonline.us/wp-content/uploads/2021/06/PendulumSetup_500px.webp 422 500 Nate Riggins /wp-content/uploads/2025/06/DMS-logo.svg Nate Riggins2020-11-02 06:00:002026-06-01 10:09:26Practical Stability Test: Naval Architect’s Guide
Container Ship Just Exiting Port

Stability Test Theory

Fluids, Fluids Testing, Stability Test
https://dmsonline.us/wp-content/uploads/2021/06/container-ship-2893480_1920.jpg 924 1386 Nate Riggins /wp-content/uploads/2025/06/DMS-logo.svg Nate Riggins2020-10-19 06:00:002026-06-01 10:09:26Stability Test Theory
Previous Previous Previous Next Next Next

Categories

  • 3D Modeling
  • Arrangements
  • Auxiliary Systems
  • Command and Surveillance
  • Design Support
  • Drafting
  • Economics
  • Elastic Static Loading
  • Electrical
  • Energy Generation
  • Engineering Business
  • Equipment Integration
  • Fatigue
  • FEA / Numerical Methods
  • Fluid Dynamics
  • Fluid Loads
  • Fluids
  • Fluids Special Methods
  • Fluids Testing
  • Green Ship Design
  • Hiring Consultant
  • Hull Decks
  • Hull Structural Bulkheads
  • Hull Structure
  • Human Ergonomics
  • Hydrostatics
  • Insurance
  • Integration / Engineering
  • Legal
  • Marine Entrepreneurship
  • Masts, Kingposts, Service Platforms
  • Materials
  • Mechanical
  • Mechanical Handling Systems
  • Miscellaneous
  • Naval Architecture
  • Passenger Vessel
  • Piping
  • Production Engineering
  • Project Management
  • Propulsion
  • Propulsion Plant
  • Propulsion Units
  • Propulsor Shrouds and Ducts
  • Propulsors
  • Quality Assurance
  • Recreation
  • Regulations
  • Replenishment Systems
  • Resistance
  • Seakeeping / Fluid Structure Interaction
  • Shell and Supporting Structure
  • Ship Control Systems
  • Ship Maneuvering
  • Ship Motion Control
  • Ship Response
  • Shipyard And Support Services
  • Special Methods
  • Special Purpose Mechanical Systems
  • Special Purpose Structure
  • Stability Test
  • Structural
  • Support Services
  • Sustainable Marine Technology
  • Towing Tank
  • Transmission and Propulsor Systems
  • Unmanned Vessels
  • USCG
  • Vessel Design
  • Waterjet Propulsors

Our Socials

About Us

Ship designs tailored to your mission. Engineering that advances profits.

Dms Logo Negatives

What We Do

Vessel Design

Naval Architecture

Advanced Analysis

Marine Systems

Civil Engineering

Contact Us

(616) 504-1619

[email protected]

Website by Abstrakt Marketing Group ©
  • Privacy Policy
  • Sitemap
Scroll to top Scroll to top Scroll to top

This site uses cookies. By continuing to browse the site, you are agreeing to our use of cookies.

AcceptLearn more

Cookie and Privacy Settings



How we use cookies

We may request cookies to be set on your device. We use cookies to let us know when you visit our websites, how you interact with us, to enrich your user experience, and to customize your relationship with our website.

Click on the different category headings to find out more. You can also change some of your preferences. Note that blocking some types of cookies may impact your experience on our websites and the services we are able to offer.

Essential Website Cookies

These cookies are strictly necessary to provide you with services available through our website and to use some of its features.

Because these cookies are strictly necessary to deliver the website, refusing them will have impact how our site functions. You always can block or delete cookies by changing your browser settings and force blocking all cookies on this website. But this will always prompt you to accept/refuse cookies when revisiting our site.

We fully respect if you want to refuse cookies but to avoid asking you again and again kindly allow us to store a cookie for that. You are free to opt out any time or opt in for other cookies to get a better experience. If you refuse cookies we will remove all set cookies in our domain.

We provide you with a list of stored cookies on your computer in our domain so you can check what we stored. Due to security reasons we are not able to show or modify cookies from other domains. You can check these in your browser security settings.

Other external services

We also use different external services like Google Webfonts, Google Maps, and external Video providers. Since these providers may collect personal data like your IP address we allow you to block them here. Please be aware that this might heavily reduce the functionality and appearance of our site. Changes will take effect once you reload the page.

Google Webfont Settings:

Google Map Settings:

Google reCaptcha Settings:

Vimeo and Youtube video embeds:

Accept settingsHide notification only