MFC: Simulation
High-fidelity multiphase flow simulation
|
Functions/Subroutines | |
program | __m_bubbles_fpp_f90__ |
Bubble dynamic source terms | |
subroutine | s_initialize_bubbles_module () |
subroutine | s_comp_alpha_from_n (q_cons_vf) |
subroutine | s_compute_bubbles_rhs (idir, q_prim_vf) |
subroutine | s_compute_bubble_source (q_cons_vf, q_prim_vf, t_step, rhs_vf) |
The purpose of this procedure is to compute the source terms that are needed for the bubble modeling. | |
real(kind(0d0)) function | f_cpbw (fr0, fr, fv, fpb) |
Function that computes that bubble wall pressure for Gilmore bubbles. | |
real(kind(0d0)) function | f_h (fcpbw, fcpinf, fntait, fbtait) |
Function that computes the bubble enthalpy. | |
real(kind(0d0)) function | f_cgas (fcpinf, fntait, fbtait, fh) |
Function that computes the sound speed for the bubble. | |
real(kind(0d0)) function | f_cpinfdot (frho, fp, falf, fntait, fbtait, advsrc, divu) |
Function that computes the time derivative of the driving pressure. | |
real(kind(0d0)) function | f_hdot (fcpbw, fcpinf, fcpinf_dot, fntait, fbtait, fr, fv, fr0, fpbdot) |
Function that computes the time derivative of the enthalpy. | |
real(kind(0d0)) function | f_rddot (frho, fp, fr, fv, fr0, fpb, fpbdot, alf, fntait, fbtait, f_bub_adv_src, f_divu) |
Function that computes the bubble radial acceleration based on bubble models. | |
real(kind(0d0)) function | f_rddot_rp (fcp, frho, fr, fv, fr0, fcpbw) |
Function that computes the bubble radial acceleration for Rayleigh-Plesset bubbles. | |
real(kind(0d0)) function | f_rddot_g (fcpbw, fr, fv, fh, fhdot, fcgas, fntait, fbtait) |
Function that computes the bubble radial acceleration. | |
real(kind(0d0)) function | f_cpbw_km (fr0, fr, fv, fpb) |
Function that computes the bubble wall pressure for Keller–Miksis bubbles. | |
real(kind(0d0)) function | f_rddot_km (fpbdot, fcp, fcpbw, frho, fr, fv, fr0, fc) |
Function that computes the bubble radial acceleration for Keller–Miksis bubbles. | |
subroutine | s_bwproperty (pb, ir0) |
Subroutine that computes bubble wall properties for vapor bubbles. | |
real(kind(0.d0)) function | f_vflux (fr, fv, fmass_v, ir0) |
Function that computes the vapour flux. | |
real(kind(0.d0)) function | f_bpres_dot (fvflux, fr, fv, fpb, fmass_v, ir0) |
Function that computes the time derivative of the internal bubble pressure. | |
program __m_bubbles_fpp_f90__ |
|
private |
Function that computes the time derivative of the internal bubble pressure.
fvflux | Vapour flux |
fR | Current bubble radius |
fV | Current bubble velocity |
fpb | Current internal bubble pressure |
fmass_v | Current mass of vapour |
iR0 | Bubble size index |
|
private |
Function that computes the sound speed for the bubble.
fCpinf | Driving bubble pressure |
fntait | Tait EOS parameter |
fBtait | Tait EOS parameter |
fH | Bubble enthalpy |
|
private |
Function that computes that bubble wall pressure for Gilmore bubbles.
fR0 | Equilibrium bubble radius |
fR | Current bubble radius |
fV | Current bubble velocity |
fpb | Internal bubble pressure |
|
private |
Function that computes the bubble wall pressure for Keller–Miksis bubbles.
fR0 | Equilibrium bubble radius |
fR | Current bubble radius |
fV | Current bubble velocity |
fpb | Internal bubble pressure |
|
private |
Function that computes the time derivative of the driving pressure.
fRho | Local liquid density |
fP | Local pressure |
falf | Local void fraction |
fntait | Tait EOS parameter |
fBtait | Tait EOS parameter |
advsrc | Advection equation source term |
divu | Divergence of velocity |
|
private |
Function that computes the bubble enthalpy.
fCpbw | Bubble wall pressure |
fCpinf | Driving bubble pressure |
fntait | Tait EOS parameter |
fBtait | Tait EOS parameter |
|
private |
Function that computes the time derivative of the enthalpy.
fCpbw | Bubble wall pressure |
fCpinf | Driving bubble pressure |
fCpinf_dot | Time derivative of the driving pressure |
fntait | Tait EOS parameter |
fBtait | Tait EOS parameter |
fR0 | Equilibrium bubble radius |
fR | Current bubble radius |
fV | Current bubble velocity |
fpbdot | Time derivative of the internal bubble pressure |
|
private |
Function that computes the bubble radial acceleration based on bubble models.
fRho | Current density |
fP | Current driving pressure |
fR | Current bubble radius |
fV | Current bubble velocity |
fR0 | Equilibrium bubble radius |
fpb | Internal bubble pressure |
fpbdot | Time-derivative of internal bubble pressure |
alf | bubble volume fraction |
fntait | Tait EOS parameter |
fBtait | Tait EOS parameter |
f_bub_adv_src | Source for bubble volume fraction |
f_divu | Divergence of velocity |
|
private |
Function that computes the bubble radial acceleration.
fCpbw | Bubble wall pressure |
fR | Current bubble radius |
fV | Current bubble velocity |
fH | Current enthalpy |
fHdot | Current time derivative of the enthalpy |
fcgas | Current gas sound speed |
fntait | Tait EOS parameter |
fBtait | Tait EOS parameter |
|
private |
Function that computes the bubble radial acceleration for Keller–Miksis bubbles.
fpbdot | Time-derivative of internal bubble pressure |
fCp | Driving pressure |
fCpbw | Bubble wall pressure |
fRho | Current density |
fR | Current bubble radius |
fV | Current bubble velocity |
fR0 | Equilibrium bubble radius |
fC | Current sound speed |
|
private |
Function that computes the bubble radial acceleration for Rayleigh-Plesset bubbles.
fCp | Driving pressure |
fRho | Current density |
fR | Current bubble radius |
fV | Current bubble velocity |
fR0 | Equilibrium bubble radius |
fCpbw | Boundary wall pressure |
|
private |
Function that computes the vapour flux.
fR | Current bubble radius |
fV | Current bubble velocity |
fmass_v | Current mass of vapour |
iR0 | Bubble size index |
|
private |
Subroutine that computes bubble wall properties for vapor bubbles.
pb | Internal bubble pressure |
iR0 | Current bubble size index |
|
private |
|
private |
The purpose of this procedure is to compute the source terms that are needed for the bubble modeling.
q_prim_vf | Primitive variables |
q_cons_vf | Conservative variables |
divu | Divergence of velocity |
bub_adv_src | Advection equation source due to bubble compression/expansion |
bub_r_src | Bubble radius equation source |
bub_v_src | Bubble velocity equation source |
bub_p_src | Bubble pressure equation source |
bub_m_src | Bubble mass equation source |
|
private |
|
private |