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

Contains module m_boundary_primitives. More...

Go to the source code of this file.

Modules

module  m_boundary_primitives
 Per-cell noncharacteristic boundary condition primitives applied in the ghost cells.

Functions/Subroutines

pure real(wp) function, public m_boundary_primitives::f_vel_ramp (tau, t0, frac0, t)
 Velocity scaling for a GRCBC inflow that is ramping up: unity unless bc_[x,y,z]vel_in_ramp is set, so an unramped case is untouched. Takes the time as an argument so the caller can evaluate it on the device from mytime, which the time stepper already places there, rather than computing it on the host and copying the result every Runge-Kutta stage.
subroutine m_boundary_primitives::s_ghost_cell_extrapolation (q_prim_vf, bc_dir, bc_loc, k, l, q_t_sf)
 Fill ghost cells by copying the nearest boundary cell value along the specified direction.
subroutine m_boundary_primitives::s_symmetry (q_prim_vf, bc_dir, bc_loc, k, l, pb_in, mv_in, q_t_sf)
 Apply reflective (symmetry) boundary conditions by mirroring primitive variables and flipping the normal velocity component.
subroutine m_boundary_primitives::s_periodic (q_prim_vf, bc_dir, bc_loc, k, l, pb_in, mv_in, q_t_sf)
 Apply periodic boundary conditions by copying values from the opposite domain boundary.
subroutine m_boundary_primitives::s_axis (q_prim_vf, pb_in, mv_in, k, l, q_t_sf)
 Apply axis boundary conditions for cylindrical coordinates by reflecting values across the axis with azimuthal phase shift.
subroutine m_boundary_primitives::s_slip_wall (q_prim_vf, bc_dir, bc_loc, k, l, q_t_sf)
 Apply slip wall boundary conditions by extrapolating scalars and reflecting the wall-normal velocity component.
subroutine m_boundary_primitives::s_no_slip_wall (q_prim_vf, bc_dir, bc_loc, k, l, q_t_sf)
 Apply no-slip wall boundary conditions by reflecting and negating all velocity components at the wall.
subroutine m_boundary_primitives::s_dirichlet (q_prim_vf, bc_dir, bc_loc, k, l, q_t_sf)
 Apply Dirichlet boundary conditions by prescribing ghost cell values from stored boundary buffers.
subroutine m_boundary_primitives::s_qbmm_extrapolation (bc_dir, bc_loc, k, l, pb_in, mv_in)
 Extrapolate QBMM bubble pressure and mass-vapor variables into ghost cells by copying boundary values.
subroutine m_boundary_primitives::s_color_function_periodic (c_divs, bc_dir, bc_loc, k, l)
 Apply periodic boundary conditions to the color function and its divergence fields.
subroutine m_boundary_primitives::s_color_function_reflective (c_divs, bc_dir, bc_loc, k, l)
 Apply reflective boundary conditions to the color function and its divergence fields.
subroutine m_boundary_primitives::s_color_function_ghost_cell_extrapolation (c_divs, bc_dir, bc_loc, k, l)
 Extrapolate the color function and its divergence into ghost cells by copying boundary values.
subroutine m_boundary_primitives::s_f_igr_periodic (jac_sf, bc_dir, bc_loc, k, l)
 Apply periodic boundary conditions to the IGR Jacobian field by copying values from the opposite domain boundary.
subroutine m_boundary_primitives::s_f_igr_reflective (jac_sf, bc_dir, bc_loc, k, l)
 Apply reflective boundary conditions to the IGR Jacobian field by mirroring values across the boundary.
subroutine m_boundary_primitives::s_f_igr_ghost_cell_extrapolation (jac_sf, bc_dir, bc_loc, k, l)
 Extrapolate the IGR Jacobian field into ghost cells by copying boundary values.
subroutine m_boundary_primitives::s_beta_periodic (q_beta, kahan_comp, bc_dir, bc_loc, k, l, nvar)
subroutine m_boundary_primitives::s_beta_extrapolation (q_beta, bc_dir, bc_loc, k, l, nvar)
subroutine m_boundary_primitives::s_beta_reflective (q_beta, kahan_comp, bc_dir, bc_loc, k, l, nvar)

Variables

type(scalar_field), dimension(:,:), allocatable m_boundary_primitives::bc_buffers
logical m_boundary_primitives::dirichlet_from_buffers = .false.

Detailed Description

Contains module m_boundary_primitives.

Definition in file m_boundary_primitives.fpp.f90.