Changeset 3333 for trunk/LMDZ.MARS/libf/phymars/vdif_cd_mod.F90
- Timestamp:
- May 17, 2024, 11:30:17 AM (6 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/libf/phymars/vdif_cd_mod.F90
r3325 r3333 157 157 pcdh(:,:) = 0. 158 158 z0t(:,:) = 0. 159 fm(:,:) = 0. 160 fh(:,:) = 0. 159 161 f_ri_cd_min = 0.01 160 162 ! this formulation assumes alphah=1., implying betah=betam … … 203 205 DO ig=1,ngrid 204 206 ite = 0. 205 residual = abs(pz0tcomp(ig)-pz0t)207 residual = 100*tol_iter*pz0(ig) 206 208 z1z0=pz(ig,1)/pz0(ig) 207 209 cdn(ig)=karman/log(z1z0) 208 210 cdn(ig)=cdn(ig)*cdn(ig) 209 210 211 DO WHILE((residual .gt. tol_iter*pz0(ig)) .and. (ite .lt. itemax)) 211 212 ! Computations of z0T; iterated until z0T converges … … 225 226 rib_dry(ig,islope) = ric_colaitis 226 227 ENDIF 227 228 228 ! Compute the stability functions fm; fh depending on the stability of the surface layer 229 229
Note: See TracChangeset
for help on using the changeset viewer.