![]() |
programmer's documentation
|
Functions/Subroutines | |
subroutine | init_cavitation |
Default initialization of the module variables. More... | |
subroutine | cavitation_compute_source_term (pressure, voidf) |
Compute the vaporization source term ![]()
with | |
subroutine | cavitation_correct_visc_turb (crom, voidf, visct) |
Modify eddy viscosity using the Reboud correction:
. More... | |
Variables | |
double precision, save | presat |
reference saturation pressure in kg/(m s2) More... | |
double precision, save | linf |
reference length scale of the flow in meters More... | |
double precision, save | uinf |
reference velocity of the flow in m/s More... | |
double precision, save | cprod |
constant Cprod of the vaporization source term (Merkle model) More... | |
double precision, save | cdest |
constant Cdest of the condensation source term (Merkle model) More... | |
integer, save | icvevm |
activation of the eddy-viscosity correction (Reboud correction) More... | |
double precision, save | mcav |
constant mcav of the eddy-viscosity correction (Reboud correction) More... | |
integer, save | itscvi |
implicitation in pressure of the vaporization/condensation model More... | |
subroutine cavitation::cavitation_compute_source_term | ( | double precision, dimension(ncelet) | pressure, |
double precision, dimension(ncelet) | voidf | ||
) |
Compute the vaporization source term using the Merkle model:
with empirical constants,
a reference time scale and
the reference saturation pressure.
,
and
may be provided by the user (user function). Note that the r.h.s. of the void fraction transport equation is
.
[in] | pressure | Pressure array |
[in] | voidf | Void fraction array |
subroutine cavitation::cavitation_correct_visc_turb | ( | double precision, dimension(ncelet) | crom, |
double precision, dimension(ncelet) | voidf, | ||
double precision, dimension(ncelet) | visct | ||
) |
Modify eddy viscosity using the Reboud correction:
.
[in] | crom | Density array |
[in] | voidf | Void fraction array |
[in,out] | voidf | turbulent viscosity |
subroutine cavitation::init_cavitation | ( | ) |
Default initialization of the module variables.