8.0
general documentation
Loading...
Searching...
No Matches
cavitation.f90 File Reference

Module for cavitation modeling. More...

Modules

module  cavitation

Functions/Subroutines

subroutine cavitation_model_init
 Initialize Fortran cavitation model API. This maps Fortran pointers to global C structure members and indicator.
subroutine cavitation_compute_source_term (pressure, voidf)
 Compute the vaporization source term $ \Gamma_V \left(\alpha, p\right) = m^+ + m^- $ using the Merkle model:
subroutine cavitation_correct_visc_turb (crom, voidf, visct)
 Modify eddy viscosity using the Reboud correction:

Variables

real(c_double), pointer, save presat
 reference saturation pressure (kg/(m s2))
real(c_double), pointer, save uinf
 reference velocity of the flow (m/s)
real(c_double), pointer, save linf
 reference length scale of the flow (m)
real(c_double), pointer, save cdest
 constant Cdest of the condensation source term (Merkle model)
real(c_double), pointer, save cprod
 constant Cprod of the vaporization source term (Merkle model)
integer(c_int), pointer, save icvevm
 activation of the eddy-viscosity correction (Reboud correction)
real(c_double), pointer, save mcav
 constant mcav of the eddy-viscosity correction (Reboud correction)
integer(c_int), pointer, save itscvi
 implicitation in pressure of the vaporization/condensation model

Detailed Description

Module for cavitation modeling.

Please refer to the cavitation model section of the theory guide for more informations.