My Project
programmer's documentation
Loading...
Searching...
No Matches
Functions/Subroutines
resvoi.f90 File Reference

Solving the void fraction $ \alpha $ for the Volume of Fluid method (and hence for cavitating flows). More...

Functions/Subroutines

subroutine resvoi (dt, iterns)
 

Detailed Description

Solving the void fraction $ \alpha $ for the Volume of Fluid method (and hence for cavitating flows).

This function solves the equation:

\[
 \dfrac{\alpha^n - \alpha^{n-1}}{\Delta t}
     + \divs \left( \alpha^n \vect{u}^n \right)
     = \dfrac{\Gamma_V \left( \alpha^{n-1}, p^n \right)}{\rho_v}
 \]

with $ \Gamma_V $ the eventual vaporization source term (Merkle model) in case the cavitation model is enabled and $ \rho_v $ the reference gas density.

Function/Subroutine Documentation

◆ resvoi()

subroutine resvoi ( double precision, dimension(ncelet)  dt,
integer  iterns 
)
Parameters
[in]dttime step (per cell)
[in]iternsNavier-Stokes iteration number