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.
| Type | Intent | Optional | 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 |
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| integer, | private | :: | iElem | ||||
| integer, | private | :: | neighPos | ||||
| integer, | private | :: | elemOff | ||||
| integer, | private | :: | elemPos | ||||
| integer, | private | :: | normalInd_inv | ||||
| integer, | private | :: | vel_pos(3) | ||||
| integer, | private | :: | nElems | ||||
| real(kind=rk), | private | :: | velNeigh(3) | ||||
| real(kind=rk), | private | :: | normal(3) | ||||
| real(kind=rk), | private | :: | streamwise(3) | ||||
| real(kind=rk), | private | :: | unitSW(3) | ||||
| real(kind=rk), | private | :: | velSW | ||||
| real(kind=rk), | private | :: | normalMag | ||||
| real(kind=rk), | private | :: | qVal | ||||
| real(kind=rk), | private | :: | distToBnd | ||||
| real(kind=rk), | private | :: | streamwise_mag |