field_set_x_face Subroutine

public subroutine field_set_x_face(f, c_start, c_end, bc_start, bc_end, flow_rate_diff, nx, ny, nz)

Set domain X_FACE boundary values. c_start: Dirichlet value applied at the left face (i = 1) c_end: convective velocity Uc = uxmax * gdt / dx, used as multiplier in the outflow scheme du/dt + Uc*du/dx = 0

Arguments

Type IntentOptional Attributes Name
real(kind=dp), intent(inout), device, dimension(:, :, :) :: f
real(kind=dp), intent(in), value :: c_start
real(kind=dp), intent(in), value :: c_end
integer, intent(in), value :: bc_start
integer, intent(in), value :: bc_end
real(kind=dp), intent(in), value :: flow_rate_diff
integer, intent(in), value :: nx
integer, intent(in), value :: ny
integer, intent(in), value :: nz