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

Contains module m_boundary_common. More...

Go to the source code of this file.

Modules

module  m_boundary_common
 Noncharacteristic and processor boundary condition application for ghost cells and buffer regions.

Functions/Subroutines

impure subroutine, public m_boundary_common::s_initialize_boundary_common_module ()
 Allocate and set up boundary condition buffer arrays for all coordinate directions.
impure subroutine, public m_boundary_common::s_populate_variables_buffers (bc_type, q_prim_vf, pb_in, mv_in)
 Populate the buffers of the primitive variables based on the selected boundary conditions.
subroutine m_boundary_common::s_ghost_cell_extrapolation (q_prim_vf, bc_dir, bc_loc, k, l)
 Fill ghost cells by copying the nearest boundary cell value along the specified direction.
subroutine m_boundary_common::s_symmetry (q_prim_vf, bc_dir, bc_loc, k, l, pb_in, mv_in)
 Apply reflective (symmetry) boundary conditions by mirroring primitive variables and flipping the normal velocity component.
subroutine m_boundary_common::s_periodic (q_prim_vf, bc_dir, bc_loc, k, l, pb_in, mv_in)
 Apply periodic boundary conditions by copying values from the opposite domain boundary.
subroutine m_boundary_common::s_axis (q_prim_vf, pb_in, mv_in, k, l)
 Apply axis boundary conditions for cylindrical coordinates by reflecting values across the axis with azimuthal phase shift.
subroutine m_boundary_common::s_slip_wall (q_prim_vf, bc_dir, bc_loc, k, l)
 Apply slip wall boundary conditions by extrapolating scalars and reflecting the wall-normal velocity component.
subroutine m_boundary_common::s_no_slip_wall (q_prim_vf, bc_dir, bc_loc, k, l)
 Apply no-slip wall boundary conditions by reflecting and negating all velocity components at the wall.
subroutine m_boundary_common::s_dirichlet (q_prim_vf, bc_dir, bc_loc, k, l)
 Apply Dirichlet boundary conditions by prescribing ghost cell values from stored boundary buffers.
subroutine m_boundary_common::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.
impure subroutine, public m_boundary_common::s_populate_capillary_buffers (c_divs, bc_type)
 Populate ghost cell buffers for the color function and its divergence used in capillary surface tension.
subroutine m_boundary_common::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_common::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_common::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.
impure subroutine, public m_boundary_common::s_populate_f_igr_buffers (bc_type, jac_sf)
 Populate ghost cell buffers for the Jacobian scalar field used in the IGR elliptic solver.
impure subroutine, public m_boundary_common::s_create_mpi_types (bc_type)
 Create MPI derived datatypes for boundary condition type arrays and buffer arrays used in parallel I/O.
subroutine, public m_boundary_common::s_write_serial_boundary_condition_files (q_prim_vf, bc_type, step_dirpath, old_grid_in)
 Write boundary condition type and buffer data to serial (unformatted) restart files.
subroutine, public m_boundary_common::s_write_parallel_boundary_condition_files (q_prim_vf, bc_type)
 Write boundary condition type and buffer data to per-rank parallel files using MPI I/O.
subroutine, public m_boundary_common::s_read_serial_boundary_condition_files (step_dirpath, bc_type)
 Read boundary condition type and buffer data from serial (unformatted) restart files.
subroutine, public m_boundary_common::s_read_parallel_boundary_condition_files (bc_type)
 Read boundary condition type and buffer data from per-rank parallel files using MPI I/O.
subroutine m_boundary_common::s_pack_boundary_condition_buffers (q_prim_vf)
 Pack primitive variable boundary slices into bc_buffers arrays for serialization.
subroutine, public m_boundary_common::s_assign_default_bc_type (bc_type)
 Initialize the per-cell boundary condition type arrays with the global default BC values.
subroutine, public m_boundary_common::s_populate_grid_variables_buffers
 Populate the buffers of the grid variables, which are constituted of the cell-boundary locations and cell-width distributions, based on the boundary conditions.
subroutine, public m_boundary_common::s_finalize_boundary_common_module ()
 Deallocate boundary condition buffer arrays allocated during module initialization.

Variables

type(scalar_field), dimension(:,:), allocatable, public m_boundary_common::bc_buffers
integer, dimension(1:3, 1:2), public m_boundary_common::mpi_bc_type_type
integer, dimension(1:3, 1:2), public m_boundary_common::mpi_bc_buffer_type

Detailed Description

Contains module m_boundary_common.

Definition in file m_boundary_common.fpp.f90.