MFC
Exascale flow solver
Loading...
Searching...
No Matches
m_bubbles.fpp.f90 File Reference

Contains module m_bubbles. More...

Go to the source code of this file.

Modules

module  m_bubbles
 Shared bubble-dynamics procedures (radial acceleration, wall pressure, sound speed) for ensemble- and volume-averaged 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)
 Compute the bubble radial acceleration based on the selected bubble model.
elemental real(wp) function m_bubbles::f_cpbw (fr0, fr, fv, fpb)
 Bubble wall pressure: stiffened gas with Laplace pressure and viscous stress.
elemental real(wp) function m_bubbles::f_h (fcpbw, fcpinf, fntait, fbtait)
 Compute the bubble enthalpy.
elemental real(wp) function m_bubbles::f_cgas (fcpinf, fntait, fbtait, fh)
 Compute the sound speed for the bubble.
elemental real(wp) function m_bubbles::f_cpinfdot (frho, fp, falf, fntait, fbtait, advsrc, divu)
 Compute 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)
 Enthalpy derivative for Gilmore bubble model, Gilmore (1952).
elemental real(wp) function m_bubbles::f_rddot_rp (fcp, frho, fr, fv, fcpbw)
 Rayleigh-Plesset bubble radial acceleration.
elemental real(wp) function m_bubbles::f_rddot_g (fcpbw, fr, fv, fh, fhdot, fcgas, fntait, fbtait)
 Compute the Gilmore bubble radial acceleration.
elemental real(wp) function m_bubbles::f_cpbw_km (fr0, fr, fv, fpb)
 Keller-Miksis bubble wall pressure.
elemental real(wp) function m_bubbles::f_rddot_km (fpbdot, fcp, fcpbw, frho, fr, fv, fr0, fc)
 Keller-Miksis bubble radial acceleration.
elemental subroutine m_bubbles::s_bwproperty (pb_in, ir0, chi_vw_out, k_mw_out, rho_mw_out)
 Compute bubble wall properties for vapor bubbles.
elemental subroutine m_bubbles::s_vflux (fr, fv, fpb, fmass_v, ir0, vflux, fmass_g, fbeta_c, fr_m, fgamma_m)
 Compute 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)
 Compute 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_g, fbeta_c, fbeta_t, fcson, adap_dt_stop)
 Adaptive time stepping routine for subgrid bubbles (See Heirer, E. Hairer S.P.Norsett 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.Norsett 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_g, 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_g, 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).

Detailed Description

Contains module m_bubbles.

Definition in file m_bubbles.fpp.f90.