|
MFC
Exascale flow solver
|
Per-cell noncharacteristic boundary condition primitives applied in the ghost cells. More...
Functions/Subroutines | |
| pure real(wp) function, public | 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 | 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 | 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 | 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 | 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 | 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 | 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 | 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. | |
| pure real(wp) function | f_dir_vel (i, dir) |
| Ramp factor for variable i of a Dirichlet ghost cell on a dir-normal face: bc_vel_ramp(dir) for velocities, else 1. | |
| subroutine | 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 | 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 | 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 | 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 | 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 | 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 | 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 | s_beta_periodic (q_beta, kahan_comp, bc_dir, bc_loc, k, l, nvar) |
| subroutine | s_beta_extrapolation (q_beta, bc_dir, bc_loc, k, l, nvar) |
| subroutine | s_beta_reflective (q_beta, kahan_comp, bc_dir, bc_loc, k, l, nvar) |
Variables | |
| type(scalar_field), dimension(:,:), allocatable | bc_buffers |
| logical | dirichlet_from_buffers = .false. |
| real(wp), dimension(3), public | bc_vel_ramp = 1._wp |
| f_vel_ramp per direction, applied to Dirichlet ghost velocities; set by the time stepper when a ramp is active | |
Per-cell noncharacteristic boundary condition primitives applied in the ghost cells.
| pure real(wp) function m_boundary_primitives::f_dir_vel | ( | integer, intent(in) | i, |
| integer, intent(in) | dir ) |
Ramp factor for variable i of a Dirichlet ghost cell on a dir-normal face: bc_vel_ramp(dir) for velocities, else 1.
Definition at line 1610 of file m_boundary_primitives.fpp.f90.
| pure real(wp) function, public m_boundary_primitives::f_vel_ramp | ( | real(wp), intent(in) | tau, |
| real(wp), intent(in) | t0, | ||
| real(wp), intent(in) | frac0, | ||
| real(wp), intent(in) | 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.
Definition at line 440 of file m_boundary_primitives.fpp.f90.
| subroutine m_boundary_primitives::s_axis | ( | type(scalar_field), dimension(sys_size), intent(inout) | q_prim_vf, |
| real(stp), dimension(idwbuff(1)%beg:,idwbuff(2)%beg:,idwbuff(3)%beg:,1:,1:), intent(inout), optional | pb_in, | ||
| real(stp), dimension(idwbuff(1)%beg:,idwbuff(2)%beg:,idwbuff(3)%beg:,1:,1:), intent(inout), optional | mv_in, | ||
| integer, intent(in) | k, | ||
| integer, intent(in) | l, | ||
| type(scalar_field), intent(inout), optional | q_t_sf ) |
Apply axis boundary conditions for cylindrical coordinates by reflecting values across the axis with azimuthal phase shift.
Definition at line 1005 of file m_boundary_primitives.fpp.f90.
| subroutine m_boundary_primitives::s_beta_extrapolation | ( | type(scalar_field), dimension(*), intent(inout) | q_beta, |
| integer, intent(in) | bc_dir, | ||
| integer, intent(in) | bc_loc, | ||
| integer, intent(in) | k, | ||
| integer, intent(in) | l, | ||
| integer, intent(in) | nvar ) |
Definition at line 2360 of file m_boundary_primitives.fpp.f90.
| subroutine m_boundary_primitives::s_beta_periodic | ( | type(scalar_field), dimension(*), intent(inout) | q_beta, |
| type(scalar_field), dimension(*), intent(inout) | kahan_comp, | ||
| integer, intent(in) | bc_dir, | ||
| integer, intent(in) | bc_loc, | ||
| integer, intent(in) | k, | ||
| integer, intent(in) | l, | ||
| integer, intent(in) | nvar ) |
Definition at line 2251 of file m_boundary_primitives.fpp.f90.
| subroutine m_boundary_primitives::s_beta_reflective | ( | type(scalar_field), dimension(*), intent(inout) | q_beta, |
| type(scalar_field), dimension(*), intent(inout) | kahan_comp, | ||
| integer, intent(in) | bc_dir, | ||
| integer, intent(in) | bc_loc, | ||
| integer, intent(in) | k, | ||
| integer, intent(in) | l, | ||
| integer, intent(in) | nvar ) |
Definition at line 2450 of file m_boundary_primitives.fpp.f90.
| subroutine m_boundary_primitives::s_color_function_ghost_cell_extrapolation | ( | type(scalar_field), dimension(num_dims + 1), intent(inout) | c_divs, |
| integer, intent(in) | bc_dir, | ||
| integer, intent(in) | bc_loc, | ||
| integer, intent(in) | k, | ||
| integer, intent(in) | l ) |
Extrapolate the color function and its divergence into ghost cells by copying boundary values.
Definition at line 1928 of file m_boundary_primitives.fpp.f90.
| subroutine m_boundary_primitives::s_color_function_periodic | ( | type(scalar_field), dimension(num_dims + 1), intent(inout) | c_divs, |
| integer, intent(in) | bc_dir, | ||
| integer, intent(in) | bc_loc, | ||
| integer, intent(in) | k, | ||
| integer, intent(in) | l ) |
Apply periodic boundary conditions to the color function and its divergence fields.
Definition at line 1724 of file m_boundary_primitives.fpp.f90.
| subroutine m_boundary_primitives::s_color_function_reflective | ( | type(scalar_field), dimension(num_dims + 1), intent(inout) | c_divs, |
| integer, intent(in) | bc_dir, | ||
| integer, intent(in) | bc_loc, | ||
| integer, intent(in) | k, | ||
| integer, intent(in) | l ) |
Apply reflective boundary conditions to the color function and its divergence fields.
Definition at line 1814 of file m_boundary_primitives.fpp.f90.
| subroutine m_boundary_primitives::s_dirichlet | ( | type(scalar_field), dimension(sys_size), intent(inout) | q_prim_vf, |
| integer, intent(in) | bc_dir, | ||
| integer, intent(in) | bc_loc, | ||
| integer, intent(in) | k, | ||
| integer, intent(in) | l, | ||
| type(scalar_field), intent(inout), optional | q_t_sf ) |
Apply Dirichlet boundary conditions by prescribing ghost cell values from stored boundary buffers.
| [in,out] | q_t_sf | x-direction |
| [in,out] | q_t_sf | bc_xend |
| [in,out] | q_t_sf | y-direction |
| [in,out] | q_t_sf | bc_ybeg |
| [in,out] | q_t_sf | bc_yend |
| [in,out] | q_t_sf | z-direction |
| [in,out] | q_t_sf | bc_zbeg |
| [in,out] | q_t_sf | bc_zend |
Definition at line 1480 of file m_boundary_primitives.fpp.f90.
| subroutine m_boundary_primitives::s_f_igr_ghost_cell_extrapolation | ( | type(scalar_field), dimension(1:), intent(inout) | jac_sf, |
| integer, intent(in) | bc_dir, | ||
| integer, intent(in) | bc_loc, | ||
| integer, intent(in) | k, | ||
| integer, intent(in) | l ) |
Extrapolate the IGR Jacobian field into ghost cells by copying boundary values.
Definition at line 2174 of file m_boundary_primitives.fpp.f90.
| subroutine m_boundary_primitives::s_f_igr_periodic | ( | type(scalar_field), dimension(1:), intent(inout) | jac_sf, |
| integer, intent(in) | bc_dir, | ||
| integer, intent(in) | bc_loc, | ||
| integer, intent(in) | k, | ||
| integer, intent(in) | l ) |
Apply periodic boundary conditions to the IGR Jacobian field by copying values from the opposite domain boundary.
Definition at line 2018 of file m_boundary_primitives.fpp.f90.
| subroutine m_boundary_primitives::s_f_igr_reflective | ( | type(scalar_field), dimension(1:), intent(inout) | jac_sf, |
| integer, intent(in) | bc_dir, | ||
| integer, intent(in) | bc_loc, | ||
| integer, intent(in) | k, | ||
| integer, intent(in) | l ) |
Apply reflective boundary conditions to the IGR Jacobian field by mirroring values across the boundary.
Definition at line 2096 of file m_boundary_primitives.fpp.f90.
| subroutine m_boundary_primitives::s_ghost_cell_extrapolation | ( | type(scalar_field), dimension(sys_size), intent(inout) | q_prim_vf, |
| integer, intent(in) | bc_dir, | ||
| integer, intent(in) | bc_loc, | ||
| integer, intent(in) | k, | ||
| integer, intent(in) | l, | ||
| type(scalar_field), intent(inout), optional | q_t_sf ) |
Fill ghost cells by copying the nearest boundary cell value along the specified direction.
| [in,out] | q_t_sf | x-direction |
| [in,out] | q_t_sf | bc_xend |
| [in,out] | q_t_sf | y-direction |
| [in,out] | q_t_sf | bc_ybeg |
| [in,out] | q_t_sf | bc_yend |
| [in,out] | q_t_sf | z-direction |
| [in,out] | q_t_sf | bc_zbeg |
| [in,out] | q_t_sf | bc_zend |
Definition at line 470 of file m_boundary_primitives.fpp.f90.
| subroutine m_boundary_primitives::s_no_slip_wall | ( | type(scalar_field), dimension(sys_size), intent(inout) | q_prim_vf, |
| integer, intent(in) | bc_dir, | ||
| integer, intent(in) | bc_loc, | ||
| integer, intent(in) | k, | ||
| integer, intent(in) | l, | ||
| type(scalar_field), intent(inout), optional | q_t_sf ) |
Apply no-slip wall boundary conditions by reflecting and negating all velocity components at the wall.
| [in,out] | q_t_sf | x-direction |
| [in,out] | q_t_sf | bc_xbeg |
| [in,out] | q_t_sf | bc_xend |
| [in,out] | q_t_sf | y-direction |
| [in,out] | q_t_sf | bc_ybeg |
| [in,out] | q_t_sf | bc_yend |
| [in,out] | q_t_sf | z-direction |
| [in,out] | q_t_sf | bc_zbeg |
| [in,out] | q_t_sf | bc_zend |
Definition at line 1272 of file m_boundary_primitives.fpp.f90.
| subroutine m_boundary_primitives::s_periodic | ( | type(scalar_field), dimension(sys_size), intent(inout) | q_prim_vf, |
| integer, intent(in) | bc_dir, | ||
| integer, intent(in) | bc_loc, | ||
| integer, intent(in) | k, | ||
| integer, intent(in) | l, | ||
| real(stp), dimension(idwbuff(1)%beg:,idwbuff(2)%beg:,idwbuff(3)%beg:,1:,1:), intent(inout), optional | pb_in, | ||
| real(stp), dimension(idwbuff(1)%beg:,idwbuff(2)%beg:,idwbuff(3)%beg:,1:,1:), intent(inout), optional | mv_in, | ||
| type(scalar_field), intent(inout), optional | q_t_sf ) |
Apply periodic boundary conditions by copying values from the opposite domain boundary.
| [in,out] | q_t_sf | x-direction |
| [in,out] | q_t_sf | bc_xbeg |
| [in,out] | q_t_sf | bc_xend |
| [in,out] | q_t_sf | y-direction |
| [in,out] | q_t_sf | bc_ybeg |
| [in,out] | q_t_sf | bc_yend |
| [in,out] | q_t_sf | z-direction |
| [in,out] | q_t_sf | bc_zbeg |
| [in,out] | q_t_sf | bc_zend |
Definition at line 831 of file m_boundary_primitives.fpp.f90.
| subroutine m_boundary_primitives::s_qbmm_extrapolation | ( | integer, intent(in) | bc_dir, |
| integer, intent(in) | bc_loc, | ||
| integer, intent(in) | k, | ||
| integer, intent(in) | l, | ||
| real(stp), dimension(idwbuff(1)%beg:,idwbuff(2)%beg:,idwbuff(3)%beg:,1:,1:), intent(inout), optional | pb_in, | ||
| real(stp), dimension(idwbuff(1)%beg:,idwbuff(2)%beg:,idwbuff(3)%beg:,1:,1:), intent(inout), optional | mv_in ) |
Extrapolate QBMM bubble pressure and mass-vapor variables into ghost cells by copying boundary values.
Definition at line 1636 of file m_boundary_primitives.fpp.f90.
| subroutine m_boundary_primitives::s_slip_wall | ( | type(scalar_field), dimension(sys_size), intent(inout) | q_prim_vf, |
| integer, intent(in) | bc_dir, | ||
| integer, intent(in) | bc_loc, | ||
| integer, intent(in) | k, | ||
| integer, intent(in) | l, | ||
| type(scalar_field), intent(inout), optional | q_t_sf ) |
Apply slip wall boundary conditions by extrapolating scalars and reflecting the wall-normal velocity component.
| [in,out] | q_t_sf | x-direction |
| [in,out] | q_t_sf | bc_xbeg |
| [in,out] | q_t_sf | bc_xend |
| [in,out] | q_t_sf | y-direction |
| [in,out] | q_t_sf | bc_ybeg |
| [in,out] | q_t_sf | bc_yend |
| [in,out] | q_t_sf | z-direction |
| [in,out] | q_t_sf | bc_zbeg |
| [in,out] | q_t_sf | bc_zend |
Definition at line 1085 of file m_boundary_primitives.fpp.f90.
| subroutine m_boundary_primitives::s_symmetry | ( | type(scalar_field), dimension(sys_size), intent(inout) | q_prim_vf, |
| integer, intent(in) | bc_dir, | ||
| integer, intent(in) | bc_loc, | ||
| integer, intent(in) | k, | ||
| integer, intent(in) | l, | ||
| real(stp), dimension(idwbuff(1)%beg:,idwbuff(2)%beg:,idwbuff(3)%beg:,1:,1:), intent(inout), optional | pb_in, | ||
| real(stp), dimension(idwbuff(1)%beg:,idwbuff(2)%beg:,idwbuff(3)%beg:,1:,1:), intent(inout), optional | mv_in, | ||
| type(scalar_field), intent(inout), optional | q_t_sf ) |
Apply reflective (symmetry) boundary conditions by mirroring primitive variables and flipping the normal velocity component.
| [in,out] | q_t_sf | x-direction |
| [in,out] | q_t_sf | bc_xbeg |
| [in,out] | q_t_sf | bc_xend |
| [in,out] | q_t_sf | y-direction |
| [in,out] | q_t_sf | bc_ybeg |
| [in,out] | q_t_sf | bc_yend |
| [in,out] | q_t_sf | z-direction |
| [in,out] | q_t_sf | bc_zbeg |
| [in,out] | q_t_sf | bc_zend |
Definition at line 592 of file m_boundary_primitives.fpp.f90.
| type(scalar_field), dimension(:,:), allocatable m_boundary_primitives::bc_buffers |
Definition at line 390 of file m_boundary_primitives.fpp.f90.
| real(wp), dimension(3), public m_boundary_primitives::bc_vel_ramp = 1._wp |
f_vel_ramp per direction, applied to Dirichlet ghost velocities; set by the time stepper when a ramp is active
Definition at line 419 of file m_boundary_primitives.fpp.f90.
| logical m_boundary_primitives::dirichlet_from_buffers = .false. |
Definition at line 404 of file m_boundary_primitives.fpp.f90.