Changeset 292 for trunk/LMDZ.MARS/libf
- Timestamp:
- Sep 9, 2011, 5:31:42 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/libf/phymars/surflayer_interpol.F
r272 r292 134 134 zu2(ig)= 135 135 ! & (MAX(pu(ig,1)*pu(ig,1) + pv(ig,1)*pv(ig,1),wmax(ig)**2)) 136 & ( pu(ig,1)*pu(ig,1) + pv(ig,1)*pv(ig,1) + wmax(ig)**2)136 & ( pu(ig,1)*pu(ig,1) + pv(ig,1)*pv(ig,1)) 137 137 ! & pu(ig,1)*pu(ig,1) + pv(ig,1)*pv(ig,1) 138 138 ! ELSE … … 144 144 & *sqrt(pz(ig,1)*pz0(ig)) 145 145 & *(((log(pz(ig,1)/pz0(ig)))**2)/(log(pz(ig,1)/pz0t))) 146 & *(ph(ig,1)-pts(ig))/ zu2(ig)146 & *(ph(ig,1)-pts(ig))/(zu2(ig) + (0.5*wmax(ig))**2) 147 147 148 148 ! & /(MAX(pu(ig,1)*pu(ig,1) + pv(ig,1)*pv(ig,1),wmax(ig)**2)) … … 186 186 187 187 reynolds(ig)=karman*sqrt(fm(ig)) 188 & *sqrt(zu2(ig) )188 & *sqrt(zu2(ig)+(0.5*wmax(ig))**2) 189 189 ! & *sqrt(pu(ig,1)**2 + pv(ig,1)**2) 190 190 & *pz0(ig)/(log(z1z0)*nu) … … 226 226 !simpler definition of u* and teta*, equivalent to the formula above : 227 227 228 ustar(ig)=sqrt(pcdv(ig))*sqrt(zu2(ig)) 229 tstar(ig)=-pcdh(ig)*(pts(ig)-ph(ig,1))/sqrt(pcdv(ig)) 228 ustar(ig)=sqrt(pcdv(ig))*sqrt(zu2(ig)) 229 tstar(ig)=-pcdh(ig)*(pts(ig)-ph(ig,1)) 230 & /sqrt(pcdv(ig)) 230 231 231 232 if (tstar(ig) .lt. -50) then
Note: See TracChangeset
for help on using the changeset viewer.