MFC: Simulation
High-fidelity multiphase flow simulation
Loading...
Searching...
No Matches
m_bubbles.fpp.f90 File Reference

Modules

module  m_bubbles
 This module contains procedures shared by the ensemble-averaged and volume-averaged bubble models.
 

Functions/Subroutines

elemental real(wp) function m_bubbles::f_rddot (frho, fp, fr, fv, fr0, fpb, fpbdot, alf, fntait, fbtait, f_bub_adv_src, f_divu, fcson)
 Function that computes the bubble radial acceleration based on bubble models.
 
elemental real(wp) function m_bubbles::f_cpbw (fr0, fr, fv, fpb)
 Function that computes that bubble wall pressure for Gilmore bubbles.
 
elemental real(wp) function m_bubbles::f_h (fcpbw, fcpinf, fntait, fbtait)
 Function that computes the bubble enthalpy.
 
elemental real(wp) function m_bubbles::f_cgas (fcpinf, fntait, fbtait, fh)
 Function that computes the sound speed for the bubble.
 
elemental real(wp) function m_bubbles::f_cpinfdot (frho, fp, falf, fntait, fbtait, advsrc, divu)
 Function that computes the time derivative of the driving pressure.
 
elemental real(wp) function m_bubbles::f_hdot (fcpbw, fcpinf, fcpinf_dot, fntait, fbtait, fr, fv, fr0, fpbdot)
 Function that computes the time derivative of the enthalpy.
 
elemental real(wp) function m_bubbles::f_rddot_rp (fcp, frho, fr, fv, fcpbw)
 Function that computes the bubble radial acceleration for Rayleigh-Plesset bubbles.
 
elemental real(wp) function m_bubbles::f_rddot_g (fcpbw, fr, fv, fh, fhdot, fcgas, fntait, fbtait)
 Function that computes the bubble radial acceleration.
 
elemental real(wp) function m_bubbles::f_cpbw_km (fr0, fr, fv, fpb)
 Function that computes the bubble wall pressure for Keller–Miksis bubbles.
 
elemental real(wp) function m_bubbles::f_rddot_km (fpbdot, fcp, fcpbw, frho, fr, fv, fr0, fc)
 Function that computes the bubble radial acceleration for Keller–Miksis bubbles.
 
elemental subroutine m_bubbles::s_bwproperty (pb_in, ir0, chi_vw_out, k_mw_out, rho_mw_out)
 Subroutine that computes bubble wall properties for vapor bubbles.
 
elemental subroutine m_bubbles::s_vflux (fr, fv, fpb, fmass_v, ir0, vflux, fmass_n, fbeta_c, fr_m, fgamma_m)
 Function that computes the vapour flux.
 
elemental real(wp) function m_bubbles::f_bpres_dot (fvflux, fr, fv, fpb, fmass_v, ir0, fbeta_t, fr_m, fgamma_m)
 Function that computes the time derivative of the internal bubble pressure.
 
subroutine m_bubbles::s_advance_step (frho, fp, fr, fv, fr0, fpb, fpbdot, alf, fntait, fbtait, f_bub_adv_src, f_divu, bub_id, fmass_v, fmass_n, fbeta_c, fbeta_t, fcson, adap_dt_stop)
 Adaptive time stepping routine for subgrid bubbles (See Heirer, E. Hairer S.P.Nørsett G. Wanner, Solving Ordinary Differential Equations I, Chapter II.4)
 
subroutine m_bubbles::s_initial_substep_h (frho, fp, fr, fv, fr0, fpb, fpbdot, alf, fntait, fbtait, f_bub_adv_src, f_divu, fcson, h)
 Choose the initial time step size for the adaptive time stepping routine (See Heirer, E. Hairer S.P.Nørsett G. Wanner, Solving Ordinary Differential Equations I, Chapter II.4)
 
subroutine m_bubbles::s_advance_substep (err, frho, fp, fr, fv, fr0, fpb, fpbdot, alf, fntait, fbtait, f_bub_adv_src, f_divu, bub_id, fmass_v, fmass_n, fbeta_c, fbeta_t, fcson, h, myr_tmp, myv_tmp, mypb_tmp, mymv_tmp)
 Integrate bubble variables over the given time step size, h, using a third-order accurate embedded Runge–Kutta scheme.
 
elemental subroutine m_bubbles::s_advance_el (fr_tmp, fv_tmp, fpb_tmp, fmv_tmp, bub_id, fmass_n, fbeta_c, fbeta_t, fdpbdt_tmp, advance_el)
 Changes of pressure and vapor mass in the lagrange bubbles.
 

Variables

real(wpm_bubbles::chi_vw
 Bubble wall properties (Ando 2010)
 
real(wpm_bubbles::k_mw
 Bubble wall properties (Ando 2010)
 
real(wpm_bubbles::rho_mw
 Bubble wall properties (Ando 2010)