mus_init_turb_wallFunc Subroutine

private subroutine mus_init_turb_wallFunc(bc, globBC, auxField, viscKine, derVarPos, varSys, stencil, iLevel)

This routine allocates turbulent viscosity and friction velocity on boundary elements. It also initialize friction velocity from stream-wise velocity component on first neighbor in normal direction.

Arguments

Type IntentOptional Attributes Name
type(boundary_type), intent(inout) :: bc

Field bc which contains turbwallFunc type and neighbor info

type(glob_boundary_type), intent(inout) :: globBC

global bc of current boundary with elemPos and normal info

real(kind=rk), intent(in) :: auxField(:)

auxField array

type(mus_viscosity_type) :: viscKine

Kinematic viscosity

type(mus_derVarPos_type), intent(in) :: derVarPos

position of derived quantities in varsys

type(tem_varSys_type), intent(in) :: varSys

scheme variable system

type(tem_stencilHeader_type), intent(in) :: stencil

stencil info

integer, intent(in) :: iLevel

current level