mus_proc_calcFricVel Abstract Interface

abstract interface

Interface definition for the turbulent wall bc routines

private pure subroutine mus_proc_calcFricVel(this, velTau, velSW, distToBnd, viscKine, nElems)


Type IntentOptional Attributes Name
class(mus_turb_wallFunc_type), intent(in) :: this

Turbulent wall model to use for the computation

real(kind=rk), intent(inout) :: velTau(:)

Friction velocity computed from wall model. it is inout to provide velTau from previous timestep as initial velTau for fixed-point or Newton iteration solver

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

Stream-wise velocity component from which friction velocity is computed

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

Distance to the boundary in the discrete normal direction

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

Kinematic viscosity

integer, intent(in) :: nElems

Number of elements in input and output arrays


This abstract interface defines the interface to calculate turbulent wall friction velocity from given velocity and distance to boundary. All inputs and output are in lattice units.