72 TYPE(t_region
) :: region
79 CHARACTER(CHRLEN) :: rcsidentstring
82 INTEGER :: ijbeg, ijend
83 REAL(RFREAL) :: wdist, dpdxi, dpdzt, utau, abvel
84 REAL(RFREAL),
POINTER :: vals(:,:)
87 INTEGER :: n1, n2, ioff
92 rcsidentstring =
'$RCSfile: TURB_WlmUpdateBndlay.F90,v $ $Revision: 1.5 $'
94 global => region%global
96 'TURB_WlmUpdateBndlay.F90' )
100 vals =>
patch%valBola%vals
108 ijbeg = indij( 0, 0,ioff)
109 ijend = indij(n1,n2,ioff)
113 ijend =
patch%nBFaces
118 DO ijkval=ijbeg,ijend
120 wdist = vals(ijkval,wlm_vals_wdist)
121 dpdxi = vals(ijkval,wlm_vals_dpdxi)
122 dpdzt = vals(ijkval,wlm_vals_dpdzt)
124 vals(ijkval,wlm_vals_tauuy) = vals(ijkval,wlm_vals_tauuy)-wdist*dpdxi
125 vals(ijkval,wlm_vals_tauwy) = vals(ijkval,wlm_vals_tauwy)-wdist*dpdzt
127 vals(ijkval,wlm_vals_tauvx) = vals(ijkval,wlm_vals_tauuy)
128 vals(ijkval,wlm_vals_tauvz) = vals(ijkval,wlm_vals_tauwy)
131 vals(ijkval,wlm_vals_hflux) = &
132 sqrt( vals(ijkval,wlm_vals_tauuy)*vals(ijkval,wlm_vals_tauuy) + &
133 vals(ijkval,wlm_vals_tauwy)*vals(ijkval,wlm_vals_tauwy) )
subroutine turb_wlmupdatebndlay(region, patch)
subroutine registerfunction(global, funName, fileName)
subroutine deregisterfunction(global)