calcVelSW_unitSW_velTau_tVisc Subroutine

private subroutine calcVelSW_unitSW_velTau_tVisc(velSW, unitSW, turbwallFunc, nElems, elemPos, neighBufferPre, viscKine, turbulence, stencil, iLevel, quantities)

Calculation stream-wise velocity compononent from wall function and friction velocity, stream-wise unit vector and turbulent viscosity with mixing length formulation.

Arguments

Type IntentOptional Attributes Name
real(kind=rk), intent(out) :: velSW(:)

Stream-wise velocity component from wall function

real(kind=rk), intent(out) :: unitSW(:,:)

Stream-wise unit vector

type(mus_turb_wallFunc_type), intent(inout) :: turbwallFunc

Turbulent wall model type contains viscosity, velTau, distToBnd and function pointers to compute velTau and velSW

integer, intent(in) :: nElems

Number of elements in current boundary

integer, intent(in) :: elemPos(:)

Current element position in state array. (Used to access viscosity)

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

Pre-collision from 1st and 2nd fluid neighbor

type(mus_viscosity_type) :: viscKine

Kinematic viscosity

type(mus_turbulence_type), intent(in) :: turbulence

turbulence model type

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

Fluid stencil

integer, intent(in) :: iLevel

Current level

type(mus_scheme_derived_quantities_type), intent(in) :: quantities

Class that contains pointers to the proper derived quantities functions


Calls

proc~~calcvelsw_unitsw_veltau_tvisc~~CallsGraph proc~calcvelsw_unitsw_veltau_tvisc calcVelSW_unitSW_velTau_tVisc tem_abort tem_abort proc~calcvelsw_unitsw_veltau_tvisc->tem_abort tem_isNaN tem_isNaN proc~calcvelsw_unitsw_veltau_tvisc->tem_isNaN val val proc~calcvelsw_unitsw_veltau_tvisc->val

Called by

proc~~calcvelsw_unitsw_veltau_tvisc~~CalledByGraph proc~calcvelsw_unitsw_veltau_tvisc calcVelSW_unitSW_velTau_tVisc proc~turbulent_wall turbulent_wall proc~turbulent_wall->proc~calcvelsw_unitsw_veltau_tvisc proc~turbulent_wall_eq turbulent_wall_eq proc~turbulent_wall_eq->proc~calcvelsw_unitsw_veltau_tvisc proc~turbulent_wall_eq_curved turbulent_wall_eq_curved proc~turbulent_wall_eq_curved->proc~calcvelsw_unitsw_veltau_tvisc proc~turbulent_wall_libb turbulent_wall_libb proc~turbulent_wall_libb->proc~calcvelsw_unitsw_veltau_tvisc proc~turbulent_wall_noneq_expol turbulent_wall_noneq_expol proc~turbulent_wall_noneq_expol->proc~calcvelsw_unitsw_veltau_tvisc proc~turbulent_wall_noneq_expol_curved turbulent_wall_noneq_expol_curved proc~turbulent_wall_noneq_expol_curved->proc~calcvelsw_unitsw_veltau_tvisc