This routine computes friction velocity from reichardt wall model profile using Newton iteration method
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
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 normai direction |
||
real(kind=rk), | intent(in) | :: | viscKine(:) | Kinematic viscosity |
||
integer, | intent(in) | :: | nElems | Number of elements in input and output arrays |