|
MFC
Exascale flow solver
|
Contains module m_bubbles_EL. More...
Go to the source code of this file.
Modules | |
| module | m_bubbles_el |
| Real fields of a bubble MPI slot, as (names, indices, count) in pack order. Used by both pack and unpack routines to ensure. | |
Functions/Subroutines | |
| impure subroutine | m_bubbles_el::s_initialize_bubbles_el_module (q_cons_vf, bc_type, rows, ids, n_loc) |
| Initialize the Lagrangian subgrid bubble solver with this rank's n_loc bubbles from rows (input file, with global IDs ids, or restart). | |
| impure subroutine | m_bubbles_el::s_load_bubbles (q_cons_vf, bc_type, rows, ids, n_loc) |
| Store this rank's n_loc bubbles: on a fresh start rows hold the input-file columns with global IDs ids, on a restart the restart-file columns. | |
| impure subroutine | m_bubbles_el::s_add_bubbles (inputbubble, q_cons_vf, bub_id) |
| Add a new bubble from input data for a fresh start. | |
| impure subroutine | m_bubbles_el::s_restart_bubbles (io_data, n_loc) |
| Store this rank's n_loc bubbles from the restart file columns io_data. | |
| subroutine | m_bubbles_el::s_compute_bubble_el_dynamics (q_prim_vf, bc_type) |
| Contains the bubble dynamics subroutines. | |
| subroutine | m_bubbles_el::s_compute_bubbles_el_source (q_cons_vf, q_prim_vf, rhs_vf) |
| Compute the Lagrangian bubble source terms and add them to the RHS. | |
| subroutine | m_bubbles_el::s_smear_voidfraction (bc_type) |
| Smear the bubble effects onto the Eulerian grid. | |
| subroutine | m_bubbles_el::s_get_pinf (bub_id, q_prim_vf, ptype, f_pinfl, cell, preterm1, term2, romega) |
| Compute the bubble driving pressure p_inf. | |
| impure subroutine | m_bubbles_el::s_update_lagrange_tdv_rk (q_prim_vf, bc_type, stage, coef) |
| Advance the bubbles by one TVD RK stage with the stage coefficients coef (a row of rk_coef) and apply the boundaries. The last stage commits the step and updates the radius statistics. | |
| impure subroutine | m_bubbles_el::s_enforce_el_bubbles_boundary_conditions (q_prim_vf) |
| Hand bubbles over between ranks, apply the domain boundaries and remove bubbles that left the liquid. | |
| impure subroutine | m_bubbles_el::s_copy_bubble_time_level (dest, src) |
| Copy time level src into dest (1: committed u^n, 2: stage value). | |
| impure subroutine | m_bubbles_el::s_sync_bubbles_for_save () |
| Bring the bubble state and void fraction to the host for a save, aborting on a negative or NaN radius. | |
| impure subroutine | m_bubbles_el::s_lag_cloud_bbox_local (pmin, pmax) |
| Rank-local bounding box of Lagrangian bubble positions; pmin > pmax when the rank holds none. | |
| subroutine | m_bubbles_el::s_calculate_lag_bubble_stats () |
| Compute the maximum and minimum radius of each bubble. | |
| impure subroutine | m_bubbles_el::s_mpi_sendrecv_lag_bubbles () |
| Send the bubbles on the transfer list to their new ranks and append the bubbles received from the neighbors (host data). | |
| impure subroutine | m_bubbles_el::s_pack_lag_bubble (k, q) |
| Pack bubble k into MPI send slot q, in the field order of s_unpack_lag_bubble. | |
| impure subroutine | m_bubbles_el::s_unpack_lag_bubble (k, q) |
| Unpack bubble k from MPI receive slot q, in the field order of s_pack_lag_bubble. | |
| impure subroutine | m_bubbles_el::s_copy_lag_bubble (dest, src) |
| Copy a lag bubble from a src index to a destination index. | |
| impure subroutine | m_bubbles_el::s_finalize_lagrangian_solver () |
Variables | |
| integer, dimension(:,:), allocatable | m_bubbles_el::lag_id |
| Global and local IDs. | |
| real(wp), dimension(:), allocatable | m_bubbles_el::bub_r0 |
| Initial bubble radius. | |
| real(wp), dimension(:), allocatable | m_bubbles_el::rmax_stats |
| Maximum radius. | |
| real(wp), dimension(:), allocatable | m_bubbles_el::rmin_stats |
| Minimum radius. | |
| real(wp), dimension(:), allocatable | m_bubbles_el::gas_mg |
| Bubble's gas mass. | |
| real(wp), dimension(:), allocatable | m_bubbles_el::gas_betat |
| heatflux model (Preston et al., 2007) | |
| real(wp), dimension(:), allocatable | m_bubbles_el::gas_betac |
| massflux model (Preston et al., 2007) | |
| real(wp), dimension(:), allocatable | m_bubbles_el::bub_dphidt |
| subgrid velocity potential (Maeda & Colonius, 2018) | |
| real(wp), dimension(:,:), allocatable | m_bubbles_el::gas_p |
| Pressure in the bubble. | |
| real(wp), dimension(:,:), allocatable | m_bubbles_el::gas_mv |
| Vapor mass in the bubble. | |
| real(wp), dimension(:,:), allocatable | m_bubbles_el::intfc_rad |
| Bubble radius. | |
| real(wp), dimension(:,:), allocatable | m_bubbles_el::intfc_vel |
| Velocity of the bubble interface. | |
| real(wp), dimension(:,:,:), allocatable | m_bubbles_el::mtn_pos |
| Bubble's position. | |
| real(wp), dimension(:,:,:), allocatable | m_bubbles_el::mtn_posprev |
| Bubble's previous position. | |
| real(wp), dimension(:,:,:), allocatable | m_bubbles_el::mtn_vel |
| Bubble's velocity. | |
| real(wp), dimension(:,:,:), allocatable | m_bubbles_el::mtn_s |
| Bubble's computational cell position in real format. | |
| real(wp), dimension(:), allocatable | m_bubbles_el::intfc_draddt |
| Time derivative of bubble's radius. | |
| real(wp), dimension(:), allocatable | m_bubbles_el::intfc_dveldt |
| Time derivative of bubble's interface velocity. | |
| real(wp), dimension(:), allocatable | m_bubbles_el::gas_dpdt |
| Time derivative of gas pressure. | |
| real(wp), dimension(:), allocatable | m_bubbles_el::gas_dmvdt |
| Time derivative of the vapor mass in the bubble. | |
| real(wp), dimension(:,:), allocatable | m_bubbles_el::mtn_dposdt |
| Time derivative of the bubble's position. | |
| real(wp), dimension(:,:), allocatable | m_bubbles_el::mtn_dveldt |
| Time derivative of the bubble's velocity. | |
| real(wp) | m_bubbles_el::rmax_glb |
| real(wp) | m_bubbles_el::rmin_glb |
| Maximum and minimum bubbe size in the local domain. | |
| type(scalar_field), dimension(:), allocatable | m_bubbles_el::q_beta |
| Projection of the Lagrangian bubbles in the Eulerian framework. | |
| type(scalar_field), dimension(:), allocatable | m_bubbles_el::kahan_comp |
| Kahan compensation for q_beta accumulation. | |
| integer, dimension(:), allocatable | m_bubbles_el::keep_bubble |
| integer, dimension(:,:), allocatable | m_bubbles_el::wrap_bubble_loc |
| Periodic crossing per direction: -1 beg, 1 end, 0 none. | |
Contains module m_bubbles_EL.
Definition in file m_bubbles_EL.fpp.f90.