Setup wall flag for all six boundary of the block
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(boundarytype), | intent(in) | :: | bc |
subroutine find_wall(bc)
!< Setup wall flag for all six boundary of the block
implicit none
type(boundarytype), intent(in) :: bc
integer :: i
NO_slip_flag=0
do i = 1,6
if(bc%id(i)==-5) NO_SLIP_FLAG(i)=1
end do
end subroutine find_wall