|
MFC
Exascale flow solver
|
Go to the source code of this file.
Modules | |
| module | m_particles_el_kernels |
| This module contains kernel functions used to map the effect of the lagrangian particles in the Eulerian framework. | |
Functions/Subroutines | |
| subroutine | m_particles_el_kernels::s_compute_gaussian_contribution (pos, cell, func_s) |
| Sum of one particle's Gaussian kernel over its stencil, func_s = sum(G V), used to normalize the projection. | |
| subroutine | m_particles_el_kernels::s_gaussian_atomic (rad, vel, pos, force_p, gausum, cell, updatedvar, ind_start, ind_end) |
| Add one particle's contribution to the projected fields ind_start:ind_end with atomic updates. | |
| subroutine | m_particles_el_kernels::s_apply_gaussian_anisotropic (center, cellaux, nodecoord, func) |
| Anisotropic Gaussian kernel at nodecoord for a particle at center: each direction is scaled by the local cell width. | |
| subroutine | m_particles_el_kernels::s_interp_fluid_properties (pos, cell, q_prim_vf, wx, wy, wz, fluid_vel, fluid_rho, fluid_pres) |
| Fluid velocity, density and pressure at the particle by barycentric interpolation. | |
| subroutine | m_particles_el_kernels::s_get_particle_force (pos, rad, vel_p, mu_fluid, gamm, seed, fqsfluct, advance_fluct, cell, q_particles, fieldvars, rhs_old, wx, wy, wz, force, rmass_add, new_seed, new_fqsfluct, fluid_vel, fluid_rho, cson, force_status, re_p, mach_p) |
| Force on one particle from quasi-steady drag, pressure gradient, added mass and drag fluctuations, and the added mass rmass_add that joins the particle inertia. The fluctuating force advances by a full time step only when advance_fluct (first RK stage); the other stages reuse it. | |
| subroutine | m_particles_el_kernels::s_compute_qs_fluctuations (vel_p, fluid_vel, fluid_rho, cson, gas_mu, particle_diam, vol_frac, vmag, vel_p_mean, vel2_p_mean, seed, fqs_fluct_old, dt_loc, fqs_fluct_new) |
| Stochastic quasi-steady force fluctuations: an Ornstein-Uhlenbeck process for the drag and lift fluctuations, driven by the granular temperature of the projected particle velocity moments (fluctuations assumed uncorrelated), advanced over dt_loc with its exact discretization. A. N. Osnes, M. Vartdal, M. Khalloufi, J. Capecelatro, and S. Balachandar, Comprehensive quasi-steady force correlations for compressible flow through random particle suspensions, Int. J. Multiphase Flow 165, 104485 (2023). A. M. Lattanzi, V. Tavanashad, S. Subramaniam, and J. Capecelatro, Stochastic model for the hydrodynamic force in Euler- Lagrange simulations of particle-laden flows, Phys. Rev. Fluids 7, 014301 (2022). | |
| real(wp) function | m_particles_el_kernels::f_interp_barycentric (pos, cell, field_vf, field_index, wx, wy, wz) |
| Barycentric Lagrange interpolation of field_vf(field_index) to pos with the precomputed weights, limited to the range of the stencil values so it cannot overshoot near discontinuities (e.g. a negative density behind a shock). | |
| real(wp) function | m_particles_el_kernels::f_qs_parmar (rho, cson, mu_fluid, gamma, vmag, dp, volume_fraction) |
| Quasi-steady drag coefficient beta (force = -beta*(u_p - u_f)) with Reynolds- and Mach-number corrections, and a volume- fraction correction for dilute random arrays. M. Parmar, A. Haselbacher, and S. Balachandar, Improved drag correlation for spheres and application to shock-tube experiments, AIAA J. 48(6), 1273-1276 (2010). A. S. Sangani, D. Z. Zhang, and A. Prosperetti, The added mass, Basset, and viscous drag coefficients in nondilute bubbly liquids undergoing small-amplitude oscillatory motion, Phys. Fluids A 3, 2955 (1991). | |
| real(wp) function | m_particles_el_kernels::f_quadratic_lagrange_interpolation (x, c, fm) |
| Quadratic Lagrange interpolant through (C(i), fM(i)), evaluated at x. | |
| real(wp) function | m_particles_el_kernels::f_qs_osnes (rho, cson, mu_fluid, gamma, vmag, dp, volume_fraction) |
| Quasi-steady drag coefficient beta as a function of Re, Ma and volume fraction. A. N. Osnes, M. Vartdal, M. Khalloufi, J. Capecelatro, and S. Balachandar, Comprehensive quasi-steady force correlations for compressible flow through random particle suspensions, Int. J. Multiphase Flow 165, 104485 (2023). E. Loth, J. T. Daspit, M. Jeong, T. Nagata, and T. Nonomura, Supersonic and hypersonic drag coefficients for a sphere, AIAA J. 59(8), 3261-3274 (2021). The rarefied (Re < 45) branch is reformulated to avoid the singularity as Ma -> 0, and the compression branch uses coefficients that keep J_M, C_M, G_M and H_M continuous across their switch points, as given in the Appendix of T. Daoud, T. Jackson, and S. Balachandar, A careful examination of closure models in Euler-Lagrange simulations of compressible multiphase flow in a planar shock particle curtain problem, Int. J. Multiphase Flow (2026), doi:10.1016/j.ijmultiphaseflow.2026.105740. | |
| real(wp) function | m_particles_el_kernels::f_qs_gidaspow (rho, cson, mu_fluid, gamma, vmag, dp, volume_fraction) |
| Quasi-steady drag coefficient beta from the Gidaspow model, converted from per cell volume to per particle with the particle volume fraction and volume. D. Gidaspow, Multiphase Flow and Fluidization, Academic Press (1994). | |