## Solver: interFoam Description

interFoam is a solver designed for transient simulations of two incompressible, isothermal, and immiscible fluids. It handles laminar and turbulent, accommodating both Newtonian and non-Newtonian fluids. It utilizes the Volume of Fluid (VoF) approach for capturing the interface between the fluids accurately. The solver is suited to cases where the particular interest is in the behavior of the interface between two fluids (e.g. water and air).

The solver uses the **PIMPLE** (merged **PISO-SIMPLE**) algorithm for pressure-momentum coupling. This algorithm leverages the strengths of both PISO and SIMPLE methods for pressure-velocity coupling, ensuring robustness in handling transient flows with large time steps. This approach is supplemented by under-relaxation techniques to secure convergence stability. It supports Multiple Reference Frames (MRF) and porosity modeling and allows easy integration of passive scalar transport equations and source terms. The solver handles dynamic meshes.

The ability to capture complex fluid interactions together with dynamic mesh capabilities makes it very versatile and useful in the marine industry, where complex ship-waves interactions can be studied. For the transportation industry, mixing stirring tanks can be analyzed and tank sloshing phenomena. Wave loading or offshore structure loads can be predicted.

## Solver: interFoam Features

**Transient****Incompressible****Multiphase - Volume of Fluid (VoF)**

- 2 Immiscible Fluids
- Dynamic Mesh Motion

- Laminar and Turbulent (RANS, LES, DES)
- Newtonian and Non-Newtonian Fluid
- Pressure-Based Solver
- Rotating Objects:
- Multiple Reference Frames (MRF)
- Rotating Mesh Motion

- Passive Scalar
- Porosity Modeling
- Buoyancy
- Source Term (explicit/implicit)
- PIMPLE Algorithm
- MULES Algorithm
- Solution Limiters:
- Velocity Damping

## Solver: interFoam Application

**Marine Industry**

- Planing Ship Hulls & Ship Motion (e.g. Ship hull)
- Propeller Performance
- Sloshing in Tanks (e.g. Sloshing Tank)
- Ship Motion under Different Conditions with Dynamic Mesh Feature
- Offshore Structures Loads
- Calm-water Air Gap under Offshore Platform Decks
- Wave Loading on Profiles
- Floating Objects
- Wave Energy Absorbers
- Point Absorbers

**Dams & Spillways**

- Spillway Analysis
- Fishways Designing
- Weir Flows
- Dam Breaks Scenarios (e.g. Dam break)
- Hydro Plants
- Hydraulic Energy Losses Predictions
- Pipe and Channel Flows

**Automotive industry**

- Sloshing Effects in Tanks (e.g. Sloshing Tank)
- Fuel Level Indication with Moving Objects 6 DoF (Six Degree of Freedom) Model

**Aerospace Industry**

- Sloshing Effects in Fuel Tanks

**Chemistry and Biotechnology**

- Active Mixers with Mechanical Devices to Facilitate Mixing (e.g. Mixing tank)
- Static Mixers

**Injection Molding**

- Simplified Injection Molding Process with non-Newtonian Fluids (e.g. Injection Molding)

**Rotating Machinery**

- Turbines, Industrial Mixers, Stirred Tank Reactors
- Pumps, Valves, Hydraulic Turbines
- Marine Propellers (e.g. Propeller)

## Solver: interFoam Multiphase - Free Surface (VoF) Solvers

Free Surface (VoF) Solvers In this group, we have included solvers implementing **Volume of Fluid (VoF)** approach to handle multiple immiscible and miscible fluids and interactions between them.

**Free Surface (VoF) - Immiscible**

- interFoam 2 immiscible fluids, DyM
- multiphaseInterFoam multiple immiscible fluids, DyM
- interIsoFoam* 2 immiscible fluids, isoAdvector* method, DyM

- overInterDyMFoam extension of interFoam with Overset, DyM
- compressibleInterFoam compressible version of interFoam with heat transfer
- compressibleInterDyMFoam compressible version of interFoam with heat transfer and DyM

**Free Surface (VoF) - Miscible**

- interMixingFoam 3 fluids (2 miscible and 1 immiscible), DyM
- twoLiquidMixingFoam** 2 miscible fluids

- * isoAdvector - an alternative approach for interface capturing, MULES method used in other VoF solvers
- ** Solver designed to handle mixtures consisting of multiple fluids within the same phase, such as two gases or two liquids

- VoF - Volume of Fluid
- DyM - Dynamic Mesh
- Overset - also known as Chimera Grid (Method)

## Solver: interFoam Alternative Solvers

In this section, we propose alternative solvers from different categories, distinct from the current solver. While they may fulfill similar purposes, they diverge significantly in approach and certain features.

- interMixingFoam variant of
`interFoam`

, 3 fluids (2 miscible and 1 immiscible) - twoLiquidMixingFoam variant of
`interFoam`

, 2 miscible fluids - driftFluxFoam variant of
`interFoam`

, 1 fluid and slurry or plastic dispersed phase, drift flux approximation for relative phase motion

## Solver: interFoam Tutorial

- Introduction to SimFlow, covering multiphase and incompressible 2D flow. The simulation showcases a free-falling water droplet into a tank.

- Two-phase flow simulation with dynamic mesh motion, involves the 6DoF motion of a ship hull floating on a water surface, influenced by buoyancy forces.

- Free surface flow using a Volume of Fluid (VoF) approach, analyzing the water flow through a dam.

- Water sloshing inside a braking cistern analysis, driven by inertial forces, and simulates rigid body motion.

- Analysis with Dynamic Mesh for modeling rotating components, simulating the rotation of an impeller in a partially filled cylindrical tank.

- Simulation of the injection molding process using the Power Law transport model, filling a housing with melted plastic.

## Solver: interFoam Validation Cases

- Wave impact simulation in a narrow, rectangular tank, where assumed tank motion induces sloshing within.

## Solver: interFoam Results Fields

This solver provides the following results fields:

**Primary Results Fields**- quantities produced by the solver as default outputs**Derivative Results**- quantities that can be computed based on primary results and supplementary models. They are not initially produced by the solver as default outputs.

**Primary Results Fields**

Velocity | \(U\) [\(\frac{m}{s}\)] |

Phase Volume Fraction | \(\alpha\) [\(-\)] |

Hydrostatic Perturbation Pressure | \(p - \rho gh\) [\(Pa\)] |

**Hydrostatic Perturbation Pressure** This value represents the pressure without the hydrostatic component (minus gravitational potential). Read More: Hydrostatic Pressure Effects

**Derivative Results**

Pressure | \(P\) [\(Pa\)] |

Density | \(\rho\) [\(\frac{kg}{m^{3}}\)] |

Vorticity | \(\omega\) [\(\frac{1}{s}\)] |

Courant Number | \(Co\) [\(-\)] |

Peclet Number | \(Pe\) [\(-\)] |

Stream Function | \(\psi\) [\(\frac{m^2}{s}\)] |

Q Criterion | \(Q\) [\(-\)] |

Wall Functions (for RANS/LES turbulence) | \(y^+\) [\(-\)] |

Wall Shear Stress | \(WSS\) [\(Pa\)] |

Turbulent Fields (for RANS/LES turbulence) | \(k\) \(\epsilon\) \(\omega\) \(R\) \(L\) \(I\) \(\nu_t\) \(\alpha_t\) |

Volumetric Stream | \(\phi\) [\(\frac{m^{3}}{s}\)] |

Passive Scalar | \(scalar_i\) [\(-\)] |

Forces and Torque acting on the Boundary | \(F\) [\(N\)] \(M\) [\(-\)] |

Force Coefficients | \(C_l\) [\(-\)] \(C_d\) [\(-\)] \(C_m\) [\(-\)] |

Average, Minimum or Maximum in Volume from any Result Field | \(Avg\) \(Min\) \(Max\) |