No-slip wall boundary condition. All the component of velocity throught face is zero
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(len=*), | intent(in) | :: | face | Name of the face at which boundary condition is called |
||
type(boundarytype), | intent(in) | :: | bc | |||
type(extent), | intent(in) | :: | dims |
subroutine no_slip(face, bc, dims)
!< No-slip wall boundary condition. All the
!< component of velocity throught face is zero
implicit none
type(extent), intent(in) :: dims
type(boundarytype), intent(in) :: bc
character(len=*), intent(in) :: face
!< Name of the face at which boundary condition is called
call copy3(x_speed, "anti", face, bc, dims)
call copy3(y_speed, "anti", face, bc, dims)
call copy3(z_speed, "anti", face, bc, dims)
select case(turbulence)
case("none")
!do nothing
continue
case('sa', 'saBC')
call copy3(tv , "anti", face, bc, dims)
case("sst", 'sst2003')
call copy3(tk , "anti", face, bc, dims)
call set_omega_at_wall(face)
case("kkl")
call copy3(tk , "anti", face, bc, dims)
call copy3(tkl , "anti", face, bc, dims)
case DEFAULT
Fatal_error
end select
select case(trim(transition))
case('lctm2015')
call copy3(tgm, "flat", face, bc, dims)
case DEFAULT
continue
end select
end subroutine no_slip